Начало
Навигация
Выпадающее меню
Я настоятельно рекомендую использовать чрезвычайно популярны и чрезвычайно полезное меню.
Go to....
segaobzor.narod.ru
javascriptlist.narod.ru
link
link
link
"But how do I add it to all the pages of my site easily with a .js file?"
JavaScript Navigation: выпадающее меню
<!-- TWO STEPS TO INSTALL PULLDOWN MENU: 1. Paste the coding into the HEAD of your HTML document 2. Add the last code into the BODY of your HTML document --> <!-- STEP ONE: Copy this code into the HEAD of your HTML document --> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <! > <! > <!-- Begin function formHandler(form){ var URL = document.form.site.options[document.form.site.selectedIndex].value; window.location.href = URL; } // End --> </SCRIPT> </HEAD> <!-- STEP TWO: Paste this code into the BODY of your HTML document --> <BODY> <center> <form name="form"> <select name="site" size=1> <option value="">Go to.... <option value="http://www.">link <option value="http://www.">linkr <option value="http://www.">link <option value="http://www.">link <option value="http://www.">Lycos <option value="http://">link </select> <input type=button value="Go!" onClick="javascript:formHandler(this)"> </form> </center> <!-- Script Size: 1.20 KB -->