DHTML Menu in Drupal 5.8 - Sub menus doesn't open

Events happening in the community are now at Drupal community events on www.drupal.org.
Sigal's picture

Hi all,

I am trying to create a menu on my site with the dhtmlmenu module.

I added this function to my template.php:

function tapestry_menu_item_link($item, $link_item) {
$path = explode("#",$link_item['path']);
if($path[0])
return l($item['title'], $path[0], !empty($item['description']) ? array('title' => $item['description']) : array(), isset($item['query']) ? $item['query'] : NULL, $path[1]);
else
return ''.$item['title'].'';
}

And my parent items in the menu are pointing to: #.

When I click on a parent item, nothing happens and the sub menu does not open.

I googled, IRCed, and drupaled, but couldn't find a solution.

I used nicemenus in the beginning, but my client wants the sub menus to stay open when you click on their parent, she says it's hard to point on a sub menu since it keeps disappearing.

Can anyone help please?

Thanks,

Sigal

South Africa

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week