View Single Post
Unread 10-09-12, 11:21 PM   #11
Dolby
Every day I'm shuffling
 
Dolby's Avatar
Premium Member
WoWInterface Admin
Join Date: Feb 2004
Posts: 1,928
Originally Posted by Phanx View Post
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.
Dolby is offline   Reply With Quote