X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Using multiple Javascripts for pages w/o adding to HEAD.TPL (https://forum.x-cart.com/showthread.php?t=14612)

More-Japan 06-16-2005 09:50 AM

Using multiple Javascripts for pages w/o adding to HEAD.TPL
 
I'd like to use this thumbnail viewer on my front page, as well as the main categories within my site

http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm

It basically loads a seperate large layer/image on a set space using a thumbnail onMouseOver behaviour.

I want to avoid having an extremely large head.tpl and be able call custom scripts i make for each page/category.

How do I go about doing this? I'm more of a graphical designer, so Smarty and Javascript are still a bit foreign to me

balinor 07-13-2005 12:38 PM

Unfortunately if the script requires code in the head of the site (actually in home.tpl not head.tpl) you need to put it there. There are a lot of other image scripts that don't require JS in the head, you may want to keep searching :)


All times are GMT -8. The time now is 08:49 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.