//Menu object creation oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname oCMenu.frames = 0 //Menu properties oCMenu.pxBetween=0 oCMenu.fromLeft=0 oCMenu.fromTop=19 oCMenu.rows=1 oCMenu.menuPlacement="center" oCMenu.offlineRoot="" oCMenu.onlineRoot="" oCMenu.resizeCheck=1 oCMenu.wait=1000 oCMenu.fillImg="/images/design/spacer.gif" oCMenu.zIndex=0 //Background bar properties oCMenu.useBar=0 oCMenu.barWidth="100%" oCMenu.barHeight="menu" oCMenu.barClass="clBar" oCMenu.barX=0 oCMenu.barY=0 oCMenu.barBorderX=0 oCMenu.barBorderY=0 oCMenu.barBorderClass="" //Level properties - ALL properties have to be specified in level 0 oCMenu.level[0]=new cm_makeLevel() oCMenu.level[0].width=50 oCMenu.level[0].height=17 oCMenu.level[0].regClass="clLevel0" oCMenu.level[0].overClass="clLevel0over" oCMenu.level[0].borderX=0 oCMenu.level[0].borderY=0 oCMenu.level[0].borderClass="clLevel0border" oCMenu.level[0].offsetX=0 oCMenu.level[0].offsetY=0 oCMenu.level[0].rows=0 oCMenu.level[0].arrow=0 oCMenu.level[0].arrowWidth=0 oCMenu.level[0].arrowHeight=0 oCMenu.level[0].align="bottom" oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.GradientWipe(GradientSize=1,wipestyle=1,motion=forward)" //SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this oCMenu.level[1]=new cm_makeLevel() oCMenu.level[1].width=175 oCMenu.level[1].height=18 oCMenu.level[1].regClass="clLevel1" oCMenu.level[1].overClass="clLevel1over" oCMenu.level[1].borderX=2 oCMenu.level[1].borderY=2 oCMenu.level[1].align="right" oCMenu.level[1].offsetX=-2 oCMenu.level[1].offsetY=-2 oCMenu.level[1].borderClass="clLevel1border" /* //SUB LEVEL[2] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this oCMenu.level[2]=new cm_makeLevel() oCMenu.level[2].align="left" oCMenu.level[2].offsetX=2 oCMenu.level[2].offsetY=-2 //SUB LEVEL[3] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this oCMenu.level[3]=new cm_makeLevel() oCMenu.level[3].regClass="clLevel2" oCMenu.level[3].overClass="clLevel2over" oCMenu.level[3].borderClass="clLevel2border" */ /****************************************** Menu item creation: myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) *************************************/ oCMenu.makeMenu('left','','','','','44','65') oCMenu.makeMenu('home','','','default.asp','','77','65','images/design/menu_home.jpg','') oCMenu.makeMenu('about','','','','','66','65','images/design/menu_about.jpg','') oCMenu.makeMenu('difference','about','The Zoo With A Difference','park.asp') oCMenu.makeMenu('comments','about','Visitor Comments','comments.asp') oCMenu.makeMenu('location','about','Location & Directions
Opening Hours & Prices','park_location.asp','','','30') oCMenu.makeMenu('history','about','History >') oCMenu.makeMenu('history_timeline','history','A Timeline Through History','park_history.asp') oCMenu.makeMenu('history_ploddy','history','Ploddy','park_history_ploddy.asp') oCMenu.makeMenu('history_ashes','history','Rising from the Ashes','park_history_ashes.asp') oCMenu.makeMenu('history_eric','history','Park Founder Eric Worrel >','park_history_eric.asp') oCMenu.makeMenu('history_eric_general','history_eric','About Eric Worrel','park_history_eric.asp','','140') oCMenu.makeMenu('history_eric_bio','history_eric','An Autobiography','park_history_eric_bio.asp','','140') oCMenu.makeMenu('history_eric_venom','history_eric','Anti-Venom Research','park_history_eric_venom.asp','','140') oCMenu.makeMenu('awards','about','Awards','awards.asp') oCMenu.makeMenu('visitor','','','','','66','65','images/design/menu_visitor.jpg','') oCMenu.makeMenu('locationVis','visitor','Location & Directions
Opening Hours & Prices','park_location.asp','','','30') oCMenu.makeMenu('showTimes','visitor','Show Times','park_showTimes.asp') oCMenu.makeMenu('visVideo','visitor','Online Video','video.asp') oCMenu.makeMenu('map','visitor','Map of the Park','park_map.asp') oCMenu.makeMenu('critter','visitor','Adopt a Crazy Critter','critters.asp') oCMenu.makeMenu('devil','visitor','Devil\'s Ark','park_devils.asp') oCMenu.makeMenu('functions1','visitor','Functions >','') oCMenu.makeMenu('crocktails1','functions1','Functions with a Difference','park_functions.asp') oCMenu.makeMenu('xmas1','functions1','Christmas Picnic Package','park_functions_xmas.asp') oCMenu.makeMenu('teambuilding1','functions1','Teambuilding','park_functions_teambuilding.asp') oCMenu.makeMenu('exhibits','visitor','Exhibits >') oCMenu.makeMenu('lostWorld','exhibits','Lost World of Reptiles','park_lostWorld.asp') oCMenu.makeMenu('spiderWorld','exhibits','Spider World','park_spiderWorld.asp') oCMenu.makeMenu('tLinks','visitor','Links','links.asp') oCMenu.makeMenu('tickets','visitor','Purchase Admission Tickets','park_tickets.asp') oCMenu.makeMenu('bbq','visitor','Purchase BBQ Lunch Pack','park_tickets.asp') oCMenu.makeMenu('tourtickets','visitor','Purchase Tour Tickets','park_tickets.asp') oCMenu.makeMenu('gifts','visitor','Purchase Gift Vouchers','park_tickets.asp') oCMenu.makeMenu('accommodation','visitor','Preferred Accommodation','accommodation.asp') oCMenu.makeMenu('activities','visitor','Local Activities','activities.asp') oCMenu.makeMenu('seminars1','visitor','Safety Awareness Seminars','safety_awareness.asp','','') oCMenu.makeMenu('yotf','visitor','Year of the Frog','yotf.asp','','') //oCMenu.makeMenu('dealss','visitor','Deals & Discounts','discount.asp') oCMenu.makeMenu('functions2','','','','','66','65','images/design/menu_news.jpg','') oCMenu.makeMenu('crocktails2','functions2','Functions with a Difference','park_functions.asp') oCMenu.makeMenu('xmas2','functions2','Christmas Picnic Package','park_functions_xmas.asp') oCMenu.makeMenu('teambuilding2','functions2','Teambuilding','park_functions_teambuilding.asp') oCMenu.makeMenu('accommodation2','functions2','Preferred Accommodation','accommodation.asp') oCMenu.makeMenu('pets','','','reptile_pets.asp','','66','65','images/design/menu_pets.jpg','') oCMenu.makeMenu('education','','','education.asp','','66','65','images/design/menu_education.jpg','') oCMenu.makeMenu('research','','','','','65','65','images/design/menu_research.jpg','') oCMenu.makeMenu('venom','research','Venom Production >','','','185') oCMenu.makeMenu('antiVenom','venom','How is AntiVenom Produced?','venom_production.asp') oCMenu.makeMenu('snakeVenom','venom','Snake Venom','venom_snake.asp') oCMenu.makeMenu('spiderVenom','venom','Spider Venom','venom_spider.asp') oCMenu.makeMenu('dropOff','venom','Spider Drop-off Points','venom_dropOff.asp') oCMenu.makeMenu('vSales','venom','Venom Sales','venom_sales.asp') oCMenu.makeMenu('wildlife','research','Wildlife Research Project >','','','185') oCMenu.makeMenu('python','wildlife','Rough-Scaled Python','animals.asp?catID=15&ID=101') oCMenu.makeMenu('bellfrog','wildlife','Green & Golden Bellfrog','animals.asp?catID=5&ID=147') oCMenu.makeMenu('seminars','research','Safety Awareness Seminars','safety_awareness.asp','','185') oCMenu.makeMenu('zLinks','research','Links','links.asp','','185') oCMenu.makeMenu('animals','','','animals.asp','','69','65','images/design/menu_animals.jpg','') oCMenu.makeMenu('animalCat1','animals','Birds','animals.asp?catID=1','','125') oCMenu.makeMenu('animalCat2','animals','Mammals','animals.asp?catID=2','','125') oCMenu.makeMenu('animalCat3','animals','Reptiles','animals.asp?catID=3','','125') oCMenu.makeMenu('animalCat8','animalCat3','Alligators & Crocs','animals.asp?catID=8','','150') oCMenu.makeMenu('animalCat9','animalCat3','Turtles & Tortoises','animals.asp?catID=9','','150') oCMenu.makeMenu('animalCat10','animalCat3','Skinks','animals.asp?catID=10','','150') oCMenu.makeMenu('animalCat11','animalCat3','Dragons','animals.asp?catID=11','','150') oCMenu.makeMenu('animalCat12','animalCat3','Monitors','animals.asp?catID=12','','150') oCMenu.makeMenu('animalCat13','animalCat3','Geckos','animals.asp?catID=13','','150') oCMenu.makeMenu('animalCat14','animalCat3','Iguanas','animals.asp?catID=14','','150') oCMenu.makeMenu('animalCat15','animalCat3','Pythons & Boas','animals.asp?catID=15','','150') oCMenu.makeMenu('animalCat16','animalCat3','Australian snakes','animals.asp?catID=16','','150') oCMenu.makeMenu('animalCat23','animalCat3','Exotic Snakes','animals.asp?catID=23','','150') oCMenu.makeMenu('animalCat4','animals','Spiders','animals.asp?catID=4','','125') oCMenu.makeMenu('animalCat17','animalCat4','Australian Spiders','animals.asp?catID=17','','150') oCMenu.makeMenu('animalCat18','animalCat4','International Spiders','animals.asp?catID=18','','150') oCMenu.makeMenu('animalCat19','animalCat4','Scorpions','animals.asp?catID=19','','150') oCMenu.makeMenu('animalCat5','animals','Amphibians','animals.asp?catID=5','','125') oCMenu.makeMenu('media','','','','','63','65','images/design/menu_media.jpg','') oCMenu.makeMenu('video','media','Online Video','video.asp') oCMenu.makeMenu('photos','media','Photo Library','media_photos.asp') oCMenu.makeMenu('company','media','Company Profile','media_profile.asp') oCMenu.makeMenu('contact','','','contact.asp','','67','65','images/design/menu_contact.jpg','') oCMenu.makeMenu('right','','','','','45','65') //Leave this line - it constructs the menu oCMenu.construct()