// 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 (rsDropDown.isSupported()) { var ms = new rsDropDownSet(rsDropDown.direction.down, 0, 0, rsDropDown.reference.bottomLeft); var menu1 = ms.addMenu(document.getElementById("menu1")); var menu2 = ms.addMenu(document.getElementById("menu2")); menu2.addItem(" about me", "bio.html"); menu2.addItem(" recommendations", "testimony.html"); var menu3 = ms.addMenu(document.getElementById("menu3")); menu3.addItem(" acupuncture", "acupuncture.html"); menu3.addItem(" chinese herbal medicine", "herbalmedicine.html"); menu3.addItem(" craniosacral therapy", "cranio.html"); menu3.addItem(" heart centered therapy", "heart.html"); menu3.addItem(" lymph drainage therapy", "lymph.html"); var menu4 = ms.addMenu(document.getElementById("menu4")); menu4.addItem(" health care forms", "forms.html"); menu4.addItem(" directions", "directions.html"); var menu5 = ms.addMenu(document.getElementById("menu5")); var menu6 = ms.addMenu(document.getElementById("menu6")); //================================================================================================== // 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. //================================================================================================== rsDropDown.renderAll(); }