if (TransMenu.isSupported()) { var ms = new TransMenuSet(TransMenu.direction.down, 0, 0, TransMenu.reference.bottomLeft); //================================================================================================== //================================================================================================== var menu1 = ms.addMenu(document.getElementById("company_info")); menu1.addItem("About Cempaka", "default.php?sub=about"); menu1.addItem("Customer Care", "default.php?sub=customer_care"); //================================================================================================== //================================================================================================== var menu2 = ms.addMenu(document.getElementById("produk")); menu2.addItem("Skin Care", "product.php?sub=skincare"); menu2.addItem("Make up Base", "product.php?sub=makeupbase"); menu2.addItem("Decorative", "product.php?sub=decorative"); //================================================================================================== //================================================================================================== var menu4 = ms.addMenu(document.getElementById("lokasi")); menu4.addItem("Strawberry Fever", "caring_strawberry.php"); menu4.addItem("Tiramisu Sensation", "caring_tiramisu.php"); menu4.addItem("Blueberry Fuss", "caring_blueberry.php"); //================================================================================================== //================================================================================================== TransMenu.renderAll(); }