| Share this post! | Vote this! |
|
There are basically only a few things involved in the successful creation of a lightwindow:
1.) Make one DIV cover the whole page and another on top of this div that displays the information.
2.) Make the background div expand to cover the page when the window size changes and make the div containing the information stay centered in the middle of the page at the same time.
3.) Make the lightwindow disappear when a close button is pressed, this button is probably contained in the content div.
Let’s start out with #2, the window handling: more...
1.) Make one DIV cover the whole page and another on top of this div that displays the information.
2.) Make the background div expand to cover the page when the window size changes and make the div containing the information stay centered in the middle of the page at the same time.
3.) Make the lightwindow disappear when a close button is pressed, this button is probably contained in the content div.
Let’s start out with #2, the window handling: more...




0 comments:
Post a Comment