| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Javascript Menu wont work in the HEAD. Please Help !! URGENT | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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 ....... |
|||||||
#2
|
|||||||
|
|||||||
![]() 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
__________________
Never understimate stupidity. -------- X-Cart Version: 3.5.2 Hosting:mind-in-design.net Configuration: Virtual Dedicated Server || Intel Pentium 4 2.4 GHZ CPU || 1024MB PC2100 DDR RAM || Linux || PHP 4.3.2 || MySQL server 4.0.14 |
|||||||
#3
|
|||||||
|
|||||||
![]() 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 |
|||||||
#4
|
|||||||
|
|||||||
![]() I could be wrong as I don't understand the actual function of it, but try putting {literal} <load JS stuff> {/literal} in there.
|
|||||||
#5
|
|||||||||
|
|||||||||
![]() you can read up on this at http://smarty.php.net
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#6
|
|||||||
|
|||||||
![]() i have read the smarty page. So i think i must use the Command fetch?
But it's not running. any help? |
|||||||
#7
|
|||||||
|
|||||||
![]() 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
__________________
Never understimate stupidity. -------- X-Cart Version: 3.5.2 Hosting:mind-in-design.net Configuration: Virtual Dedicated Server || Intel Pentium 4 2.4 GHZ CPU || 1024MB PC2100 DDR RAM || Linux || PHP 4.3.2 || MySQL server 4.0.14 |
|||||||
|
|||
X-Cart forums © 2001-2020
|