Код:
<script language="JavaScript" type="text/javascript"> 
<!--
// original code by Bill Trefzger 12/12/96
function go1(){
if (document.selecter1.select1.options[document.selecter1.select1.selectedIndex].value != "none") {
location = document.selecter1.select1.options[document.selecter1.select1.selectedIndex].value
    }
	}
//-->
</script>
<script language="JavaScript" type="text/javascript"> 
<!--
document.write('<form name="selecter1"><select name="select1" size=1>');
document.write('<option value=none>Выберите нужный раздел');
document.write('<option value=none>--------------------');
document.write('<option value="graf.html">Графика');
document.write('<option value="stop.html">Безопасность в сети');
document.write('<option value="listjs.html">Java scripts');
document.write('<option value="goto.html">Полезные ссылки');
document.write('</select>');
document.write('<input type="button" value="Go" onclick="go1()">');
document.write('</form>');
// end hiding contents -->
</script>

Пример
Источник: makeweb.narod.ru