Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:04

How to set a button to its "on" state on ceratin


Poster: oviroa
Dated: Friday November 5 2004 - 1:18:14 GMT

Hi Everybody!
I am trying to display a button in the top level of the navigation with its "on" state colors, on certain pages, that I control? Is there any way to do that? I need to make sure though, that the menu generated at rollover does keep its on/off state behavior intact (as do the rest of the buttons in the top level.
Thanks.[/b]


Poster: kevin3442
Dated: Friday November 5 2004 - 21:43:54 GMT

There's a function called mm_changeItemProperty(), described in this thread, that can be used to change any menu item property dynamically. It should be able to do what you need.

Cheers,

Kevin


Poster: oviroa
Dated: Monday January 10 2005 - 18:27:53 GMT

That function crashes the browser - IE on a MAC. Any ideas how that can be avoided?


Poster: kevin3442
Dated: Tuesday January 11 2005 - 1:34:23 GMT

Hi,

The function has worked well in every browser I've tried under Windows. Unfortunately, I don't have a Mac to test with, or I'd be happy to try a Mac workaround. Do you get any error messages before the crash? Might help identify what's causing the problem. It might also help if you can post the code where you've used the function, and what version of IE and Mac OS you're using. Maybe someone out there has a similar setup and can help.

Sorry I can't do better.

Kevin