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: Thursday February 8 2018 - 06:02:01

Submenus change position on screen depending on item count


Poster: ShawnO
Dated: Friday August 20 2004 - 16:23:17 BST

Hello,

I am trying to get my submenu's to display properly. For the most part IE6 and Mozilla work well with the exception of the City Hall and Business sub menu's. I have been able to get the menus to position exactly where I want them but when the City Hall and Business subs go to appear they move. The other ones are perfect!! In IE, the City Hall one seems to move down about 10 pixels and the Business one moves down about 150 pixels. In Netscape though, the two sub menus move down about 200 pixels and over about 300 pixels. I can't post the url because it is an internal test site right now, but the code will be attached. And with these two menu's, they are very high and scroll off the bottom of the screen making a browser scrollbar. I have tried setting the menuheight to something like 250px but it came up with this puny box (which looked to be more like 20 X 20 px).

Also, ideally, I would like the sub menu's to move down with the main menu selection... for example, when you mouse over Services, the services sub menu will appear at the same height as the 'Services' item on the main menu.

Now, the site menu gets generated dynamically based on a MS Access (for now) database. So, today, there could be 5 main menu items and tomorrow there could be 6, the day after 4 - it all depends on the DB.

No Javascript errors come up in IE or Mozilla so I can't see anything going on there.

Any help would be much appreciated!!

Here is the code:

Code: Select all

<script type='text/javascript' language='javascript'>
_menuCloseDelay=100;           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=0;          // The time delay before menus open on mouse over
_subOffsetTop=0;              // Sub menu top offset
_subOffsetLeft=-10;            // Sub menu left offset
var bTop;
var bLeft;
   if ((ns4) || (ns6) || (ns60) || (ns7)) {
      bTop=205;      bLeft=417;   } else {
      bTop=0;      bLeft=157;   }

with(menuStyle=new mm_style()){onbgcolor='#4F8EB6';oncolor='#ffffff';offbgcolor='#DCE9F0';offcolor='#515151';bordercolor='#296488';borderstyle='solid';borderwidth=1;separatorcolor='#2D729D';separatorsize='1';padding=5;fontsize='9px';fontstyle='normal';fontfamily='Verdana, Tahoma, Arial';pagecolor='black';pagebgcolor='#82B6D7';headercolor='#000000';headerbgcolor='#ffffff';subimage='arrow.gif';subimagepadding='2';}


with(mainMenu=new mm_style()){oncolor='#ffffff';offcolor='#FFFFFF';bordercolor='#296488';borderstyle='solid';borderwidth=0;separatorcolor='#2D729D';separatorsize='0';padding=5;fontsize='10px';fontstyle='normal';fontweight='bold';fontfamily='Verdana, Arial, Helvetica, sans-serif';pagecolor='black';pagebgcolor='#82B6D7';headercolor='#000000';headerbgcolor='#ffffff';subimage='arrow.gif';subimagepadding='2';}


with(milonic=new menuname('MainMenu')){style=mainMenu;top=0;left=0;alwaysvisible=1;screenposition='left';position='relative';aI('text=ABOUT US;url=#;showmenu=ABOUTUS;');aI('text=BUSINESS;url=#;showmenu=BUSINESS;');aI('text=CITY HALL;url=#;showmenu=CITYHALL;');aI('text=COUNCIL;url=#;showmenu=COUNCIL;');aI('text=ELECTIONS;url=#;showmenu=ELECTIONS;');aI('text=SERVICES;url=#;showmenu=SERVICES;');}


with(milonic=new menuname('ABOUTUS')){style=menuStyle;top=bTop;left=bLeft;alwaysvisible=0;overflow='scroll';followscroll=1;screenposition='center';aI('text=Directions;url=http://www.myurl.com/maps/city.html;');aI('text=For Students;url=http://www.myurl.com/residentservices/students.html;');aI('text=Events Calendar;url=http://www.myurl.com/calendar.html;');aI('text=Heritage Walking Tour;url=http://www.myurl.com/visitorinsights/heritagetour;');aI('text=What\'s New;url=http://www.myurl.com/whatsnew.html;');aI('text=What\'s New Archive;url=http://www.myurl.com/whatsnewarchive.html;');}


