// 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()) { var ms = new TransMenuSet(TransMenu.direction.down, 0, 37, TransMenu.reference.topLeft); var menu1 = ms.addMenu(document.getElementById("a-menu")); menu1.addItem("Mission Statement", "/mission-statement.htm"); menu1.addItem("Curriculum", "/curriculum.htm"); //menu1.addItem("Staff Information", "/staff-information.htm"); menu1.addItem("Facilities", "/facilities.htm"); menu1.addItem("Information for Parents", "/information-for-parents.htm"); menu1.addItem("News", "/news.htm"); menu1.addItem("Events", "/events.htm"); menu1.addItem("Policies", "/policies.htm"); //menu1.addItem("School Documents", "/school-documents.htm"); //menu1.addItem("Enterprise", "/enterprise.htm"); var submenu2 = menu1.addMenu(menu1.items[3]); submenu2.addItem("After Cyril Jackson's", "/after-cyril-jacksons.htm"); var submenu6 = menu1.addMenu(menu1.items[6]); submenu6.addItem("Behaviour Management", "/behaviour-management.htm"); submenu6.addItem("Duty of Care", "/duty-of-care.htm"); submenu6.addItem("Communication with Parents", "/communication-with-parents.htm"); var menu2 = ms.addMenu(document.getElementById("b-menu")); menu2.addItem('B1', '/projects.htm?id=1');menu2.addItem('B2', '/projects.htm?id=2');menu2.addItem('B3', '/projects.htm?id=3');menu2.addItem('WorkPlace Learning', '/projects.htm?id=8'); /*menu2.addItem("B1", "/projects.htm?id=b1"); menu2.addItem("B2", "/projects.htm?id=b2"); menu2.addItem("B3", "/projects.htm?id=b3"); menu2.addItem("B4", "/projects.htm?id=b4");*/ menu2.addItem("Student Employee of the Month", "/student-employee-of-the-month.htm"); var submenu0 = menu1.addMenu(menu1.items[1]); submenu0.addItem("Career Education", "/career-education.htm"); submenu0.addItem("Independent Living", "/independent-living.htm"); submenu0.addItem("Leisure and Recreation", "/leisure-and-recreation.htm"); submenu0.addItem("Options", "/options.htm"); //submenu0.addItem("ITP's", "/itps.htm"); submenu0.addItem("Special Programs", "/special-programs.htm"); /*var submenu1 = menu1.addMenu(menu1.items[2]); submenu1.addItem("Testimonials", "/testimonials.htm"); submenu1.addItem("Alumni", "/alumni.htm");*/ TransMenu.renderAll(); }