Sammy12
07-02-2011, 01:22 AM
Hey guys,
Should I use sprite images or just onload them with java. For a hover link, I don't want that flicker between the two images. What are the pros/cons of both of them?
Thanks
Sammy12
07-02-2011, 09:14 PM
bump. really need some advice
Sammy12
07-03-2011, 07:13 AM
Thanks for your guy's input :P
Apostropartheid
07-03-2011, 03:23 PM
Thanks for your guy's input :P
Don't be a douche. We're not obliged to help.
Sprites have the advantage of only having one HTTP request. As for the vast majority of connections the HTTP request is the slowest part of a download, you should probably go for sprites. Not to mention that you could put a lot of your site's smaller images in there. Many larger companies, such as Google, use sprites to reduce their server load.