View Single Post
Old 17-06-2004, 05:25   #7 (permalink)
stickmus
hmmm...
 
stickmus's Avatar
 
Join Date: Jan 2004
Location: Yorkuk
Posts: 2,127
Quote:
Originally Posted by Potato313
Hi, i just want to know what is the purpose of using javascript to preload image? Because i saw many people have that script in their code. And what is the different between using javascript to swap image and simply using rollover in dreamwaver?

Dreamweaver uses javascript for it's rollovers. It also uses a javascript preloader.

The preloaders main function in this case is to try to load the rollover images before the user rolls over them, otherwise there's a big pause while the browser locates and loads the image.

Hope that makes sense...
  Reply With Quote