with(milonic=new menuname('BUSINESS')){style=menuStyle;top=bTop;left=bLeft;alwaysvisible=0;overflow='scroll';followscroll=1;screenposition='center';aI('text=Business Directory;url=http://www.myurl.com/businessdirectory;');aI('text=Business Links;url=http://www.myurl.com/economicoutreach/govtlinks.html;');aI('text=Business Newsletter;url=http://www.myurl.com/economicoutreach/newsletter;');aI('text=Business Profile;url=http://www.myurl.com/economicoutreach/businessprofile/default.html;');aI('text=Commercial;url=http://www.myurl.com/economicoutreach/businessprofile/commercial.html;');aI('text=Investment Strengths;url=http://www.myurl.com/economicoutreach/businessprofile/investmentstrengths.html;');aI('text=Manufacturing;url=http://www.myurl.com/economicoutreach/businessprofile/manufacturing.html;');aI('text=Commercial Map;url=http://www.myurl.com/economicoutreach/mapcommercial.html;');aI('text=Manufacturing Map;url=http://www.myurl.com/economicoutreach/mapmanufacturing.html;');aI('text=Professional Services;url=http://www.myurl.com/economicoutreach/businessprofile/service.html;');aI('text=Tourism;url=http://www.myurl.com/economicoutreach/businessprofile/tourism.html;');aI('text=Tourism Brochure;url=http://www.myurl.com/economicoutreach/brochure/tourism_2002_brochure.pdf;');aI('text=Tourism & Economic Impact Statistics March 31, 2004;url=http://www.myurl.com/economicoutreach/pdf/tourist_economic_stats_03_2004.pdf;');aI('text=Tourist & Economic Links;url=http://www.myurl.com/economicoutreach/stats.html;');aI('text=Business Self Help;url=http://www.myurl.com/economicoutreach/help.html;');aI('text=Help Starting A New Business;url=http://www.myurl.com/economicoutreach/resources.html;');aI('text=Steps Starting A New Business;url=http://www.myurl.com/economicoutreach/steps.html;');aI('text=Community Profile;url=http://www.myurl.com/economicoutreach/communityprofile/default.html;');aI('text=City Services;url=http://www.myurl.com/economicoutreach/communityprofile/city_services.pdf;');aI('text=Community Profile Links;url=http://www.myurl.com/economicoutreach/communityprofile/default.html;');aI('text=Cultures & Lifestyles;url=http://www.myurl.com/economicoutreach/communityprofile/culture_lifestyles_revised.pdf;');aI('text=Education & Training;url=http://www.myurl.com/economicoutreach/communityprofile/education_training_2revised.pdf;');aI('text=Executive Summary;url=http://www.myurl.com/economicoutreach/communityprofile;');aI('text=Industrial;url=http://www.myurl.com/economicoutreach/communityprofile;');aI('text=Labour & Demographics;url=http://www.myurl.com/economicoutreach/communityprofile/labor_demographics.pdf;');aI('text=Tourism;url=http://www.myurl.com/economicoutreach/communityprofile/tourism.pdf;');aI('text=Development Guide;url=http://www.myurl.com/economicoutreach/developmentguide;');aI('text=New Developments;url=http://www.myurl.com/economicoutreach/developments/newdevelopments.html;');aI('text=Real Estate;url=http://www.myurl.com/economicoutreach/realestate.html;');aI('text=Heritage Real Estate;url=http://www.myurl.com/economicoutreach/realestate/heritageproperties;');aI('text=Real Estate Links;url=http://www.myurl.com/economicoutreach/realestate.html;');}


