View Single Post
Old 10-09-12, 11:19 PM   #10
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 3,706
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.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline   Reply With Quote