![]() |
Re: Javascript Change Image Issues
I'm not sure what you mean by "clearing x-cart's own cache," but I have refreshed the browser and viewed the page source. I'm actually trying this on my test area if you want to take a look at the source. Maybe there's something there that I'm missing ...
http://girlsnightoutdesigns.com/gtest/girlsnight/home.php |
Re: Javascript Change Image Issues
cool. I see. Although the images it is referencing do not exist within that folder now. For example, http://girlsnightoutdesigns.com/gtest/girlsnight/girlsnight/images/nav_pic-nav_cigarboxes_over.gif.
If it was one above inside gtest instead of gtest/girlsnight; or you uploaded the images with the appropriate folders so that the javascript can find them, perhaps. Also try removing the if preloaded part temporarily. This should help a lot in finding out if the images are correctly referenced. Within function changeImages() remove the... && (preloadFlag == true) ...part. And remember to put it back when finished testing. ======================= EDIT: I updated the link to the example gif, I referred to the wrong image. |
Re: Javascript Change Image Issues
I changed the image paths in the javascript code and took out the if preloaded part like you suggested. That was IT!!
Amazing! You are my personal savior. THANK YOU!!! |
Re: Javascript Change Image Issues
Remember to put the && (preloadFlag == true) part back, otherwise it would cease to be a preloader.
|
All times are GMT -8. The time now is 01:27 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.