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

Javascript Menus

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-27-2003, 12:43 PM
  jeffwill's Avatar 
jeffwill jeffwill is offline
 

Advanced Member
  
Join Date: Feb 2003
Location: US
Posts: 41
 

Default Javascript Menus

I'm having trouble with this Javascript.

I'm using Dreamweaver 4.0 with the Xara Menu plugin. This works great in my "Static" HTML pages: http://www.teltexinc.com/head01.htm. I can not make it work in the Xcart program.

Can anyone tell me why this isn't working correctly?

I've enclosed it with the {literal}mycode{/literal} tags, and it still isn't working. It doesn't do anything. Just shows a blank area on the page when viewed. The menu that IS working on the top portion is some javacode that I used from within Dreamweaver. This option works fine. Just takes MUCH longer to accomplish than with Xara.

Code:
<script menumaker>document.write('<scr'+'ipt src="xaramenu.js">'+'</scr'+'ipt>');document.write('<scr'+'ipt src="menu/floaterflat.js">'+'</scr'+'ipt>');/*img src="menu/FloaterFlat.gif" moduleid="Teltex (Project)\FloaterFlat_off.xws"*/</script>
Reply With Quote
  #2  
Old 03-01-2003, 10:01 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

Sounds to me that your xaramenu.js file is not in the same directory as the script that is calling it.

Try using an absolute value - that will solve it.
__________________
ex x-cart guru
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 05:51 PM.

   

 
X-Cart forums © 2001-2020