%PDF- %PDF-
Direktori : /data/down/eBOOKS/JavaScripty/ |
Current File : //data/down/eBOOKS//JavaScripty/pulldown.html |
<html> <head> <title> </title> <script language="JavaScript"> <!-- function navigator(imaform) { durl=(document.imaform.imalist.options[document.imaform.imalist.selectedIndex].value); durlconfirm="Are you sure, you wanna see "+durl+"?"; if (confirm(durlconfirm)) { location.href=durl; } } // --> </script> </head> <body> <FORM NAME="imaform"> <SELECT NAME="imalist"> <OPTION VALUE="">Select a site <OPTION VALUE="http://www.javascript.sk/">JavaScript DESTINATION <OPTION VALUE="http://www.mobil.sk/">www.mobil.sk <OPTION VALUE="http://www.cool.sk/">Cool.sk </SELECT> <INPUT TYPE="button" NAME="button" Value="Go!" onClick="navigator(this.form)"> </FORM> </body> </html>