/* Modified to pull menu items from the database (managed via WSA/WDS Dash tool see menu_array.js for a reference Mike Warner */ /* Milonic DHTML Website Navigation Menu - Version 3.x Written by Andy Woolley - Copyright 2002 (c) Milonic Solutions Limited. All Rights Reserved. Please visit http://www.milonic.co.uk/menu or e-mail menu3@milonic.com for more information. The Free use of this menu is only available to Non-Profit, Educational & Personal web sites. Commercial and Corporate licenses are available for use on all other web sites & Intranets. All Copyright notices MUST remain in place at ALL times and, please keep us informed of your intentions to use the menu and send us your URL. */ //The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="";for(a=1;a";_d.write(mt)} //Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack. //////////////////////////////////// // Editable properties START here // //////////////////////////////////// timegap=500 // The time delay for menus to remain visible followspeed=5 // Follow Scrolling speed followrate=40 // Follow Scrolling Rate suboffset_top=10 // Sub menu offset Top position suboffset_left=10 // Sub menu offset Left position about_hio_style=[ // EasySampleStyle is an array of properties. You can have as many property arrays as you need "000000", // Mouse Off Font Color "FFFFCC", // Mouse Off Background Color (use zero for transparent in Netscape 6) "FFFFCC", // Mouse On Font Color "993300", // Mouse On Background Color "993300", // Menu Border Color "12", // Font Size (default is px but you can specify mm, pt or a percentage) "normal", // Font Style (italic or normal) "normal", // Font Weight (bold or normal) "Arial", // Font Name 2, // Menu Item Padding or spacing , // Sub Menu Image (Leave this blank if not needed) , // 3D Border & Separator bar , // 3D High Color , // 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 ] students_scholars_style=[ // EasySampleStyle is an array of properties. You can have as many property arrays as you need "000000", // Mouse Off Font Color "FFFFCC", // Mouse Off Background Color (use zero for transparent in Netscape 6) "FFFFCC", // Mouse On Font Color "993300", // Mouse On Background Color "993300", // Menu Border Color "12", // Font Size (default is px but you can specify mm, pt or a percentage) "normal", // Font Style (italic or normal) "normal", // Font Weight (bold or normal) "Arial", // Font Name 2, // Menu Item Padding or spacing , // Sub Menu Image (Leave this blank if not needed) , // 3D Border & Separator bar , // 3D High Color , // 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 ] administrators_style=[ // EasySampleStyle is an array of properties. You can have as many property arrays as you need "000000", // Mouse Off Font Color "FFFFCC", // Mouse Off Background Color (use zero for transparent in Netscape 6) "FFFFCC", // Mouse On Font Color "993300", // Mouse On Background Color "993300", // Menu Border Color "12", // Font Size (default is px but you can specify mm, pt or a percentage) "normal", // Font Style (italic or normal) "normal", // Font Weight (bold or normal) "Arial", // Font Name 2, // Menu Item Padding or spacing , // Sub Menu Image (Leave this blank if not needed) , // 3D Border & Separator bar , // 3D High Color , // 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 ] addmenu(menu=[ "about_hio", // Menu Name - This is needed in order for this menu to be called 75, // Menu Top - The Top position of this menu in pixels 195, // Menu Left - The Left position of this menu in pixels 185, // Menu Width - Menus width in pixels 2, // Menu Border Width , // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle" about_hio_style, // Properties Array - this array is declared higher up as you can see above 0, // Always Visible - allows this menu item to be visible at all time (1=on or 0=off) , // Alignment - sets this menu elements text alignment, values valid here are: left, right or center "Fade(duration=0.5)", // Filter - Text variable for setting transitional effects on menu activation - see above for more info 0, // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified. 0, // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off) 0, // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off) , // Position of TOP sub image left:center:right , // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount 0, // Right To Left - Used in Hebrew for example. (1=on or 0=off) 0, // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off) , // ID of the div you want to hide on MouseOver (useful for hiding form elements) , // Background image for menu Color must be set to transparent for this to work 0, // Scrollable Menu , // Miscellaneous Menu Properties ,"  About the HIO","/about_hio/about_hio.php",,, ,"  Find Your Advisor","/about_hio/advisors.php",,, ,"  HIO FORMS","/students_scholars/hio_forms.php",,, ,"  HIO Staff","/about_hio/hio_staff.php",,, ,"  History of HIO","/about_hio/history.php",,, ,"  Location and Hours","/about_hio/hours.php",,, ,"  Statistics","/about_hio/statistics.php",,, ,"  Virtual Tour of Harvard","http://www.news.harvard.edu/tour/guide.html",,, ]) addmenu(menu=[ "students_scholars", // Menu Name - This is needed in order for this menu to be called 75, // Menu Top - The Top position of this menu in pixels 365, // Menu Left - The Left position of this menu in pixels 225, // Menu Width - Menus width in pixels 2, // Menu Border Width , // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle" students_scholars_style, // Properties Array - this array is declared higher up as you can see above 0, // Always Visible - allows this menu item to be visible at all time (1=on or 0=off) , // Alignment - sets this menu elements text alignment, values valid here are: left, right or center "Fade(duration=0.5)", // Filter - Text variable for setting transitional effects on menu activation - see above for more info 0, // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified. 0, // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off) 0, // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off) , // Position of TOP sub image left:center:right , // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount 0, // Right To Left - Used in Hebrew for example. (1=on or 0=off) 0, // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off) , // ID of the div you want to hide on MouseOver (useful for hiding form elements) , // Background image for menu Color must be set to transparent for this to work 0, // Scrollable Menu , // Miscellaneous Menu Properties ,"  Academic Life","/students_scholars/academic_life.php",,, ,"  Adjusting to a New Culture","/students_scholars/adjust_to_new_culture.php",,, ,"  Admissions","/students_scholars/admissions.php",,, ,"  Change of Address","/students_scholars/address_change.php",,, ,"  Health Care and Insurance","/students_scholars/health_care_insurance.php",,, ,"  Housing","/students_scholars/housing/",,, ,"  Living in the Community","/students_scholars/living_in_community.php",,, ,"  On-Line Appointment System (OLAS)","/students_scholars/web_appointment.php",,, ,"  Orientation","/about_hio/orientation_schedule.php",,, ,"  Partners and Families","/students_scholars/partners_families/",,, ,"  Pre-Arrival Information","/students_scholars/welcome_to_harvard.pdf",,, ,"  Social Security Numbers","/students_scholars/ssn.php",,, ,"  Taxes","/students_scholars/taxes.php",,, ,"  Using Harvard Resources","/students_scholars/using_harvard_facilities.php",,, ]) addmenu(menu=[ "immigration", // Menu Name - This is needed in order for this menu to be called 75, // Menu Top - The Top position of this menu in pixels 575, // Menu Left - The Left position of this menu in pixels 185, // Menu Width - Menus width in pixels 2, // Menu Border Width , // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle" administrators_style, // Properties Array - this array is declared higher up as you can see above 0, // Always Visible - allows this menu item to be visible at all time (1=on or 0=off) , // Alignment - sets this menu elements text alignment, values valid here are: left, right or center "Fade(duration=0.5)", // Filter - Text variable for setting transitional effects on menu activation - see above for more info 0, // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified. 0, // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off) 0, // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off) , // Position of TOP sub image left:center:right , // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount 0, // Right To Left - Used in Hebrew for example. (1=on or 0=off) 0, // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off) , // ID of the div you want to hide on MouseOver (useful for hiding form elements) , // Background image for menu Color must be set to transparent for this to work 0, // Scrollable Menu , // Miscellaneous Menu Properties ,"  B/Visa Waiver Status","/students_scholars/visas_immigration/b_visa_waiver_status.php",,, ,"  Choosing Your Student Visa","/students_scholars/travel/choosing_your_visa.php",,, ,"  F Visa Status","/students_scholars/visas_immigration/f_visa_status.php",,, ,"  F-1 I-20 Extension","/students_scholars/student_employment/f1_i20_ext.php",,, ,"  F-1 Student Employment","/students_scholars/student_employment/f1_emp.php",,, ,"  H-1B Visa Status","/students_scholars/visas_immigration/h_visa_status.php",,, ,"  J Visa Status","/students_scholars/visas_immigration/j_visa_home.php",,, ,"  J-1 Student Employment","/students_scholars/student_employment/j1_emp.php",,, ,"  J-1 Student Extension","/students_scholars/visas_immigration/j1_student_extention.php",,, ,"  J-2 Work Permission","/students_scholars/visas_immigration/j_work_permission.php",,, ,"  O Visa Status","/students_scholars/visas_immigration/o_visa_status.php",,, ,"  Permanent Residence","/students_scholars/permanent_residence.php",,, ,"  SEVIS","/students_scholars/sevis.php",,, ,"  TN Visa Status","/students_scholars/visas_immigration/tn_visa_status.php",,, ,"  Travel","/students_scholars/travel/",,, ]) //addmenu(menu=[ //"administrators", // Menu Name - This is needed in order for this menu to be called //71, // Menu Top - The Top position of this menu in pixels //598, // Menu Left - The Left position of this menu in pixels //162, // 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" //administrators_style, // Properties Array - this array is declared higher up as you can see above //0, // Always Visible - allows this menu item to be visible at all time (1=on or 0=off) //, // Alignment - sets this menu elements text alignment, values valid here are: left, right or center //"Fade(duration=0.5)", // Filter - Text variable for setting transitional effects on menu activation - see above for more info //0, // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified. //0, // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off) //0, // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off) //, // Position of TOP sub image left:center:right //, // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount //0, // Right To Left - Used in Hebrew for example. (1=on or 0=off) //0, // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off) //, // ID of the div you want to hide on MouseOver (useful for hiding form elements) //, // Background image for menu Color must be set to transparent for this to work //0, // Scrollable Menu //, // Miscellaneous Menu Properties //,"  New Scholar Reporting Requirments","/administrators/reporting_requirments.php",,, //,"  How To Begin Visa Sponsorship At Harvard","/administrators/hio_forms/",,, //,"  Preliminary Data Sheet 1","/administrators/hio_forms/pds1.pdf",,, //,"  Administrators' Documents","/administrators/hio_docs.php",,, //]) dumpmenus()