// 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, 0, TransMenu.reference.bottomLeft); var menu1 = ms.addMenu(document.getElementById("products")); var menu2 = ms.addMenu(document.getElementById("projects")); var menu3 = ms.addMenu(document.getElementById("installation")); var menu4 = ms.addMenu(document.getElementById("professionals")); var menu5 = ms.addMenu(document.getElementById("about_us")); // 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(); }