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 Menus (https://forum.x-cart.com/showthread.php?t=1663)

jeffwill 02-27-2003 12:43 PM

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>

funkydunk 03-01-2003 10:01 AM

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.


All times are GMT -8. The time now is 09:21 PM.

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