Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Javascript/DHMTL Menu Question

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-03-2004, 07:18 AM
 
iatealitlebabie iatealitlebabie is offline
 

Newbie
  
Join Date: Aug 2004
Posts: 4
 

Default Javascript/DHMTL Menu Question

When I added a Javascript/DHTML menu to my site it threw this error:

Fatal error: Smarty: [in customer/categories.tpl line 341]: syntax error: unrecognized tag: document.write('

can anyone give me some advice? Im not the best programmer. TIA
__________________
What?
Reply With Quote
  #2  
Old 09-06-2004, 07:42 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

make sure you wrap any javascript code in literal tags

ie

{literal}

java code here

{/literal}
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:25 AM.

   

 
X-Cart forums © 2001-2020