MIL_menunum=0; MIL_menus=new Array(); function MIL_addmenu(){ MIL_menunum++; MIL_menus[MIL_menunum]=menu; } //PHM_MIL_effect = "gradientwipe(size=1.00, wipestyle=1, motion=Forward, duration=0.1);Alpha(style=0,opacity=93);Shadow(color='#DFE1E3',Direction=135,Strength=2)" PHM_MIL_effect = "" MIL_timegap=500 // The time delay for menus to remain visible MIL_followspeed=5 // Follow Scrolling speed MIL_followrate=40 // Follow Scrolling Rate MIL_suboffset_top=6; // Sub menu offset Top position MIL_suboffset_left=40; // Sub menu offset Left position PHM_MIL_style_top=[ "000000", // Mouse Off Font Color "transparent", // Mouse Off Background Color "000000", // Mouse On Font Color "FF9900", // Mouse On Background Color , // Menu Border Color 11, // Font Size in pixels "normal", // Font Style (italic or normal) "normal", // Font Weight (bold or normal) "Arial", // Font Name 0, // Menu Item Padding , // Sub Menu Image (Leave this blank if not needed) 0, // 3D Border and Separator bar "DFE1E3", // 3D High Color "DFE1E3", // 3D Low Color , // Current Page Item Font Color (leave this blank to disable) , // Current Page Item Background Color (leave this blank to disable) , // Top Bar image (Leave this blank to disable) , // Menu Header Font Color (Leave blank if headers are not needed) , // Menu Header Background Color (Leave blank if headers are not needed) , // Menu Item Separator Color ] PHM_MIL_style1=[ // PHM_MIL_style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style. "010033", // Mouse Off Font Color "FFCC66", // Mouse Off Background Color "000000", // Mouse On Font Color "FF9900", // Mouse On Background Color "000000", // Menu Border Color 11, // Font Size in pixels "normal", // Font Style (italic or normal) "normal", // Font Weight (bold or normal) "Arial", // Font Name 4, // Menu Item Padding "images/arrow.gif",// Sub Menu Image (Leave this blank if not needed) 1, // 3D Border and Separator bar "FFFFFF", // 3D High Color "BFBFBF", // 3D Low Color , // Current Page Item Font Color (leave this blank to disable) , // Current Page Item Background Color (leave this blank to disable) , // Top Bar image (Leave this blank to disable) "ffffff", // Menu Header Font Color (Leave blank if headers are not needed) "FF9900", // Menu Header Background Color (Leave blank if headers are not needed) , // Menu Item Separator Color ] MIL_addmenu(menu=[ // This is the array that contains your menu properties and details "mainmenu", // Menu Name - This is needed in order for the menu to be called 0, // Menu Top - The Top position of the menu in pixels 0, // Menu Left - The Left position of the menu in pixels , // Menu Width - Menus width in pixels 0, // Menu Border Width "", // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle" PHM_MIL_style_top, // Properties Array - this is set higher up, as above 1, // Always Visible - allows the menu item to be visible at all time (1=on/0=off) "center", // Alignment - sets the menu elements text alignment, values valid here are: left, right or center , // Filter - Text variable for setting transitional effects on menu activation - see above for more info , // Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off) 1, // Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off) , // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off) , // Position of TOP sub image left:center:right , // Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable) , // Right To Left - Used in Hebrew for example. (1=on/0=off) , // Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off) , // ID of the div you want to hide on MouseOver (useful for hiding form elements) , // Background image for menu when BGColor set to transparent. , // Scrollable Menu , // Reserved for future use // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar" ,"","#","../index.html","",1 ,"","show-menu=hidden","#","Scarab",1 ,"","show-menu=home","#","Home",1 ,"","show-menu=nubia","#","Nubia",1 ,"","show-menu=Projects","#","Projects",1 ,"","show-menu=sponsors","#","Sponsors",1 ,"","show-menu=Publications","#","Publications",1 ,"","show-menu=courses","#","Courses",1 ,"","show-menu=hollywood","#","Hollywood",1 ,"","show-menu=contact","#","Contact",1 ,"","","../contact.html","",1 ]) MIL_addmenu(menu=["home",,,120,1,,PHM_MIL_style1,,"left",PHM_MIL_effect,,,,,,,,,,,, ,"Anthropology Dept","http://www.anth.ucsb.edu","#","Anthropology Home",1 ,"Stuarts Home","../../index.html","#","Stuarts Home",1 ]) MIL_addmenu(menu=["hidden",,,90,1,,PHM_MIL_style1,,"left",PHM_MIL_effect,,,,,,,,,,,, ,"Map","../../map.html",,"map",1 ,"Timeline","../../timeline.html",,"timeline",1 ,"Links","../../links.html",,"links",1 ,"Sponsors","../../research/sponsors.html",,"sponsors",1 ,"Games","games.html",,"games",1 ]) MIL_addmenu(menu=["nubia",,,133,1,,PHM_MIL_style1,,"left",PHM_MIL_effect,,,,,,,,,,,, ,"Region","../../research/region.html","#","Region",1 ,"History","../../research/nubia_history.html","#","History",1 ,"Maps","../../research/maps.html","#","Maps",1 ,"Survey & Excavations","../../research/excavations.html","#","Survey & Excavations",1 ,"Artifacts","../../research/artifacts.html",,"Artifacts",1 ,"Slideshow","../../research/tombos.html",,"Slideshow",1 ]) MIL_addmenu(menu=["Projects",,,140,1,,PHM_MIL_style1,,"left",PHM_MIL_effect,,,,,,,,,,,, ,"Projects","../../research/excavations.html",,"Projects",1 ]) MIL_addmenu(menu=["sponsors",,,140,1,,PHM_MIL_style1,,"left",PHM_MIL_effect,,,,,,,,,,,, ,"Sponsors","../../research/sponsors.html",,"Sponsors",1 ]) MIL_addmenu(menu=["Publications",,,140,1,,PHM_MIL_style1,,"left",PHM_MIL_effect,,,,,,,,,,,, ,"Books & Articles","../../publications/index.html",,"Books & Articles",1 ]) MIL_addmenu(menu=["courses",,,200,1,,PHM_MIL_style1,,"left",PHM_MIL_effect,,,,,,,,,,,, ,"3 Intro to Archaeology","../../classes/anth3/index.html",,"3",1 ,"118TS Archaeology Ancient Near East","../../courses/118TS.html",,"118",1 ,"121MS Historical World Systems","../../courses/121MS.html",,"121",1 ,"132TS Ceramic Analysis","../../courses/132TS.html",,"132",1 ,"138TS Archaeology of Ancient Egypt","../../courses/138TS.html",,"138",1 ,"176TS Ancient Egyptian Religion ","../../courses/176TS.html",,"176",1 ]) MIL_addmenu(menu=["hollywood",,,140,1,,PHM_MIL_style1,,"left",PHM_MIL_effect,,,,,,,,,,,, ,"Film Projects","../../hollywood.html",,"Film Projects",1 ]) MIL_addmenu(menu=["contact",,,140,1,,PHM_MIL_style1,,"left",PHM_MIL_effect,,,,,,,,,,,, ,"Contact","../../contact.html",,"Add",1 ])