with(milonic=new menuname('CITYHALL')){style=menuStyle;top=bTop;left=bLeft;alwaysvisible=0;overflow='scroll';followscroll=1;screenposition='center';aI('text=City Hall;url=http://www.myurl.com/cityhall/default2.html;');aI('text=City Structure;url=http://www.myurl.com/cityhall/default2.html;');aI('text=Contact Us;url=http://www.myurl.com/residentservices/fcn.html;');aI('text=Town Crier;url=http://www.myurl.com/cityhall/towncrier.html;');aI('text=Administration;url=http://www.myurl.com/cityhall/default2.html;');aI('text=CAO;url=http://www.myurl.com/cityhall/mayorsoffice/cao.html;');aI('text=Mayor;url=http://www.myurl.com/cityhall/mayorsoffice/mayor.html;');aI('text=Building & Bylaw Services;url=http://www.myurl.com/cityhall/buildings;');aI('text=Building Permit Process;url=http://www.myurl.com/cityhall/buildings/permitinfo.html;');aI('text=What You Need To Know About Development Charges;url=http://www.myurl.com/cityhall/buildings/charges.html;');aI('text=A Homeowners Guide To Lot Grading;url=http://www.myurl.com/cityhall/buildings;');aI('text=Plumbing;url=http://www.myurl.com/cityhall/buildings;');aI('text=Requirements For Fencing;url=http://www.myurl.com/cityhall/buildings/poolfence.html;');aI('text=Residential Swimming Pools;url=http://www.myurl.com/cityhall/buildings;');aI('text=Pool Safety Tips;url=http://www.myurl.com/cityhall/buildings/poolsafety.html;');aI('text=Business Development;url=http://www.myurl.com/cityhall/bdd;');aI('text=Clerk\'s;url=http://www.myurl.com/cityhall/clerks;');aI('text=Licence Fee Schedule;url=http://www.myurl.com/cityhall/clerks/licence.html;');aI('text=Lottery Licence Information;url=http://www.myurl.com/cityhall/clerks/lottery.html;');aI('text=Issuance Of Marriage Licences;url=http://www.myurl.com/cityhall/clerks/marriages.html;');aI('text=Supply & Services;url=http://www.myurl.com/cityhall/clerks/supply.html;');aI('text=Current Tenders & Quotations;url=http://www.myurl.com/cityhall/clerks/tenders.html;');aI('text=Finance;url=http://www.myurl.com/cityhall/finance;');aI('text=Budget 2004 Workbook;url=http://www.myurl.com/budget/2004budgetworkbook.pdf;');aI('text=City Hall Budget Survey;url=http://www.myurl.com/budget;');aI('text=Municipal Performance Measurement Program;url=http://www.myurl.com/cityhall/finance/munperformance.html;');aI('text=Pre-Authorized Tax Payment Plan;url=http://www.myurl.com/cityhall/finance/preauthtax.html;');aI('text=2003 Tax Rates;url=http://www.myurl.com/cityhall/finance/2003taxtable.html;');aI('text=Fire Services;url=http://www.myurl.com/cityhall/firedept;');aI('text=Human Resources;url=http://www.myurl.com/cityhall/hr;');aI('text=Current Opportunities;url=http://www.myurl.com/cityhall/hr/currentopportunities.html;');aI('text=Employment;url=http://www.myurl.com/cityhall/hr/newjoblistings.html;');aI('text=How To Apply For A Job;url=http://www.myurl.com/cityhall/hr/howtoapply.html;');aI('text=Job Categories;url=http://www.myurl.com/cityhall/hr/jobcategories.html;');aI('text=Information Systems;url=http://www.myurl.com/cityhall/is;');aI('text=Legal;url=http://www.myurl.com/cityhall/legal;');aI('text=Municipal Works;url=http://www.myurl.com/cityhall/munworks;');aI('text=City Owned Properties;url=http://www.myurl.com/cityhall/munworks/cityowned.html;');aI('text=Road Construction;url=http://www.myurl.com/economicoutreach/developments/nfinfrastructure.html;');aI('text=General FAQ;url=http://www.myurl.com/cityhall/munworks/servicecentrefrequentlyaskedquestions.pdf;');aI('text=Waste Management FAQ;url=http://www.myurl.com/cityhall/munworks/wmfaq.html;');aI('text=Water Meter FAQ;url=http://www.myurl.com/whatsnew/watermeter_faq.html;');aI('text=Parking & Traffic;url=http://www.myurl.com/cityhall/munworks/00_traffic_home.html;');aI('text=Speed Watch;url=http://www.myurl.com/whatsnew/speedwatch3.pdf;');aI('text=Parks Recreation & Culture;url=http://www.myurl.com/cityhall/parksrecculture;');aI('text=Municipal Alcohol Policy;url=http://www.myurl.com/cityhall/parksrecculture/alcohol.html;');aI('text=Arenas;url=http://www.myurl.com/cityhall/parksrecculture/arena.html;');aI('text=Conditions Of Agreement;url=http://www.myurl.com/cityhall/parksrecculture/conditions.html;');aI('text=Coronation 50 Plus Recreation Centre;url=http://www.myurl.com/cityhall/parksrecculture/miscellaneous.html;');aI('text=Millenium Recreational Trail;url=http://www.myurl.com/cityhall/parksrecculture/millenniumtrail/default.html;');aI('text=Miscellaneous Parks & Recreation Information;url=http://www.myurl.com/cityhall/parksrecculture/miscellaneous.html;');aI('text=Parks Guide;url=http://www.myurl.com/cityhall/parksrecculture/parksguide.html;');aI('text=Parks & Outdoor Sports Information;url=http://www.myurl.com/cityhall/parksrecculture/parks.html;');aI('text=Pools;url=http://www.myurl.com/cityhall/parksrecculture/aquatics.html;');aI('text=Sports Wall Of Fame;url=http://www.myurl.com/cityhall/parksrecculture/sportswall.html;');aI('text=2003 Summer Trillium Awards;url=http://www.myurl.com/cityhall/parksrecculture/2003trillium.html;');aI('text=Planning;url=http://www.myurl.com/cityhall/planning;');aI('text=Site Plan Requirements Information;url=http://www.myurl.com/cityhall/planning/pdf/inforequirements.pdf;');}


