View Full Version : Sprites vs Java Onload

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?


07-02-2011, 09:14 PM
bump. really need some advice

07-03-2011, 07:13 AM
Thanks for your guy's input :P

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.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum