Forum Moderators: open

Message Too Old, No Replies

Question about image flipping script

Bandwidth consumption issues?

         

Mr_N

6:37 am on Nov 4, 2003 (gmt 0)

10+ Year Member



I'm thinking of using mouseover image flipping links for the nav bar on my site, but I'm concerned about it possibly devouring large quantities of bandwidth. Is the image called up everytime the mouse goes over it or are all the images generally pre-loaded and cached, hence not eating up a lot of bandwidth?

martinibuster

6:44 am on Nov 4, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



"Pre-loaded and cached" means that all the images ate some bandwidth to get to the browser.

Check the script to see if it is randomly picking an image and loading it (probably the case).

I've used one of these scripts (clients dig it, ugh!) and it only serves up one image per view, in which case it won't eat up additional bandwidth. Be sure to link the script externally, though.

dcrombie

6:01 pm on Nov 13, 2003 (gmt 0)



If you're pre-loading the images, make sure they are at the correct width and height - otherwise some browsers will force a download:

foo = new Image (width, height);
foo.src = <image src>;

;)