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...