Re: Javascript issue

Originally Posted by
TheBuz
Hi guys, i have discovered that this JS is interfering with the AJAX image loader it stops the images from being shown anyone know why this might be? thanks for all the help so far :)
I had to look up a AJAX image loader, not sure which one your using so kind of shooting in the dark here. I think your problem is that both scripts are using the onload event. Having the event called by both scripts cancels out the other so nothing loads.
You would have to integrate another variable within the Ajax script or find one that uses a smart onload event.
@LTCreations
running scripts in the header tags work like this..
placing script in, includes\templates\my_template\jscript\jscript_somthing.js will run the script site wide, every page.
placing script in, includes\modules\pages\product_info\jscript_main.php runs the script just for that page.
As for the image on top of your site, you could code it with a cross of php and script to load your catigory image giving it a differnt image depending on catigory.
Dave
Always forward thinking... Lost my mind!