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

Main menustyle retaining oncolor


Poster: BigJohnson
Dated: Wednesday September 21 2005 - 14:57:18 BST

Hi
Is there a way that the "oncolor" can be retained once an option has been selected within that menu?

The reasoning behind this is that the user can then see which main menu option was selected.

Hope that makes sense!
Thanks


Poster: Ruth
Dated: Wednesday September 21 2005 - 17:24:22 BST

I'm not sure what you mean, there is pagebgcolor and pagecolor to show active pages, there is also a changecolorsbyclick module and a Menu Item Activation Module. Menu Bolt-on Modules and there's a demo page down at the bottom are the Milonic Bolt-on Module demos so you can see what they do.

Ruth


Poster: BigJohnson
Dated: Thursday September 22 2005 - 9:58:17 BST

Hi
The mmItemActivateByShowMenu function seems to be the way forward. I've downloaded the .js file and referenced it - all seems well, but I get an error when navigating to the destination page.

<SCRIPT language=JavaScript src="../../menu1/milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript> _d.write("<scr"+"ipt language=JavaScript src=../../menu1/mmenudom.js><\/scr"+"ipt>"); </script>
<SCRIPT language=JavaScript src="../../menu1/pro_menu_data.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="../../menu1/mmpagehighlighter.js" type=text/javascript></SCRIPT>


with(milonic=new menuname("SitePurchase")){
style=menuStyle;
itemwidth=175;
margin=2;
aI("text=Site;url=../../prosys/admin/proSite.asp;");
aI("text=Legal;url=../../prosys/admin/proSiteLegal.asp;");
aI("text=The Deal;url=../../prosys/admin/proSiteDeal.asp;");
aI("text=Vendor & Interested Parties;url=../../prosys/admin/pro_SITE_OtherContacts.asp;");
aI("text=Notes & Comments;url=../../prosys/admin/pro_SITE_Notes.asp;clickfunction=mmItemActivateByShowMenu('SitePurchase');");
}


Poster: Ruth
Dated: Thursday September 22 2005 - 19:48:44 BST

Unfortunately, I don't really know how these things work. Do you have the module on all the pages with the menu? That's the only thing that comes to mind which probably has nothing to do with the problem.

Ruth