Not sure what page to add to, and where in the code it should go to avoid a conflict.
Thanks, I did try that. I created a folder in my template folder called jscript and tried the site wide jscript, it would not work.
then I tried making a folder called jscript/on_load
and adding a file on_load_name.js, then i put my code inside that file, but again it would not load.
It is either my js code or I am not performing the task correctly.
It certainly works. I use it regularly. Do you have a link to your site? And what are you naming your files?
http://desoto.websitewelcome.com/~penney/ is the site link
I named the file:
I placed ALL of that script on the practiceboard into the file on_load_cursor, and I think that is where I am going wrong.
OR after i load that there, am I supposed to go someplace else and make an entry in a file to tell it to load the script in on_load_cursor, I thought from what I read it would be automatic if I had done the script correctly.
does your file have a .js extension on the filename?
Zen Cart - putting the dream of business ownership within reach of anyone!
Donations always welcome: www.zen-cart.com/donate
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
There is no need to go anywhere else, just, as Dr Byte is gently hinting, name the file correctly by adding .js to end and Zen Cart will load it automatically.
Originally Posted by traders
By MyGreyGoose in forum Installing on a Linux/Unix Server
Last Post: 22 Jun 2007, 12:09 AM
By BreaJR in forum Basic Configuration
Last Post: 20 Sep 2006, 02:12 AM
Content and Graphics Copyright (c) 2003 - 2013 Zen Ventures, LLC - all rights reserved
Zen Cart® is a Registered Trademark of Zen Ventures, LLC