with(milonic=new menuname('COUNCIL')){style=menuStyle;top=bTop;left=bLeft;alwaysvisible=0;overflow='scroll';followscroll=1;screenposition='center';aI('text=Council;url=http://www.myurl.com/cityhall/clerks;');aI('text=Council Meeting Schedule;url=http://www.myurl.com/cityhall/clerks/councilschedule.html;');aI('text=Current Council Members;url=http://www.myurl.com/cityhall/clerks/councilors.html;');}


with(milonic=new menuname('ELECTIONS')){style=menuStyle;top=bTop;left=bLeft;alwaysvisible=0;overflow='scroll';followscroll=1;screenposition='center';aI('text=2003 Elections;url=http://www.myurl.com/cityhall/elections/default.html;');aI('text=Advanced Voting;url=http://www.myurl.com/cityhall/elections/advancedvote.html;');aI('text=Candidates;url=http://www.myurl.com/cityhall/elections/candidates.html;');aI('text=Elected Offices;url=http://www.myurl.com/cityhall/elections/electedoffices.html;');aI('text=General Election FAQ;url=http://www.myurl.com/cityhall/elections/faq.html;');aI('text=Election Links;url=http://www.myurl.com/cityhall/elections/links.html;');aI('text=Election Signs FAQ;url=http://www.myurl.com/cityhall/elections/faq2.html;');aI('text=Key Dates;url=http://www.myurl.com/cityhall/elections/keydates.html;');aI('text=Nomination Period;url=http://www.myurl.com/cityhall/elections/nomperiod.html;');aI('text=Poll Stations;url=http://www.myurl.com/cityhall/elections/polls.html;');aI('text=Proxy Information;url=http://www.myurl.com/cityhall/elections/proxyinfo.html;');aI('text=Qualifications;url=http://www.myurl.com/cityhall/elections/qualifications.html;');aI('text=2000 Election Results;url=http://www.myurl.com/cityhall/clerks/2000results.html;');aI('text=Voting Instructions;url=http://www.myurl.com/cityhall/elections/formel29.html;');aI('text=Who Can Vote;url=http://www.myurl.com/cityhall/elections/whocanvote.html;');}


with(milonic=new menuname('SERVICES')){style=menuStyle;top=bTop;left=bLeft;alwaysvisible=0;overflow='scroll';followscroll=1;screenposition='center';aI('text=Chair Lift At F.H. Leslie Pool;url=http://www.myurl.com/cityhall/parksrecculture/disable_chairlift.html;');aI('text=Disability Links;url=http://www.myurl.com/cityhall/parksrecculture/disable_links.html;');aI('text=FitWorks Disability Activity Program;url=http://www.myurl.com/cityhall/parksrecculture/disable_fitworks.html;');aI('text=Canada\'s Guide To Healthy Eating;url=http://www.myurl.com/cityhall/parksrecculture/healtheating.html;');aI('text=Canada\'s Guide To Physical Activity;url=http://www.myurl.com/cityhall/parksrecculture/physicalactivity.html;');aI('text=Health Related Links;url=http://www.myurl.com/cityhall/parksrecculture/healthrelatedlinks.html;');aI('text=Community Health & Wellness;url=http://www.myurl.com/cityhall/parksrecculture/comm_health_well.html;');aI('text=Mayor\'s Disability Committee;url=http://www.myurl.com/cityhall/parksrecculture/mayor_disability_comm.html;');aI('text=Who We Are;url=http://www.myurl.com/cityhall/parksrecculture/disable_who.html;');aI('text=Monthly Health & Wellness Tip;url=http://www.myurl.com/cityhall/parksrecculture/monthlyhealthtip.html;');aI('text=Pat Cummings Memorial Award;url=http://www.myurl.com/cityhall/parksrecculture/disable_memorial.pdf;');aI('text=Special Needs Activity Programs(S.N.A.P.);url=http://www.myurl.com/cityhall/parksrecculture/disable_specialneeds.html;');aI('text=Walking Trails;url=http://www.myurl.com;');}

drawMenus();</script>

Update for menu positioning.....


Poster: ShawnO
Dated: Friday August 20 2004 - 19:53:52 BST

Ok, I am going to post the new code that I have been working on all day. The menus work 100% in IE6 EXCEPT that you can't click on any submenu links. The menu comes up but you can't click on the item - it won't work. It won't even highlight!

As for netscape, you can click on the item and it works 100%. The problem with Netscape (Mozilla actually) is that when there is a submenu with more items than space allows for (vertically) it pushes the sub menu down and over similar to my last post.

