Can't get page to open in new window! Help Please
I have been going over this code for hours now and can't figure out what the problem is. Below is the problem areas. I cut out the code that does not apply. Any ideas?
Code:
<!DOCTYPE HTML>
<html>
<head>
<title>DRG Cycles Home Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="text.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
/* <![CDATA[ */
window.defaultStatus = "Welcome to DRG Cycles!";
var bikeWindow;
function showBike(linkTarget) {
bikeWindow = window.open(linkTarget, "bikeInfo", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width=620,height=575");
}
/* ]]> */
</script>
</head>
<body>
<a href="cannondale.html" onclick="showBike(); return false;">
<img src="images/cannondale.gif" style="border: 0px" width="80" alt="Image of a Cannondale bicycle" /></a>
</td>
<td>
<a href="cannondale.html" onclick="showBike(); return false;"><span class="style7">Cannondale Moto Carbon 1</span>
<br />
<strong><span class="style8">Price: $ <del>4,760</del> /</span> <span class="style9">
$ 4,125</span></strong> </a>
</body>
</html>