// set up drop downs anywhere in the body of the page. I think the bottom of the page is better..
// but you can experiment with effect on loadtime.
if (TransMenu.isSupported()) {
//==================================================================================================
// create a set of dropdowns
//==================================================================================================
// the first param should always be down, as it is here
//
// The second and third param are the top and left offset positions of the menus from their actuators
// respectively. To make a menu appear a little to the left and bottom of an actuator, you could use
// something like -5, 5
//
// The last parameter can be .topLeft, .bottomLeft, .topRight, or .bottomRight to inidicate the corner
// of the actuator from which to measure the offset positions above. Here we are saying we want the
// menu to appear directly below the bottom left corner of the actuator
//==================================================================================================
var ms = new TransMenuSet(TransMenu.direction.down, 1, 0, TransMenu.reference.bottomLeft);
//==================================================================================================
// create a dropdown menu
//==================================================================================================
// the first parameter should be the HTML element which will act actuator for the menu
//==================================================================================================
var menu2 = ms.addMenu(document.getElementById("topMenuElement2"));
menu2.addItem("Overview", "/about/index.aspx");
menu2.addItem("Organization", "");
var submenu10 = menu2.addMenu(menu2.items[1]);
submenu10.addItem("Officers & Directors", "/about/organization/officersdirectors.aspx");
submenu10.addItem("Member Board", "/about/organization/memberboard.aspx");
submenu10.addItem("Communications Committee", "/about/organization/comm2.aspx");
submenu10.addItem("Corporate Advisory Board", "/about/organization/cab.cfm");
submenu10.addItem("Technical Infrastructure", "/about/organization/ti.aspx");
submenu10.addItem("Central Office", "/about/organization/centraloffice.aspx");
submenu10.addItem("Chapters", "/about/organization/chapters.aspx");
menu2.addItem("Leadership Directory", "/about/leadershipdirectory.aspx");
menu2.addItem("Hall of Leaders", "");
var submenu18 = menu2.addMenu(menu2.items[3]);
submenu18.addItem("Welcome", "/about/hall/welcome.aspx");
submenu18.addItem("Past Presidents", "/about/hall/pastpresidents.aspx");
submenu18.addItem("Pioneers", "/about/hall/pioneers.aspx");
submenu18.addItem("Fellows", "/about/hall/fellows.aspx");
submenu18.addItem("Founders", "/about/hall/founders.aspx");
submenu18.addItem("Outstanding Service Award", "/about/hall/service.aspx");
submenu18.addItem("Award Criteria", "/about/hall/criteria.aspx");
menu2.addItem("Code of Ethics", "/about/ethics.aspx");
menu2.addItem("INCOSE Foundation", "/about/foundation/index.aspx");
menu2.addItem("Annual Operating Plan", "/about/aop.aspx");
menu2.addItem("Long Range Plan", "/about/lrp.aspx");
menu2.addItem("Policies & Bylaws", "/about/policies.aspx");
var menu3 = ms.addMenu(document.getElementById("topMenuElement3"));
menu3.addItem("Membership Benefits", "/membership/benefits.aspx");
menu3.addItem("Value of Membership", "/membership/valueofmembership.aspx");
menu3.addItem("Membership Types", "/membership/membershiptypes.aspx");
menu3.addItem("Join INCOSE", "/cc_orders/joinINCOSE.cfm");
menu3.addItem("Renew Membership", "/membership/renew.aspx");
menu3.addItem("Update Member Info", "/membership/updateinfo.aspx");
menu3.addItem("Member Login", "/membersonly.html");
var menu4 = ms.addMenu(document.getElementById("topMenuElement4"));
menu4.addItem("Geographic Structure", "/chapters/geographic.aspx");
menu4.addItem("Find a Chapter", "/chapters/findachapter.cfm");
menu4.addItem("Chapter Websites", "/chapters/websites.aspx");
menu4.addItem("Establishing a Student Division", "/chapters/studentdivisions.aspx");
menu4.addItem("Starting a Chapter", "/chapters/starting.aspx");
menu4.addItem("Chapter Awards", "");
var submenu42 = menu4.addMenu(menu4.items[5]);
submenu42.addItem("Current Year Winners", "/chapters/awards/currentwinners.aspx");
submenu42.addItem("Criteria for Chapter
Awards Program", "/chapters/awards/criteria.aspx");
menu4.addItem("Chapter Resources", "/chapters/chapterResources.aspx");
var menu5 = ms.addMenu(document.getElementById("topMenuElement5"));
menu5.addItem("Newsroom", "/newsevents/news/index.aspx");
menu5.addItem("INCOSE eNote", "/newsevents/enote/index.aspx");
menu5.addItem("Event Calendar", "/newsevents/events/index.aspx");
menu5.addItem("Annual Schedule and Important Dates", "/newsevents/schedule.aspx");
menu5.addItem("Submitting News/Events", "/newsevents/submitting.aspx");
menu5.addItem("SE in the News", "/mediarelations/InTheNews.aspx");
var menu6 = ms.addMenu(document.getElementById("topMenuElement6"));
menu6.addItem("INCOSE Products", "");
var submenu57 = menu6.addMenu(menu6.items[0]);
submenu57.addItem("Overview", "/ProductsPubs/products/index.aspx");
submenu57.addItem("SE Handbook", "/ProductsPubs/products/sehandbook.aspx");
submenu57.addItem("Measurement Primer", "/ProductsPubs/products/measurementprimer.aspx");
submenu57.addItem("Metrics Guidebook", "/ProductsPubs/products/metricsguidebook.aspx");
submenu57.addItem("Technical Measurement Guide", "/ProductsPubs/products/techmeasurementguide.aspx");
submenu57.addItem("Tools Database", "/ProductsPubs/products/toolsdatabase.aspx");
submenu57.addItem("SE Primer", "/ProductsPubs/products/seprimer.aspx");
submenu57.addItem("Conops of SE
Education Community", "/ProductsPubs/products/conops.aspx");
submenu57.addItem("SECAM", "/ProductsPubs/products/secam.aspx");
submenu57.addItem("SE Leading Indicators Guide", "/ProductsPubs/products/seleadingIndicators.aspx");
menu6.addItem("Technical Resource Center", "/ProductsPubs/techresourcecenter.aspx");
menu6.addItem("Periodicals", "");
var submenu59 = menu6.addMenu(menu6.items[2]);
submenu59.addItem("Journal of Systems Engineering", "/ProductsPubs/periodicals/journalofsystems.aspx");
submenu59.addItem("INSIGHT", "/ProductsPubs/periodicals/insight.aspx");
submenu59.addItem("Editorial Guidelines", "/ProductsPubs/periodicals/editorialguidelines.aspx");
submenu59.addItem("Advertising Information", "/ProductsPubs/periodicals/advertisinginformation.aspx");
submenu59.addItem("Republishing Policy", "/ProductsPubs/periodicals/republishingpolicy.aspx");
submenu59.addItem("Copyright Assignment", "/ProductsPubs/periodicals/copyrightassignment.aspx");
menu6.addItem("Symposia", "");
var submenu60 = menu6.addMenu(menu6.items[3]);
submenu60.addItem("i-Pub Publications Database", "/ProductsPubs/symposia/ipub.aspx");
submenu60.addItem("Proceedings Library", "/ProductsPubs/symposia/proceedingslibrary.aspx");
submenu60.addItem("Symposia History", "/ProductsPubs/symposia/symposiahistory.aspx");
submenu60.addItem("Paper Guidelines", "/ProductsPubs/symposia/paperguidelines.aspx");
submenu60.addItem("Copyright Assignment", "/ProductsPubs/symposia/copyrightassignment.aspx");
menu6.addItem("Community Resources", "/ProductsPubs/communityresources.aspx");
menu6.addItem("INCOSE Store", "/ProductsPubs/incosestore.aspx");
var menu7 = ms.addMenu(document.getElementById("topMenuElement7"));
menu7.addItem("Certification", "/educationcareers/certification/index.aspx");
menu7.addItem("Short Courses", "/educationcareers/shortcourses.aspx");
menu7.addItem("Job Bank", "http://jobsconnection.incose.org");
menu7.addItem("Careers in SE", "/educationcareers/careersinsystemseng.aspx");
menu7.addItem("FAQs for Students", "/educationcareers/faqsforstudents.aspx");
menu7.addItem("Policy on SE Education", "/educationcareers/educationpolicy.aspx");
menu7.addItem("Directory of SE
Academic Programs", "/educationcareers/academicprogramdirectory.aspx");
var menu8 = ms.addMenu(document.getElementById("topMenuElement8"));
menu8.addItem("What is Systems
Engineering", "/practice/whatissystemseng.aspx");
menu8.addItem("Guide to SE Body
of Knowledge", "/practice/guidetosebodyofknow.aspx");
menu8.addItem("Strategic Initiatives", "/practice/strategicinitiatives.aspx");
menu8.addItem("Technical Products & Working Groups", "/practice/techactivities/");
menu8.addItem("Standards Update", "/practice/standardsupdate.aspx");
menu8.addItem("Research", "");
var submenu92 = menu8.addMenu(menu8.items[5]);
submenu92.addItem("Policy on SE Research", "/practice/research/researchpolicy.aspx");
submenu92.addItem("SE & Architecting
Network (SEANET)", "/practice/research/seanet.aspx");
submenu92.addItem("SE Center of
Excellence (SECOE)", "/practice/research/researchsecoe.aspx");
menu8.addItem("Doctoral Award", "/practice/doctoralaward.aspx");
menu8.addItem("Partnerships", "/practice/partnerships.aspx");
//==================================================================================================
// write drop downs into page
//==================================================================================================
// this method writes all the HTML for the menus into the page with document.write(). It must be
// called within the body of the HTML page.
//==================================================================================================
TransMenu.renderAll();
}
function menuInit() {
//==========================================================================================
// if supported, initialize TransMenus
//==========================================================================================
// Check isSupported() so that menus aren't accidentally sent to non-supporting browsers.
// This is better than server-side checking because it will also catch browsers which would
// normally support the menus but have javascript disabled.
//
// If supported, call initialize() and then hook whatever image rollover code you need to do
// to the .onactivate and .ondeactivate events for each menu.
//==========================================================================================
if (TransMenu.isSupported()) {
TransMenu.initialize();
// hook all the highlight swapping of the main toolbar to menu activation/deactivation
// instead of simple rollover to get the effect where the button stays highlit until
// the menu is closed.
document.getElementById("topMenuElement216").onmouseover = function() {
window.status ="/";
ms.hideCurrent();
this.className = "hover";
}
document.getElementById("topMenuElement216").onmouseout = function() {
window.status ="";
this.className = "";
}
menu2.onactivate = function() { document.getElementById("topMenuElement2").className = "hover"; };
menu2.ondeactivate = function() { document.getElementById("topMenuElement2").className = ""; };
menu3.onactivate = function() { document.getElementById("topMenuElement3").className = "hover"; };
menu3.ondeactivate = function() { document.getElementById("topMenuElement3").className = ""; };
menu4.onactivate = function() { document.getElementById("topMenuElement4").className = "hover"; };
menu4.ondeactivate = function() { document.getElementById("topMenuElement4").className = ""; };
menu5.onactivate = function() { document.getElementById("topMenuElement5").className = "hover"; };
menu5.ondeactivate = function() { document.getElementById("topMenuElement5").className = ""; };
menu6.onactivate = function() { document.getElementById("topMenuElement6").className = "hover"; };
menu6.ondeactivate = function() { document.getElementById("topMenuElement6").className = ""; };
menu7.onactivate = function() { document.getElementById("topMenuElement7").className = "hover"; };
menu7.ondeactivate = function() { document.getElementById("topMenuElement7").className = ""; };
menu8.onactivate = function() { document.getElementById("topMenuElement8").className = "hover"; };
menu8.ondeactivate = function() { document.getElementById("topMenuElement8").className = ""; };
}
}