//UDMv3.5 //**DO NOT EDIT THIS ***** if (!exclude) { //******** //************************ /////////////////////////////////////////////////////////////////////////// // // ULTIMATE DROPDOWN MENU VERSION 3.5 by Brothercake // This is a special version for Dynamic Drive (http://www.dynamicdrive.com) // // Link-wrapping routine by Brendan Armstrong // Original KDE modifications by David Joham // Opera reload/resize based on a routine by Michael Wallner // Select-element hiding routine by Huy Do // /////////////////////////////////////////////////////////////////////////// // *** POSITIONING AND STYLES ********************************************* var menuALIGN = "center"; // alignment var absLEFT = 0; // absolute left or right position (if menu is left or right aligned) var absTOP = 150; // absolute top position var staticMENU = false; // static positioning mode (ie5,ie6 and ns4 only) var stretchMENU = false; // show empty cells var showBORDERS = false; // show empty cell borders var baseHREF = ""; // base path to .js files for the script (ie: resources/) var zORDER = 1000; // base z-order of nav structure (not ns4) var mCOLOR = "778e1e"; // main nav cell color var rCOLOR = "97ae3e"; // main nav cell rollover color var bSIZE = 1; // main nav border size var bCOLOR = "white" // main nav border color var aLINK = "white"; // main nav link color var aHOVER = "white"; // main nav link hover-color (dual purpose) var aDEC = "none"; // main nav link decoration var fFONT = "arial"; // main nav font face var fSIZE = 10; // main nav font size (pixels) var fWEIGHT = "normal" // main nav font weight var tINDENT = 7; // main nav text indent (if text is left or right aligned) var vPADDING = 0; // main nav vertical cell padding var vtOFFSET = 0; // main nav vertical text offset (+/- pixels from middle) var keepLIT = true; // keep rollover color when browsing menu var vOFFSET = 5; // shift the submenus vertically var hOFFSET = 0; // shift the submenus horizontally var smCOLOR = "778e1e"; // submenu cell color var srCOLOR = "97ae3e"; // submenu cell rollover color var sbSIZE = 1; // submenu border size var sbCOLOR = "white" // submenu border color var saLINK = "white"; // submenu link color var saHOVER = "white"; // submenu link hover-color (dual purpose) var saDEC = "none"; // submenu link decoration var sfFONT = "arial"; // submenu font face var sfSIZE = 10; // submenu font size (pixels) var sfWEIGHT = "normal" // submenu font weight var stINDENT = 7; // submenu text indent (if text is left or right aligned) var svPADDING = 0; // submenu vertical cell padding var svtOFFSET = 0; // submenu vertical text offset (+/- pixels from middle) var shSIZE = 0; // submenu drop shadow size var shCOLOR = "#cccccc"; // submenu drop shadow color var shOPACITY = 75; // submenu drop shadow opacity (not ie4,ns4 or opera) var keepSubLIT = true; // keep submenu rollover color when browsing child menu var chvOFFSET = 0; // shift the child menus vertically -12 var chhOFFSET = 0; // shift the child menus horizontally 7 var openTIMER = 10; // [** new **] menu opening delay time (not ns4/op5/op6) var openChildTIMER = 20; // [** new **] child-menu opening delay time (not ns4/op5/op6) var closeTIMER = 330; // menu closing delay time var cellCLICK = true; // links activate on TD click var aCURSOR = "hand"; // cursor for active links (not ns4 or opera) var altDISPLAY = "status"; // where to display alt text var allowRESIZE = true; // allow resize/reload var redGRID = false; // show a red grid var gridWIDTH = 760; // override grid width var gridHEIGHT = 500; // override grid height var documentWIDTH = 0; // override document width var hideSELECT = false; // auto-hide select boxes when menus open (ie only) var allowForSCALING = false; // allow for text scaling in gecko browsers var allowPRINTING = false; // allow the navbar and menus to print (not ns4) var arrWIDTH = 13; // [** new **] arrow width (not ns4/op5/op6) var arrHEIGHT = 13; // [** new **] arrow height (not ns4/op5/op6) var arrHOFFSET = -1; // [** new **] arrow horizontal offset (not ns4/op5/op6) var arrVOFFSET = 0; // [** new **] arrow vertical offset (not ns4/op5/op6) var arrVALIGN = "middle"; // [** new **] arrow vertical align (not ns4/op5/op6) var arrLEFT = "<"; // [** new **] left arrow (not ns4/op5/op6) var arrRIGHT = ">"; // [** new **] right arrow (not ns4/op5/op6) //** LINKS *********************************************************** // add main link item ("url","Link name",width,"text-alignment","_target","alt text",top position,left position,"key trigger","#mCOLOR","#rCOLOR","#aLINK","#aHOVER") [** last four are new **] // define submenu properties (width,"align to edge","text-alignment",v offset,h offset,"filter","#smCOLOR","#srCOLOR","#sbCOLOR","#shCOLOR","#saLINK","#saHOVER") [** last six are new **] // add submenu link items ("url","Link name","_target","alt text") addMainItem("maineng.html","Welcome",50,"center","","",0,0,"","","","",""); addMainItem("","Town",40,"center","","",0,0,"","","","",""); defineSubmenuProperties(137,"left","left",-6,0,"","","","","","",""); addSubmenuItem("armoieng.html","Coat of Arms","",""); addSubmenuItem("villelogoe.html","Logo","",""); addSubmenuItem("sitgeoen.html","Geographical Location","",""); addMainItem("","Municipal Council",100,"center","","",0,0,"","","","",""); defineSubmenuProperties(137,"left","left",-6,0,"","","","","","",""); addSubmenuItem("conseile.html","Welcome","",""); addSubmenuItem("consmeme.html","Members of Council","",""); addSubmenuItem("calreu.pdf","Meeting Calendar","",""); addSubmenuItem("grefoje.html","Agendas","",""); addSubmenuItem("grefpve.html","Minutes","",""); addSubmenuItem("conspole.html","Policies","",""); addMainItem("","Municipal Services",110,"center","","",0,0,"","","","",""); defineSubmenuProperties(137,"left","left",-6,0,"","","","","","",""); addSubmenuItem("constructione.html","Building / Inspection","",""); addSubmenuItem("dge.html","Administration","",""); addSubmenuItem("bylawe.html","By-law Enforcement","",""); addSubmenuItem("greffee.html","Clerk's Office","","Permits, licenses, Accesss to Information"); defineChildmenuProperties(150,"left","left",-1,0,"","","","","","",""); addChildmenuItem("grefaccese.html","Access to Information","",""); addChildmenuItem("grefpere.html","Permits and Licenses","",""); addChildmenuItem("grefrege.html","By-laws","",""); addChildmenuItem("grefoje.html","Agendas","",""); addChildmenuItem("grefpve.html","Minutes","",""); addChildmenuItem("grefcale.html","Meeting Calendar","",""); addSubmenuItem("devecoe.html","Economic Development","",""); addSubmenuItem("financee.html","Finance","",""); addSubmenuItem("incendie.html","Fire","",""); addSubmenuItem("resshume.html","Human Resources","",""); addSubmenuItem("urbanismee.html","Planning","",""); addSubmenuItem("loisirse.html","Recreation and Culture","",""); addSubmenuItem("waterworkse.html","Water Treatment Plant","",""); addSubmenuItem("policee.html","Police","",""); addSubmenuItem("http://www.bibliotheque.hawkesbury.on.ca","Public Library","",""); addMainItem("","Special Projects",100,"center","","",0,0,"","","","",""); defineSubmenuProperties(137,"left","left",-6,0,"","","","","","",""); addSubmenuItem("cipindexe.html","CIP Wet Lagoon
Remediation","",""); addSubmenuItem("compteurse.html","Water Meters","",""); addSubmenuItem("wastee.html","Wastewater Treatment
Plant Upgrade","",""); addSubmenuItem("recyclagee.html","Recycling","",""); addMainItem("liense.html","External Links",90,"center","","",0,0,"","","","",""); addMainItem("contacte.html","Contact us",100,"center","","",0,0,"","","","",""); addMainItem("emploise.html","Job Opportunities",110,"center","","",0,0,"","","","",""); addMainItem("elec2010e.html","Elections 2010",100,"center","","",0,0,"","","","",""); addMainItem("mainfra.html","Page d'accueil",100,"center","","",0,0,"","","","",""); addMainItem("","",40,"center","","",0,0,"","white","white","white","white"); //** This line to make it a fixed 950 pixels wide, to match the banner //**DO NOT EDIT THIS ***** }//*********************** //************************