tedster

msg:4127377 | 2:20 pm on May 5, 2010 (gmt 0) |
Welcome to the forums, aftab82. I'm not sure I understand you correctly - does this create something like a lightbox that covers the entire screen?
|
aftab82

msg:4128024 | 7:30 am on May 6, 2010 (gmt 0) |
thanks tedster....... yea something like this........ for e.g visit [foursquare.com...] and click on feedback tab on right ......... you will see a layer and the background get locked ....... this can be achieve by setting div height and width to 100% and setting its position absolute and z-index heigher than all controls except the layer which will be displaying over it....... but there is one problem which occur when the page shows a scoll bar because of contents ........in that case 100% height will not make whole page area including scrolling area to be locked.....so the solution is to get the offset top of an control(e.g div) which is at the footer.......... ..........
|
tedster

msg:4128307 | 6:31 pm on May 6, 2010 (gmt 0) |
We don't usually allow links to example sites - but I'll make an exception since foursquare is such a monster website and very well known. Yes, that is what I was calling a lightbox effect.
|
|