Originally Posted by Phanx
On a related note, rather than hardcoding style="display:none" on images other than the first one, it would be better to apply this style from the lightbox script itself, so that users without JavaScript, or users for whom the lightbox script isn't loading for some reason, can still see those images.
|
Then you get a flash of images on slower to load systems, it would quickly show all the images and then hide them as it loads the js. Now this would only happen when the js isn't cached and they hit the fileinfo page directly. It would be better to just put some css in noscript.