![]() |
Adding Dynamic Drives Menu
I'm trying to add the following menu to the left bar of my store:
http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm I've got the following code in 'skin/common_files/customer/meta.tpl' Code:
{* The rest of the files are in the same directory. Have I made some sort of error with this code? I was trying to set it up for AJAX so that I could link to a menu content template from the left bar tpl. Even before I did this I could only get it to show the root menus, not the sub-items. I looked through the javascript file but couldn't figure out what was going wrong. I don't have much coding experience, so forgive me if I'm being a bit ditsy! Anyone know how I should have done this? |
Re: Adding Dynamic Drives Menu
Anyone?
|
Re: Adding Dynamic Drives Menu
Just a thought but Smarty requires javascript to be inside "literal" tags...
{literal} Your javascript here. {/literal} Also, sometimes there are problems if there is more than one script on the page. One solution is to put the javascript in a language variable and call it that way. This thread explains it pretty well... forum.x-cart.com/showthread.php?t=52351 Pay attention to the end of page 1, beginning of page 2. Good Luck! |
Re: Adding Dynamic Drives Menu
Jon there may be other problems, but the glaring one is
HTML Code:
Dynamic drive's instructions could certainly be improved on this one. Menu looks nice, worth the effort. |
All times are GMT -8. The time now is 10:59 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.