Lightbox does not reposition when scrolling.
| Project: | jQuery Lightbox Plugin (balupton edition) |
| Version: | 1.0.1-final |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | balupton |
| Status: | by design |
pendergrass:
Also, I noticed that in the lightbox.css file, the overlay div is set to position:absolute. That means that if you scroll down the page and click on a lightbox link, the layout will display the image near the top, and you have to scroll back up. I changed this to position:fixed, and that made the image display in the center all the time. You may want to change that.
balupton:
This done deliberately as if a image is too large for the screen then they can scroll to see the rest and the info of the image, when if it followed you around, then it would be impossible to do so.
The alternative would be if the lightbox is too large, we downscale it so it will fit. I will make this an option in a future release.
