netaholic
08-25-2004, 10:19 PM
I'm so sorry that I've been posting basically the same thread over and over again, but I'm still having trouble getting a popup window from a link. What I did this time is i made a completely new document with nothing but the javascript for a popup widnow. Can sombody Please please please look over this code, and tell me what I did wrong/correct it?!?
THanks so much!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<script language="javascript" type="text/javascript">
//<!--
function trigonometry()
{ window.open ("http://www.geocities.com","trigonometry","width=400,height=400,location=0,menubar=0,resizabl e=0,scrollbars=0,status=0,titlebar=1,toolbar=0") }
-->
</script>
</head>
<body>
<a href="javascript:trigonometry()">Click here for popup window</a>
</body>
</html>
THanks so much!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<script language="javascript" type="text/javascript">
//<!--
function trigonometry()
{ window.open ("http://www.geocities.com","trigonometry","width=400,height=400,location=0,menubar=0,resizabl e=0,scrollbars=0,status=0,titlebar=1,toolbar=0") }
-->
</script>
</head>
<body>
<a href="javascript:trigonometry()">Click here for popup window</a>
</body>
</html>