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');");
}