VYBER Z PULL-DOWN

ID
Nazov / Name:
Popis / Description:
Dlzka / Length:
Testovane pod / Tested under:

 

079
p079.html / p079.zip
Odskocenie na stranku vybratu z pull-down menu.
757b
NN 4.04, IE 4.0

UKAZKA / CLICK HERE

Zdrojovy tvar / Source code:

<html> <head> <title> JavaScript DESTINATION - P079 </title> <script language="JavaScript"> <!-- function navigator(imaform) { durl=(document.imaform.imalist.options[document.imaform.imalist.selectedIndex].value); durlconfirm="Si si isty, ze chces ist na "+durl+"?"; if (confirm(durlconfirm)) { location.href=durl; } } // --> </script> </head> <body> <FORM NAME="imaform"> <SELECT NAME="imalist"> <OPTION VALUE="">Vyber si volbu <OPTION VALUE="http://www.javascript.sk/">JavaScript DESTINATION <OPTION VALUE="http://www.pavucina.sk/">Casopis Pavucina <OPTION VALUE="http://www.superzoznam.sk/">Superzoznam </SELECT> <INPUT TYPE="button" NAME="button" Value="Klikni!" onClick="navigator(this.form)"> </FORM> </body> </html>
[ Navrat / BACK ]