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)
-   -   Javascript Menu wont work in the HEAD. Please Help !! URGENT (https://forum.x-cart.com/showthread.php?t=4387)

MOC 09-17-2003 03:11 PM

Javascript Menu wont work in the HEAD. Please Help !! URGENT
 
Hi Guys,

i have an urgent problem. One of my customers want use a java script menu (DHTML) , the same menu which will used on www.hollywoodvideo.com
(This dark purple menu.)

So i put that code as following:

<SCRIPT language=JavaScript src="http://images.customerdomain.xx/kc_hideDiv.js" type=text/javascript>
</SCRIPT>
(there are 5 codes from this above)

so i created the head, placed the codes and sent it online. Nope, the Menu will not show up and no Error message from X-Cart.
Than i added before and after the {literal} code bit, but nothing.

Can somebody help me, how i get X-Cart to display that menu. Or did i miss anything?

Its really urgent !!!

Saskia
.......

dealsondeals 09-17-2003 04:39 PM

Try placing the script in the same directory as head.tpl then using the relative path for src, example --> src="../skin1/kc_hideDiv.js".

HTH


Glen

MOC 09-17-2003 04:46 PM

Thanks for your Answer Glen !! I tried, but the menu will not show up
If i put the whole html code into a normal html page and upload that file. I see in my browser the menu working. But not if i place it into the cart

Mad 09-17-2003 08:46 PM

I could be wrong as I don't understand the actual function of it, but try putting {literal} <load JS stuff> {/literal} in there.

shan 09-18-2003 02:08 AM

you can read up on this at http://smarty.php.net

MOC 09-26-2003 04:27 AM

i have read the smarty page. So i think i must use the Command fetch?

But it's not running. any help?

dealsondeals 09-26-2003 05:28 AM

Post or PM the script(everything, including whatever needs to between the <head> tags) and I'll see what I can figure out. Also what version of the cart are you using? That way I can test it in the same version.


Regards,

Glen


All times are GMT -8. The time now is 09:33 AM.

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