Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
07-13-2010, 12:38 AM #1
- Join Date
- Jul 2010
- Thanked 0 Times in 0 Posts
Problems getting sub menus to work
I normally find an off the peg menu system that works but this time I have to make some modifications... I normally muddle through but I'm struggling....
I am using a horizontal menu bar which uses images for the default and rollover effects (this is mandatory as the client wishes to enforce a particular font for the menu items). This is all working fine.
I need to add submenus to some of these root menu options (these need not be images) and I was looking at this rather neat solution using jquery: http://www.sohtanaka.com/web-design/...th-css-jquery/
However, Im struggling to get the sub-menu options to appear at all. I suspect that I may not be grabbing the correct DOM object. The prototype web page is here (http://www.hardingweb.net/collyers/index.html) and the About Us menu option should provide sub-menu options.
Can anyone suggest what I might be doing wrong?
07-14-2010, 09:17 AM #2
- Join Date
- Aug 2009
- Jakarta, Indonesia.
- Thanked 53 Times in 52 Posts
Welcome to the club, nharding99.
That's because you're trying to merge 2 scripts:
one from Dynamicdrive, the other is Sohtanaka's.
Seems that these two has different HTML menu tree structure,
and also submenu capability, i.e: Sohtanaka's couldn't create multiple
So, assuming that you only need 1-level deep submenus,
probably converting DynamicDrive into Sohtanaka's is the easiest way.