ecnarongi
02-05-2003, 11:22 PM
Here is my code
<html>
<head>
<script>
function wind(which)
{
window.open(which)
}
function runme()
{
document.write('<a href="#" onclick="wind(http://www.yahoo.com)">yahoo.com</a>')
}
</script>
</head>
<body onload="runme()">
</body>
</html>
I want to simply click on yahoo and get a pop-up window with yahoo.com in the browser. Thank you, all help is appreciated.
<html>
<head>
<script>
function wind(which)
{
window.open(which)
}
function runme()
{
document.write('<a href="#" onclick="wind(http://www.yahoo.com)">yahoo.com</a>')
}
</script>
</head>
<body onload="runme()">
</body>
</html>
I want to simply click on yahoo and get a pop-up window with yahoo.com in the browser. Thank you, all help is appreciated.