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:19

V5 - CSS style


Poster: topachou
Dated: Monday August 18 2003 - 11:26:03 BST

Is there a way to reach the elements in the menu like that :
document.getElementById('link1').style.background = '#cccccc';

I'd like to change some CSS properties of the menu on the fly.

Is it possible ?

================

And can we customize a menu with CSS style that reside in .css file ?
I'd like to use some CSS classes on my menu.

Is it possible ?

Thanks.


Poster: topachou
Dated: Monday August 18 2003 - 14:19:53 BST

No clue ?

Unfortunately, the milonic support is down for the moment. And I can't log in to ask any questions.

So maybe, someone has an answer here ?


Poster: Hergio
Dated: Monday August 18 2003 - 14:33:18 BST

Individual properties, I doubt since you would have to hack the menu to either (1) find out what IDs Andy is giving all the objects in the menu so you can access them, or (2) find out how down in the hierarchy of things they are so you can access them using .child(0).child(2).child(1)...etc. But there is a conveniently created menuitem property called onclass and offclass. See http://www.milonic.com/itemproperties.php to get a listing of all the good things you can control. You can reference any class thats in scope in the page with the onclass and offclass.


Poster: topachou
Dated: Monday August 18 2003 - 15:32:48 BST

Thank you very much for your answer.