...

View Full Version : Can someone suggest a good lightbox like popup div?



joshua7
08-03-2008, 05:33 AM
I'd like it to just display a div that's hidden on the page so it doesn't even need ajax.
Just click a link, the page goes dark and a popup div shows up in the middle of the screen.
It's important that I can scroll the page without loosing the effect.

fside
08-03-2008, 06:05 PM
You're talking about a shield underneath a preference or options box. The shield is also a hidden div. Usually people make it "red" and set it to 50 opacity so that when displayed, the text underneath can be seen but not selected (except in Opera).

One can center a div using styles in a rule for the div which read - marginTop: auto 0px; marginLeft: 0px auto;

'Ajax' so-called works whether a div is hidden or not, and works regardless of whether there is a div.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum