Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    help question Adding Javescript files

    To add a javascript file, do you simple put the script into the JS file and then call it from the location?

    If this wrong can you please tell me how to do

    Thanks

  2. #2
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Adding Javescript files

    Actually, Zen-Cart does even better than that, as you DON'T have to add the call to it. Once inside you js folder just add: jscript_ the the name of your file, and Zen will automatically load it for you. In other words, if you have a jquery file named "jquery.js", you would just put it in your js folder, renaming it to "jscript_jquery.js". That's it. Zen will do the rest. So ANY javascript file...........no matter what the name.............just add the: "jscript_" to the beginning of the name................easy, huh?

    Hope this helps.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  3. #3
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: Adding Javescript files

    I will have a play and get back to you . Thanks

  4. #4
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: Adding Javescript files

    It must be old age catching me up. Could you please explain what has been mentioned to me Get Em Fast, I have gone word blind. Sorry

 

 

Similar Threads

  1. Adding ez files to information table
    By johnybravo in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 15 Jun 2011, 03:22 PM
  2. Adding Java & javescript
    By adb34 in forum General Questions
    Replies: 9
    Last Post: 10 Jun 2009, 08:52 PM
  3. Adding Files to Attributes
    By BrodieGirl in forum Customization from the Admin
    Replies: 2
    Last Post: 22 Nov 2006, 09:55 PM
  4. Adding MIDI files
    By aphro6677 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 17 Aug 2006, 05:40 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR