Jump to content

Where do I place Javascript?


Guest hostingtruth

Recommended Posts

Guest hostingtruth

Version: 3.0.10

Skin: Killer

Cart URL: http://www.faithendowment.com/cart

A customer asked me to add Cubecart to his existing site. However, I am having trouble including his Javascript drop-down menu on my cart pages. I have tried placing the Javascript includes in different places in the index.tpl file but to no avail. I also copied his javascript files into the cart directory and loaded them from there, and that didn't seem to do the trick either.

You can see what the menus are supposed to look like by viewing: http://www.faithendowment.com. He built his site with FrontPage, so the HTML is kind of a mess, but I figured I could still get it to work.

Is there another place I should put the Javascript includes in order to make them available to all the cart pages? I'm kind of at a loss and would appreciate any advice or input anyone can give.

Thanks,

Scott Henry

Link to comment
Share on other sites

Guest EverythingWeb

/js/jslibrary.js

This file is included by default in every page, however bear in mind that this may get overwritten with updates.

You can, in index.tpl reference another .js file (in the same /js directory) which will be included.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...