| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Javascript Change Image Issues | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
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
__________________
Holly x-cart v. 4.4.2 |
|||||||
#12
|
|||||||||
|
|||||||||
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.
__________________
Doms kube v4.1.9 |
|||||||||
#13
|
|||||||
|
|||||||
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!!!
__________________
Holly x-cart v. 4.4.2 |
|||||||
#14
|
|||||||||
|
|||||||||
Re: Javascript Change Image Issues
Remember to put the && (preloadFlag == true) part back, otherwise it would cease to be a preloader.
__________________
Doms kube v4.1.9 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|