[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
www.dhtmlgoodies.com • View topic - Close menu on menu item click?

Close menu on menu item click?

Moderators: Calcifer, slothy

Close menu on menu item click?

Postby shacket » Mon May 15, 2006 3:39 pm

This menu is fantastic. However, I have a few issues I am running into:

(see http://new.americanheritagebicycletours.com/home.php for example)

1. How do I get the submenu to close when a choice is selected? I am using AJAX to call pages, so I need to close the submenu manually.

2. One submenu (the one for Living History Productions) lines up correctly. But the the other submenu (for Tours) lines up one item too high - so the first submenu item overlays the main menu item. Any ideas why?

** UPDATE --> #2 SOLVED **
I didn't have an <a> tag for the main menu item. I just put an <a href="#"></a> around the item and it was fine.

Posts: 4
Joined: Fri May 12, 2006 4:04 pm

Postby Batalf » Thu May 18, 2006 4:53 pm

Site Admin
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

Didn't work

Postby shacket » Thu May 18, 2006 6:42 pm


thanks for much for your reply. That adjustment didn't change things (see: http://new.americanheritagebicycletours.com).

Any other suggestions?

Thanks again. You do great work!
Posts: 4
Joined: Fri May 12, 2006 4:04 pm

Return to Menu script questions

Who is online

Users browsing this forum: No registered users and 6 guests