akinak
Mar 20th 2008, 12:14 pm
Hey, Im a newbie with javascript. Iam trying to create a pop-up window linking from my current page. My problem is that instead of a pop-up window,it opens a full screen window.Here is the code. Plz help
<head><script language="javascript" type="text/javascript"> </script></head>
<body>
<table border ="0" width="100%">
<tr><th>Course ID</th>
<th> Course Name</th>
<th>Units</th>
</tr>
<tr>
<td align="center"><a href="BUS101.html" onClick="JavaScript:window.open ('BUS101.html',height='300',width='400');return false;">BUS 101</a></td><td>Business Foundations and Analysis</td><td align="center">4.5</td></tr>
</table>
</body>
<head><script language="javascript" type="text/javascript"> </script></head>
<body>
<table border ="0" width="100%">
<tr><th>Course ID</th>
<th> Course Name</th>
<th>Units</th>
</tr>
<tr>
<td align="center"><a href="BUS101.html" onClick="JavaScript:window.open ('BUS101.html',height='300',width='400');return false;">BUS 101</a></td><td>Business Foundations and Analysis</td><td align="center">4.5</td></tr>
</table>
</body>