As for Opera.... :) The menus show up where they should be, and you can click on them, but the menu's show up behind the IFrame. From what I have been reading, it seems that this is a bug in Opera. Other than that, it works.

If someone could give me some assistance, it would be greatly appreciated!! Sorry for the long code, but I figured that if I posted the whole script it could be tested in someone elses browser with all the items in it.

Thanks,
Shawn

The Updated Code


Poster: ShawnO
Dated: Friday August 20 2004 - 20:11:46 BST

Code: Select all

<script type='text/javascript' language='javascript'>
_menuCloseDelay=1000;           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=0;          // The time delay before menus open on mouse over
_subOffsetTop=0;              // Sub menu top offset
_subOffsetLeft=-10;            // Sub menu left offset
var bTop=getObj('milMenu').offsetTop;
var bLeft = getObj('milMenu').offsetLeft;
var mLeft = bLeft+155;
var scrpos;
   if ((ns4) || (ns6) || (ns60) || (ns7)) {
      mLeft += 261;   }

with(menuStyle=new mm_style()){onbgcolor='#4F8EB6';oncolor='#ffffff';offbgcolor='#DCE9F0';offcolor='#515151';bordercolor='#296488';borderstyle='solid';borderwidth=1;separatorcolor='#2D729D';separatorsize='1';padding=5;fontsize='9px';fontstyle='normal';fontfamily='Verdana, Tahoma, Arial';pagecolor='black';pagebgcolor='#82B6D7';headercolor='#000000';headerbgcolor='#ffffff';subimage='arrow.gif';subimagepadding='2';}


with(mainMenu=new mm_style()){oncolor='#ffffff';offcolor='#FFFFFF';bordercolor='#296488';borderstyle='solid';borderwidth=0;separatorcolor='#2D729D';separatorsize='0';padding=5;fontsize='10px';fontstyle='normal';fontweight='bold';fontfamily='Verdana, Arial, Helvetica, sans-serif';pagecolor='black';pagebgcolor='#82B6D7';headercolor='#000000';headerbgcolor='#ffffff';subimage='arrow.gif';subimagepadding='2';}


with(milonic=new menuname('MainMenu')){style=mainMenu;top=bTop;left=bLeft;alwaysvisible=1;screenposition='left';aI('text=ABOUT US;url=#;showmenu=ABOUTUS;');aI('text=BUSINESS;url=#;showmenu=BUSINESS;');aI('text=CITY HALL;url=#;showmenu=CITYHALL;');aI('text=COUNCIL;url=#;showmenu=COUNCIL;');aI('text=ELECTIONS;url=#;showmenu=ELECTIONS;');aI('text=SERVICES;url=#;showmenu=SERVICES;');}


with(milonic=new menuname('ABOUTUS')){style=menuStyle;top=bTop;left=mLeft;alwaysvisible=0;overflow='scroll';screenposition='center';menuwidth='550';aI('text=Directions;url=javascript:showPage(\'http://www.myurl/maps/city.html\');');aI('text=For Students;url=javascript:showPage(\'http://www.myurl/residentservices/students.html\');');aI('text=Events Calendar;url=javascript:showPage(\'http://www.myurl/calendar.html\');');aI('text=Heritage Walking Tour;url=javascript:showPage(\'http://www.myurl/visitorinsights/heritagetour\');');aI('text=What\'s New;url=javascript:showPage(\'http://www.myurl/whatsnew.html\');');aI('text=What\'s New Archive;url=javascript:showPage(\'http://www.myurl/whatsnewarchive.html\');');}


