/* ==================== JABATO WEBSITE SubMenu Generator ==================== */ // 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.right, 65, -20, TransMenu.reference.bottomLeft); //================================================================================================== // create a dropdown menu //================================================================================================== // the first parameter should be the HTML element which will act actuator for the menu //================================================================================================== var menu = ms.addMenu(document.getElementById("tmenu1")); menu.addItem("TIME ATTENDANCE", "#"); menu.addItem("ACCESS CONTROL", "#"); menu.addItem("ELECTRIC LOCK", "#"); menu.addItem("KEYLOCK/HOTEL LOCK", "#"); menu.addItem("PC-BASED READERS", "#"); menu.addItem("SOFTWARE & SDK", "#"); menu.addItem("ACCESSORIES & OTHERS", "#"); menu.addItem("CCTV PACKAGES", "cctv.php"); menu.addItem("GPS TRACKER", "gps.php"); var menu1 = menu.addMenu(menu.items[0]); menu1.addItem("Solution X105", "x105.php"); menu1.addItem("Solution X105-ID", "x105id.php"); menu1.addItem("Solution X100-C", "x100c.php"); menu1.addItem("Solution P207", "p207.php"); menu1.addItem("Solution P208", "p208.php"); menu1.addItem("Solution P300", "p300.php"); menu1.addItem("U.are.U 4500", "#"); var menu112 = menu1.addMenu(menu1.items[6]); menu112.addItem("+ Attendance Software", "u4500-att.php"); menu112.addItem("Hardware + SDK", "u4500.php"); var menu2 = menu.addMenu(menu.items[1]); menu2.addItem("Solution X105", "x105.php"); menu2.addItem("Solution X105-ID", "x105id.php"); menu2.addItem("Solution X107", "x107.php"); menu2.addItem("Solution X302-S", "x302s.php"); menu2.addItem("Solution X304", "x304.php"); menu2.addItem("Solution X305", "x305.php"); menu2.addItem("Solution X401", "x401.php"); menu2.addItem("Solution X601", "x601.php"); menu2.addItem("Solution X606-S", "x606s.php"); menu2.addItem("Solution X609", "x609.php"); menu2.addItem("Solution X802", "x802.php"); menu2.addItem("Solution X900", "x900.php"); menu2.addItem("Solution X901", "x901.php"); menu2.addItem("Solution X901-S", "x901s.php"); menu2.addItem("Solution X902", "x902.php"); menu2.addItem("Solution X903", "x903.php"); menu2.addItem("Solution X904", "x904.php"); menu2.addItem("Solution A101", "a101.php"); menu2.addItem("Solution A200", "a200.php"); menu2.addItem("Solution A300", "a300.php"); menu2.addItem("Solution C3", "c3.php"); menu2.addItem("Proximity MG300", "mg300.php"); var menu3 = menu.addMenu(menu.items[2]); menu3.addItem("Drop Bolt Series", "#"); menu3.addItem("Magnetic Lock Series", "#"); menu3.addItem("Door Strike Series", "#"); menu3.addItem("View All Locks", "lock.php"); var menu31 = menu3.addMenu(menu3.items[0]); menu31.addItem("DB-100", "db100.php"); menu31.addItem("DB-101", "db101.php"); menu31.addItem("BK-100", "bk100.php"); menu31.addItem("BK-200", "bk200.php"); var menu32 = menu3.addMenu(menu3.items[1]); menu32.addItem("EM-600", "em600.php"); menu32.addItem("BK-600", "bk600.php"); menu32.addItem("EM-1200", "em1200.php"); menu32.addItem("BK-1200", "bk1200.php"); var menu33 = menu3.addMenu(menu3.items[2]); menu33.addItem("DS-100", "ds100.php"); menu33.addItem("DS-101", "ds101.php"); menu33.addItem("DS-200", "ds200.php"); menu33.addItem("DS-201", "ds201.php"); var menu7 = menu.addMenu(menu.items[3]); menu7.addItem("Keylock L4000", "l4000.php"); menu7.addItem("Keylock L6000", "l6000.php"); menu7.addItem("Keylock GL300", "gl300.php"); menu7.addItem("Keylock GL200", "gl200.php"); menu7.addItem("Hotel Lock HL300", "hl300.php"); menu7.addItem("Energy Saving Switch", "energy-saving.php"); var menu6 = menu.addMenu(menu.items[4]); menu6.addItem("U.are.U 4500", "u4500.php"); menu6.addItem("Proximity USB-R4", "r4.php"); menu6.addItem("Solution U9500", "u9500.php"); menu6.addItem("Solution BS-500", "bs500.php"); var menu4 = menu.addMenu(menu.items[5]); menu4.addItem("Solution Attendance Management + Payroll", "att.php"); menu4.addItem("Solution Fingerprint SDK", "sdk.php"); menu4.addItem("Solution ADMS Server", "adms.php"); menu4.addItem("Solution WDMS Server", "wdms.php"); menu4.addItem("Solution Cloud Server", "cloud.php"); menu4.addItem("Solution TimeCloud", "time.php"); menu4.addItem("SMS Gateway For School Students", "sms-gateway.php"); menu4.addItem("Email Gateway For School Students", "email-gateway.php"); menu4.addItem("Solution PC Security + File Encryption", "pc-security.php"); var menu5 = menu.addMenu(menu.items[6]); menu5.addItem("Solution TD100", "td100.php"); menu5.addItem("No Touch Button", "push2.php"); menu5.addItem("Push Button (Stainless Steel)", "push.php"); menu5.addItem("Fingeprint + Proximity Addon Reader", "afr.php"); menu5.addItem("Proximity Addon Reader", "apr.php"); menu5.addItem("Proximity EM Card (Thickness)", "card1.php"); menu5.addItem("Proximity EM Card (Thinness)", "card2.php"); menu5.addItem("Mifare 1K Card", "mifare1k.php"); menu5.addItem("Mifare 4K Card", "mifare4k.php"); menu5.addItem("Remote RC4", "rc4.php"); //================================================================================================== //================================================================================================== // 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(); }