Jump to content

sort of popups


Obi1-Cannabis

Recommended Posts

I would like to know how to make those things that look like some kind of popups used for example in microsoft's site when you choose something from that right side menu.it disables everithing that's behind.I know it has the use of ajax for sure, but don't know how...if someone knows or have any idea i would apreciate!!Big UP!

Link to comment
Share on other sites

It is called a lightbox. Basiccally it creates 2 layers. First layer is a semi-transparent black div that fills the entire screen preventing you from clicking on anything. The second layer is the new window it makes. Then when you close the window it removes the 2 layers making everything accessible again.You do not need AJAX unless it is used to load the content of the window. It is pure Javascript

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...