with(milonic=new menuname('BUSINESS')){style=menuStyle;top=bTop;left=mLeft;alwaysvisible=0;overflow='scroll';screenposition='center';menuwidth='550';aI('text=Business Directory;url=javascript:showPage(\'http://www.myurl/businessdirectory\');');aI('text=Business Links;url=javascript:showPage(\'http://www.myurl/economicoutreach/govtlinks.html\');');aI('text=Business Newsletter;url=javascript:showPage(\'http://www.myurl/economicoutreach/newsletter\');');aI('text=Business Profile;url=javascript:showPage(\'http://www.myurl/economicoutreach/businessprofile/default.html\');');aI('text=Commercial;url=javascript:showPage(\'http://www.myurl/economicoutreach/businessprofile/commercial.html\');');aI('text=Investment Strengths;url=javascript:showPage(\'http://www.myurl/economicoutreach/businessprofile/investmentstrengths.html\');');aI('text=Manufacturing;url=javascript:showPage(\'http://www.myurl/economicoutreach/businessprofile/manufacturing.html\');');aI('text=Commercial Map;url=javascript:showPage(\'http://www.myurl/economicoutreach/mapcommercial.html\');');aI('text=Manufacturing Map;url=javascript:showPage(\'http://www.myurl/economicoutreach/mapmanufacturing.html\');');aI('text=Professional Services;url=javascript:showPage(\'http://www.myurl/economicoutreach/businessprofile/service.html\');');aI('text=Tourism;url=javascript:showPage(\'http://www.myurl/economicoutreach/businessprofile/tourism.html\');');aI('text=Tourism Brochure;url=javascript:showPage(\'http://www.myurl/economicoutreach/brochure/tourism_2002_brochure.pdf\');');aI('text=Tourism & Economic Impact Statistics March 31, 2004;url=javascript:showPage(\'http://www.myurl/economicoutreach/pdf/tourist_economic_stats_03_2004.pdf\');');aI('text=Tourist & Economic Links;url=javascript:showPage(\'http://www.myurl/economicoutreach/stats.html\');');aI('text=Business Self Help;url=javascript:showPage(\'http://www.myurl/economicoutreach/help.html\');');aI('text=Help Starting A New Business;url=javascript:showPage(\'http://www.myurl/economicoutreach/resources.html\');');aI('text=Steps Starting A New Business;url=javascript:showPage(\'http://www.myurl/economicoutreach/steps.html\');');aI('text=Community Profile;url=javascript:showPage(\'http://www.myurl/economicoutreach/communityprofile/default.html\');');aI('text=City Services;url=javascript:showPage(\'http://www.myurl/economicoutreach/communityprofile/city_services.pdf\');');aI('text=Community Profile Links;url=javascript:showPage(\'http://www.myurl/economicoutreach/communityprofile/default.html\');');aI('text=Cultures & Lifestyles;url=javascript:showPage(\'http://www.myurl/economicoutreach/communityprofile/culture_lifestyles_revised.pdf\');');aI('text=Education & Training;url=javascript:showPage(\'http://www.myurl/economicoutreach/communityprofile/education_training_2revised.pdf\');');aI('text=Executive Summary;url=javascript:showPage(\'http://www.myurl/economicoutreach/communityprofile\');');aI('text=Industrial;url=javascript:showPage(\'http://www.myurl/economicoutreach/communityprofile\');');aI('text=Labour & Demographics;url=javascript:showPage(\'http://www.myurl/economicoutreach/communityprofile/labor_demographics.pdf\');');aI('text=Tourism;url=javascript:showPage(\'http://www.myurl/economicoutreach/communityprofile/tourism.pdf\');');aI('text=Development Guide;url=javascript:showPage(\'http://www.myurl/economicoutreach/developmentguide\');');aI('text=New Developments;url=javascript:showPage(\'http://www.myurl/economicoutreach/developments/newdevelopments.html\');');aI('text=Real Estate;url=javascript:showPage(\'http://www.myurl/economicoutreach/realestate.html\');');aI('text=Heritage Real Estate;url=javascript:showPage(\'http://www.myurl/economicoutreach/realestate/heritageproperties\');');aI('text=Real Estate Links;url=javascript:showPage(\'http://www.myurl/economicoutreach/realestate.html\');');}


