What I have is a site map page with (for completeness) the menus inserted using cck blocks. That saves me typing the menus in all again. However, DHTML Menu does its thing on these blocks too. What I want to do is to make them normal ul, li. What's the simplest way of turning off dhtml menu for a page region?

BTW, my suggestion is have an option for DHTML menu, only active in this region or something like that.

Comments

cburschka’s picture

Status: Active » Closed (won't fix)

Sorry, but there is no way to add the behavior to a menu in one region, but not when the same menu is displayed in another region. This is because the replacement happens at the menu level, and the module has no idea where the output will later appear on the page.

You would have to make two separate menus to do that, then disable DHTML on one of them.

If you feel up to hacking the CSS/JS of DHTML Menu, you might be able to specifically hard-code it not to work in a particular region,

malc_b’s picture

Status: Closed (won't fix) » Active

I should add that I've used CSS to expand it when it first displays which is a partial work around. The site map block "menu" items still expand and collapse when clicked though and I'd rather they didn't.

vuil’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

I close the issue as Closed (outdated) because there is not update since 2009 year.
If it still needs please re-open the issue. Thank you!