I am just experimenting with adding smartmenu to my osCommerce based website. The osCommerce software includes the header and left column php-scripts in each page, inside the body tag. The items in the left columns are embedded in a table, which is defined outside the left_column.php file. For the menu to appear on all pages, I need to put it into this php file.
I added the code from your sample page into this php file, and the main menu shows up properly and works. However, neither does the symbol for teh submenu appear on sample item 2, nor does it fold out when I move the mouse over it. Also, even if I do not set the vertical classes, the items are arranged in vertical order.
What could be the problem?
btw, the code is embedded inside a table tag from the master page, and I cannot change this.
Any help is greatly appreciated, as I really like these menus!
And thank you for making this available for everyone!
ok, problem solved!
The page loaded another jquery plugin later down the page, and that loaded a different version of jquery. Only the second one worked, the first failed. After updating the second plugin (cycle) to its current version and then using jquery-1.7.1 (required by the current cycle plugin), and making sure it is loaded only once, everything works nicely.