with(milonic=new menuname('CITYHALL')){style=menuStyle;top=bTop;left=mLeft;alwaysvisible=0;overflow='scroll';screenposition='center';menuwidth='550';aI('text=City Hall;url=javascript:showPage(\'http://www.myurl/cityhall/default2.html\');');aI('text=City Structure;url=javascript:showPage(\'http://www.myurl/cityhall/default2.html\');');aI('text=Contact Us;url=javascript:showPage(\'http://www.myurl/residentservices/fcn.html\');');aI('text=Town Crier;url=javascript:showPage(\'http://www.myurl/cityhall/towncrier.html\');');aI('text=Administration;url=javascript:showPage(\'http://www.myurl/cityhall/default2.html\');');aI('text=CAO;url=javascript:showPage(\'http://www.myurl/cityhall/mayorsoffice/cao.html\');');aI('text=Mayor;url=javascript:showPage(\'http://www.myurl/cityhall/mayorsoffice/mayor.html\');');aI('text=Building & Bylaw Services;url=javascript:showPage(\'http://www.myurl/cityhall/buildings\');');aI('text=Building Permit Process;url=javascript:showPage(\'http://www.myurl/cityhall/buildings/permitinfo.html\');');aI('text=What You Need To Know About Development Charges;url=javascript:showPage(\'http://www.myurl/cityhall/buildings/charges.html\');');aI('text=A Homeowners Guide To Lot Grading;url=javascript:showPage(\'http://www.myurl/cityhall/buildings\');');aI('text=Plumbing;url=javascript:showPage(\'http://www.myurl/cityhall/buildings\');');aI('text=Requirements For Fencing;url=javascript:showPage(\'http://www.myurl/cityhall/buildings/poolfence.html\');');aI('text=Residential Swimming Pools;url=javascript:showPage(\'http://www.myurl/cityhall/buildings\');');aI('text=Pool Safety Tips;url=javascript:showPage(\'http://www.myurl/cityhall/buildings/poolsafety.html\');');aI('text=Business Development;url=javascript:showPage(\'http://www.myurl/cityhall/bdd\');');aI('text=Clerk\'s;url=javascript:showPage(\'http://www.myurl/cityhall/clerks\');');aI('text=Licence Fee Schedule;url=javascript:showPage(\'http://www.myurl/cityhall/clerks/licence.html\');');aI('text=Lottery Licence Information;url=javascript:showPage(\'http://www.myurl/cityhall/clerks/lottery.html\');');aI('text=Issuance Of Marriage Licences;url=javascript:showPage(\'http://www.myurl/cityhall/clerks/marriages.html\');');aI('text=Supply & Services;url=javascript:showPage(\'http://www.myurl/cityhall/clerks/supply.html\');');aI('text=Current Tenders & Quotations;url=javascript:showPage(\'http://www.myurl/cityhall/clerks/tenders.html\');');aI('text=Finance;url=javascript:showPage(\'http://www.myurl/cityhall/finance\');');aI('text=Budget 2004 Workbook;url=javascript:showPage(\'http://www.myurl/budget/2004budgetworkbook.pdf\');');aI('text=City Hall Budget Survey;url=javascript:showPage(\'http://www.myurl/budget\');');aI('text=Municipal Performance Measurement Program;url=javascript:showPage(\'http://www.myurl/cityhall/finance/munperformance.html\');');aI('text=Pre-Authorized Tax Payment Plan;url=javascript:showPage(\'http://www.myurl/cityhall/finance/preauthtax.html\');');aI('text=2003 Tax Rates;url=javascript:showPage(\'http://www.myurl/cityhall/finance/2003taxtable.html\');');aI('text=Fire Services;url=javascript:showPage(\'http://www.myurl/cityhall/firedept\');');aI('text=Human Resources;url=javascript:showPage(\'http://www.myurl/cityhall/hr\');');aI('text=Current Opportunities;url=javascript:showPage(\'http://www.myurl/cityhall/hr/currentopportunities.html\');');aI('text=Employment;url=javascript:showPage(\'http://www.myurl/cityhall/hr/newjoblistings.html\');');aI('text=How To Apply For A Job;url=javascript:showPage(\'http://www.myurl/cityhall/hr/howtoapply.html\');');aI('text=Job Categories;url=javascript:showPage(\'http://www.myurl/cityhall/hr/jobcategories.html\');');aI('text=Information Systems;url=javascript:showPage(\'http://www.myurl/cityhall/is\');');aI('text=Legal;url=javascript:showPage(\'http://www.myurl/cityhall/legal\');');aI('text=Municipal Works;url=javascript:showPage(\'http://www.myurl/cityhall/munworks\');');aI('text=City Owned Properties;url=javascript:showPage(\'http://www.myurl/cityhall/munworks/cityowned.html\');');aI('text=Road Construction;url=javascript:showPage(\'http://www.myurl/economicoutreach/developments/nfinfrastructure.html\');');aI('text=General FAQ;url=javascript:showPage(\'http://www.myurl/cityhall/munworks/servicecentrefrequentlyaskedquestions.pdf\');');aI('text=Waste Management FAQ;url=javascript:showPage(\'http://www.myurl/cityhall/munworks/wmfaq.html\');');aI('text=Water Meter FAQ;url=javascript:showPage(\'http://www.myurl/whatsnew/watermeter_faq.html\');');aI('text=Parking & Traffic;url=javascript:showPage(\'http://www.myurl/cityhall/munworks/00_traffic_home.html\');');aI('text=Speed Watch;url=javascript:showPage(\'http://www.myurl/whatsnew/speedwatch3.pdf\');');aI('text=Parks Recreation & Culture;url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture\');');aI('text=Municipal Alcohol Policy;url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture/alcohol.html\');');aI('text=Arenas;url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture/arena.html\');');aI('text=Conditions Of Agreement;url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture/conditions.html\');');aI('text=Coronation 50 Plus Recreation Centre;url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture/miscellaneous.html\');');aI('text=Millenium Recreational Trail;url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture/millenniumtrail/default.html\');');aI('text=Miscellaneous Parks & Recreation Information;url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture/miscellaneous.html\');');aI('text=Parks Guide;url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture/parksguide.html\');');aI('text=Parks & Outdoor Sports Information;url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture/parks.html\');');aI('text=Pools;url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture/aquatics.html\');');aI('text=Sports Wall Of Fame;url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture/sportswall.html\');');aI('text=2003 Summer Trillium Awards;url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture/2003trillium.html\');');aI('text=Planning;url=javascript:showPage(\'http://www.myurl/cityhall/planning\');');aI('text=Site Plan Requirements Information;url=javascript:showPage(\'http://www.myurl/cityhall/planning/pdf/inforequirements.pdf\');');}


