|
<SCRIPT>
var theURL = prompt("Please
enter an HTTP Site", "http://espn.go.com");
if (theURL) {
if (theURL.substring(0,7)
!= "http://") theURL = "http://" + theURL ;
document.write("<A
HREF=" + theURL + ">This
is the URL link</A>");
}
else document.write("<CENTER><B>You
Canceled the Input</B></CENTER>");
</SCRIPT> |