Начало
Навигация
Выпадающее меню (Popup)
Один кадр будет содержать в выпадающем меню и выбора будут открыты в других кадров!
Go to....
Yahoo
xxxxxx
xxxxxx
xxxxx
JavaScript Navigation: выпадающее меню (Popup)
<!-- TWO STEPS TO INSTALL PULLDOWN MENU (POPUP): 1. Copy the coding into the HEAD of your HTML document 2. Add the last code into the BODY of your HTML document --> <!-- STEP ONE: Paste this code into the HEAD of your HTML document --> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <! > <! > <!-- Begin function formHandler(form) { var windowprops = "height=500,width=500,location=no," + "scrollbars=no,menubars=no,toolbars=no,resizable=yes"; var URL = form.site.options[form.site.selectedIndex].value; popup = window.open(URL,"MenuPopup",windowprops); } // End --> </script> </HEAD> <!-- STEP TWO: Copy this code into the BODY of your HTML document --> <BODY> <center> <form name=form> <select name=site SIZE=1 onChange="formHandler(this.form)"> <option value="http://javascriptlist.narod.ro">Go to.... <option value="http://www.yahoo.com">Yahoo <option value="http://">xxxxxx <option value="http://">xxxxx <option value="http://">xxxxxxxx <option value="http://">xxxxxxxxxx <option value="http://">xxxxxxxxxxxxxx </select> </form> </center> <!-- Script Size: 1.32 KB -->