with(milonic=new menuname('COUNCIL')){style=menuStyle;top=bTop;left=mLeft;alwaysvisible=0;overflow='scroll';screenposition='center';menuwidth='550';aI('text=Council;url=javascript:showPage(\'http://www.myurl/cityhall/clerks\');');aI('text=Council Meeting Schedule;url=javascript:showPage(\'http://www.myurl/cityhall/clerks/councilschedule.html\');');aI('text=Current Council Members;url=javascript:showPage(\'http://www.myurl/cityhall/clerks/councilors.html\');');}


with(milonic=new menuname('ELECTIONS')){style=menuStyle;top=bTop;left=mLeft;alwaysvisible=0;overflow='scroll';screenposition='center';menuwidth='550';aI('text=2003 Elections;url=javascript:showPage(\'http://www.myurl/cityhall/elections/default.html\');');aI('text=Advanced Voting;url=javascript:showPage(\'http://www.myurl/cityhall/elections/advancedvote.html\');');aI('text=Candidates;url=javascript:showPage(\'http://www.myurl/cityhall/elections/candidates.html\');');aI('text=Elected Offices;url=javascript:showPage(\'http://www.myurl/cityhall/elections/electedoffices.html\');');aI('text=General Election FAQ;url=javascript:showPage(\'http://www.myurl/cityhall/elections/faq.html\');');aI('text=Election Links;url=javascript:showPage(\'http://www.myurl/cityhall/elections/links.html\');');aI('text=Election Signs FAQ;url=javascript:showPage(\'http://www.myurl/cityhall/elections/faq2.html\');');aI('text=Key Dates;url=javascript:showPage(\'http://www.myurl/cityhall/elections/keydates.html\');');aI('text=Nomination Period;url=javascript:showPage(\'http://www.myurl/cityhall/elections/nomperiod.html\');');aI('text=Poll Stations;url=javascript:showPage(\'http://www.myurl/cityhall/elections/polls.html\');');aI('text=Proxy Information;url=javascript:showPage(\'http://www.myurl/cityhall/elections/proxyinfo.html\');');aI('text=Qualifications;url=javascript:showPage(\'http://www.myurl/cityhall/elections/qualifications.html\');');aI('text=2000 Election Results;url=javascript:showPage(\'http://www.myurl/cityhall/clerks/2000results.html\');');aI('text=Voting Instructions;url=javascript:showPage(\'http://www.myurl/cityhall/elections/formel29.html\');');aI('text=Who Can Vote;url=javascript:showPage(\'http://www.myurl/cityhall/elections/whocanvote.html\');');}


with(milonic=new menuname('SERVICES')){style=menuStyle;top=bTop;left=mLeft;alwaysvisible=0;overflow='scroll';screenposition='center';menuwidth='550';aI('text=Chair Lift At F.H. Leslie Pool;url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture/disable_chairlift.html\');');aI('text=Disability Links;url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture/disable_links.html\');');aI('text=FitWorks Disability Activity Program;url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture/disable_fitworks.html\');');aI('text=Canada\'s Guide To Healthy Eating;url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture/healtheating.html\');');aI('text=Canada\'s Guide To Physical Activity;url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture/physicalactivity.html\');');aI('text=Health Related Links;url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture/healthrelatedlinks.html\');');aI('text=Community Health & Wellness;url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture/comm_health_well.html\');');aI('text=Mayor\'s Disability Committee;url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture/mayor_disability_comm.html\');');aI('text=Who We Are;url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture/disable_who.html\');');aI('text=Monthly Health & Wellness Tip;url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture/monthlyhealthtip.html\');');aI('text=Pat Cummings Memorial Award;url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture/disable_memorial.pdf\');');aI('text=Special Needs Activity Programs(S.N.A.P.);url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture/disable_specialneeds.html\');');aI('text=Walking TrailS;url=javascript:showPage(\'http://www.myurl/cityhall/parksrecculture/walkingtrails.html\');');}

drawMenus();</script>
[/code]