Rozwijana lista z linkami

<script language="JavaScript">
< !--
// origjnal code by Bill Trefzger 12/12/96
function go(){
if (document.selecter.select1.options[document.selecter.select1.selectedIndex].value != "none") {
location = document.selecter.select1.options[document.selecter.select1.selectedIndex].value
 }                       
}
//-->
< /script>

< script language="JavaScript">
< !--
document.write('<form name="selecter"><select name="select1" size=1>');
document.write('<option value=none>Wybierz adres :..');
document.write('<option value=none>--------------------');
document.write('<option value="http://www.dowolna strona">Opis linka 1');
document.write('<option value="http://www.dowolna strona">Opis linka  2');
document.write('<option value="http://www.dowolna strona">Opis linka  3');
document.write('<option value="http://www.dowolna strona">Opis linka  4');
document.write('<option value="http://www.dowolna strona">Opis linka  5');
document.write('</select>');
document.write('<INPUT TYPE="button" VALUE="Wejdź" onclick="go()">');
document.write('</form>');
//-->
< /script>

 

Projekt © 2009 - INFOPROG 67920 odwiedzin