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

menu no displaying the correct color


Poster: smarin
Dated: Thursday August 19 2004 - 15:13:43 BST

Code:
_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_subOffsetTop=10              // Sub menu top offset
_subOffsetLeft=-10            // Sub menu left offset



with(menuStyle=new mm_style()){
onbgcolor="#4148AD";
oncolor="#ffffff";
offbgcolor="#04105A";
offcolor="#ffffff";
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
separatorcolor="#04105A";
separatorsize="5";
padding=4;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="/NewMenu/black_round_white.gif ,center, bottom";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="Pixelate(duration=0.5)";
}

with(menuStyle1=new mm_style()){
onbgcolor="#4148AD";
oncolor="#ffffff";
offbgcolor="#04105A";
offcolor="#ffffff";
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
separatorcolor="#04105A";
separatorsize="5";
padding=4;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="/NewMenu/black_round_white1.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="Pixelate(duration=0.5)";
}

with(milonic=new menuname("Main Menu Bar")){
style=menuStyle;
screenposition="top;left"
alwaysvisible=1;
orientation="horizontal";
aI("text=Home Page;url=http://www.ugaais.com;");
aI("text=Main Menu;showmenu=Main Menu;");
aI("text=Agency Info;showmenu=Agency Info;");
aI("text=Shop Online;showmenu=Shop Online;");
aI("text=Agent Studio;showmenu=Agent Studio;");
aI("text=Rating;showmenu=Rating;");
aI("text=Support Center;showmenu=Support Center;");
aI("text=Register Online;showmenu=Regester Online;");
aI("text=Site FAQ's;showmenu=Site FAQ's;");
aI("text=Site Search;showmenu=Site Search;");
}

   with(milonic=new menuname("Main Menu")){
   style=menuStyle1;
   overflow="scroll";
   aI("text=Download Area;showmenu=Download Area;");
   aI("text=Reports Online;url=/reports/reports5.asp;");
   aI("text=Publications;showmenu=Publications;");
   aI("text=Vendor Info Center;showmenu=Vendor Info Center;");
   aI("text=Contest Area;showmenu=Contest Area;");
   aI("text=Sales Force Automation;showmenu=Sales Force Automation;");
   aI("text=OKC Product;showmenu=OKC Product;");
   aI("text=MEGA Info Center;showmenu=MEGA Info Center;");
   aI("text=Trade Show Info;url=/content/tradeshow/tsinfo.htm;");
   aI("text=Hot Links;url=/content/hotlinks/hotlinks3.asp;");
   aI("text=Training Online;url=/content/training/train.asp;");
   aI("text=Leaders Area;showmenu=Leaders Area;");
   }

      with(milonic=new menuname("Download Area")){
      style=menuStyle1;
      aI("text=DigiQuote;showmenu=DigiQuote;");
      aI("text=Performance Trends ;url=/download/trends/trends3.asp;");
      aI("text=Approved Advertising ;showmenu=Approved Advertising;");
      aI("text=Press Release;showmenu=Press Release;");
      aI("text=Recruiting Presentations;url=/download/recruiting/recruiting3.asp;");
      aI("text=Product Presentations;url=/download/productppt/products.asp;");
      aI("text=Printing and Download FAQ;url=/download/printingfaq.htm;");
      }

         with(milonic=new menuname("DigiQuote")){
         style=menuStyle1;
         aI("text=DigiQuote PC;url=/content/sfa/digiquote/digiquoteOCI.asp;");
         aI("text=DigiQuote Palm;url=/content/sfa/digiquote/digiquotepalmOCI.asp;");
         }

         with(milonic=new menuname("Approved Advertising")){
         style=menuStyle1;
         aI("text=Advertising Introduction;url=/Content/Compliance/intro/intro.htm;");
         aI("text=Advertising Guidelines;url=/content/Compliance/docs/guidelines.htm;");
         aI("text=NEW Advertising Library;url=/content/Compliance/search1.asp;");
         aI("text=Advertising Logos;url=/content/Compliance/logos/logo3.htm;");
         aI("text=Advertising Approval Form;url=/content/Compliance/docs/UGA EXPRESS Ad Approval Form 2004.exe;");
         }

         with(milonic=new menuname("Press Release")){
         style=menuStyle1;
         aI("text=Press Release Introduction;url=/download/pressrelease/intro.htm;");
         aI("text=System requirements;url=/download/pressrelease/systemreq.htm;");
         aI("text=Download Instructions;url=/download/pressrelease/prdown3.htm;");
         aI("text=Installation Instructions;url=/download/pressrelease/installi.htm.htm;");
         aI("text=Press Release Library;url=/download/pressrelease/docs/prdocs.htm;");
         }
         
      with(milonic=new menuname("Publications")){
      style=menuStyle1;
      aI("text=Agency Publications Center;url=/content/publications/default5.htm;");
      aI("text=Peak Performers 2004;url=/content/publications/premier%20people/default2004.asp;");
      aI("text=Peak Performers 2003;url=/content/publications/premier%20people/default2003.asp;");
      aI("text=Today's UGA;url=/content/publications/Todayuga/todays.htm;");
      aI("text=Inspirational Posters;url=/content/publications/Posters/Posters.htm;");
      }

      with(milonic=new menuname("Vendor Info Center")){
      style=menuStyle1;
      aI("text=Association Advantage Info Center;url=/content/vendor/advantageii/assocadv3.asp;");
      aI("text=Association Advantage FAQ;url=/content/vendor/advantageii/assocfaq.htm;");
      aI("text=Association Advantage Provider Search;url=/content/vendor/careingtonii/caresearch.htm;");
      aI("text=Association Advantage Provider Referral;url=http://www.careington.com/provnom;target=_blank;");
      aI("text=Association Provider Download Center;url=/content/vendor/advantageii/PVCLetter/pvc3.asp;");
      aI("text=Careington Info Center;url=/content/vendor/careingtonii/careington3.asp;");
      aI("text=Careington Provider Search;url=/content/vendor/careingtonii/caresearch.asp;");
      aI("text=Careington Pay Schedules;url=/content/vendor/careingtonii/payschedules/payschedule3.asp;");
      aI("text=Careington Provider Referral;url=http://www.careington.com/provnom;target=_blank;");
      aI("text=AdvanceRx-Cole-HRA-Agent ToolBox-UICIMktg;url=/Content/vendor/vendor3.asp;");
      }
      
      with(milonic=new menuname("Contest Area")){
      style=menuStyle1;
      aI("text=Contest 2004;url=/contest/contest2004/contest04.asp;");
      aI("text=Contest 2003;url=/contest/contest2003/contest3.asp;");
      aI("text=Contest 2002;url=/contest/contest2002/contest3.asp;");
      aI("text=Contest 2001;url=/contest/contest2001/contest3.asp;");
      aI("text=Contest 2000;url=/contest/contest2000/contest3.asp;");
      aI("text=Presidents Council;url=/contest/contest2004/OnPace/04prescouncil.asp;");
      }

      with(milonic=new menuname("Sales Force Automation")){
      style=menuStyle1;
      aI("text=ACT;url=/content/sfa/ACT/ACT3.asp;");
      aI("text=SFA Hardware;url=/content/sfa/hardware/hardware3.htm;");
      aI("text=Saleslogix Conversion Macro;url=/content/sfa/saleslogix.htm;");
      aI("text=SFA Agent Support Info;url=/content/sfa/manual/helpdesk.htm;");
      aI("text=SFA Download;url=/content/sfa/download/download3.asp;");
      aI("text=SFA Training Documents;url=/content/sfa/training/tdownload.asp;");
      aI("text=Field Support Tip Of the Week;url=/content/techsup/fieldsupport/support.htm;");
      }
      
      with(milonic=new menuname("OKC Product")){
      style=menuStyle1;
      aI("text=OKC FAQ's and Guides;url=/content/UniversalLife/okcproduct.asp;");
      aI("text=UL Reports Online;url=/content/UniversalLife/Reports/ulmorereports.asp;");
      aI("text=Renewal Code Information;url=/content/UniversalLife/blueprint.htm;");
      aI("text=Blueprint For Life;url=/content/UniversalLife/blueprint.htm;");
      aI("text=Application Packages;url=/content/Universallife/kits.htm;");
      aI("text=Presentation Downloads;url=/content/Universallife/presentations.htm;");
      aI("text=OKC Contact List;url=/content/UniversalLife/okccontactlist.pdf;target=_blank;");
      }
      
      with(milonic=new menuname("MEGA Info Center")){
      style=menuStyle1;
      aI("text=Underwriting Guides;url=/content/mega/uwguides1.asp;");
      aI("text=HIPAA Eligibility Forms;url=/content/mega/hipaastatements.htm;");
      aI("text=MEGA Certificates;url=/content/mega/certs.htm;");
      aI("text=MEGA Downloads;url=/content/mega/mega_dnld.asp;");
      }
      
      with(milonic=new menuname("Leaders Area")){
      style=menuStyle1;
      aI("text=Manager - SOFA - Lead Reports;url=/sofa/LeadStart.asp;");
      aI("text=New Domain Registration;url=/Domains/default.asp;");
      aI("text=Leaders Studio;url=/templates/studio.asp;");
      aI("text=General Leaders Area;url=/content/Manager/manager.asp;");
      }      

   with(milonic=new menuname("Agency Info")){
   style=menuStyle1;
   overflow="scroll";
   aI("text=News From Our President;url=/content/info/notice.htm;");
   aI("text=Close The Loop;url=/content/info/leadinfo_04.htm;");
   aI("text=Reponsibility Report;url=/content/info/newrep.pdf;target=_blank;");
   aI("text=State Licensing Info;url=/content/info/statewebinfo.pdf;target=_blank;");
   aI("text=Taken Rate Calculation;url=/content/info/takenrateinfo.pdf;target=_blank;");
   aI("text=Senior Agent/Pacesetter/Area Evaluations;url=/content/info/Senior Agent Evaluation.pdf;target=_blank;");
   aI("text=Agency FAQ's;url=/content/info/faq.htm;");
   aI("text=Reap FAQ's;url=/content/info/reapfaq2003.pdf;target=_blank;");
   aI("text=OKC FAQ's;url=/content/UniversalLife/OKCProduct.asp;");
   aI("text=BIG OPPORTUNITY BASH II;url=/content/info/bobii.htm;");
   aI("text=Pay Calendars;url=/content/info/calendar/cal2004/cal2004.htm;");
   aI("text=Reunion 2003;url=/content/reunion/reunion3.asp;");
   }
   
   with(milonic=new menuname("Shop Online")){
   style=menuStyle1;
   aI("text=Leader ProShop;url=/ldrProShop/default.asp;target=_blank;");
   aI("text=Agent ProShop;url=/Proshop/default.asp;target=_blank;");
   aI("text=UGA Forms Library;url=/InvProShop/default.asp;target=_blank;");
   }
   
   with(milonic=new menuname("Agent Studio")){
   style=menuStyle1;
   aI("text=Agent Studio;url=/rates/rates3.asp;target=_blank;");
   }   
   
   with(milonic=new menuname("Rating")){
   style=menuStyle1;
   aI("text=Rates Online;url=/rates/rates3.asp;target=_blank;");
   }   
   
   with(milonic=new menuname("Support Center")){
   style=menuStyle1;
   aI("text=Online Support;url=/Content/techsup/FS%20Pages/frames.htm;target=_blank;");
   }
   
   with(milonic=new menuname("Regester Online")){
   style=menuStyle1;
   aI("text=Regester Online;url=/secure/register/regstart.asp;");
   }   
      
   with(milonic=new menuname("Site FAQ's")){
   style=menuStyle1;
   aI("text=Site FAQ's;url=/faqs.htm;");
   }
   
   with(milonic=new menuname("Site Search")){
   style=menuStyle1;
   aI("text=Site Search;url=/Search/default.asp;target=_blank;");
   }


drawMenus();







The problem is when i navigate to a page, once i click a link the page loades but the path that i took is highlighted a off color blue in the menu, after the new menu loads. so the last link i clicked (the current open page)is a off color, not the BG color its supposed to be.

please let me know what im doing wrong.


Poster: John
Dated: Thursday August 19 2004 - 16:19:14 BST

You told it to do that...
Code:
pagebgcolor="#82B6D7";

This is wrong as well...
Code:
subimage="/NewMenu/black_round_white.gif ,center, bottom";

A little homework is in order - http://www.milonic.com/forum/viewtopic.php?t=2981. :D


Poster: smarin
Dated: Thursday August 19 2004 - 16:47:16 BST

i figured it out. there was another place to specify color for your current page that your on.

thanks