| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Adding Dynamic Drives Menu | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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?
__________________
X-Cart Pro 4.5 |
|||||||
#2
|
|||||||
|
|||||||
Re: Adding Dynamic Drives Menu
Anyone?
__________________
X-Cart Pro 4.5 |
|||||||
#3
|
|||||||||
|
|||||||||
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!
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#4
|
|||||||||
|
|||||||||
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.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|