okay, i noticed that when creating rollover buttons in Dreamweaver it automatically preloads the second image using code like:
...onLoad="MM_preloadImages('images/home_btn_on.gif','images/about_btn_on.gif')"....
so i got an idea... why not load images from additional pages in my site. that way they are already in the browser's cache, cutting down on loading time... so i added the additional images in the code:
...onLoad="MM_preloadImages('images/home_btn_on.gif','images/about_btn_on.gif', 'images/portfolio_img1.gif', 'images/portfolio_img2.gif')"...
DOES THIS WORK?
ARE THERE ANY PROBLEMS WITH DOING IT THIS WAY?
...onLoad="MM_preloadImages('images/home_btn_on.gif','images/about_btn_on.gif')"....
so i got an idea... why not load images from additional pages in my site. that way they are already in the browser's cache, cutting down on loading time... so i added the additional images in the code:
...onLoad="MM_preloadImages('images/home_btn_on.gif','images/about_btn_on.gif', 'images/portfolio_img1.gif', 'images/portfolio_img2.gif')"...
DOES THIS WORK?
ARE THERE ANY PROBLEMS WITH DOING IT THIS WAY?