views:

21

answers:

0

When I click on the link for myPic.jpg, it loads a separate window instead of an overlay, which is not what I want.

Here's the code from my test page, including what I think is verbatim repetition of Floatbox's instructions. Can anyone tell me what I'm doing wrong? I've had similar problems with other overlay coding (Lightbox clones) as well, so I suspect it's a problem that extends beyond floatbox.

Thanks in advance for any suggestions.

Here's the code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"     
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
<html xmlns="http://www.w3.org/1999/xhtml"&gt;
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="file:///C|/Writing/Web Projects/NewstoriesRevision/oneColLiqCtrHdr.css"      
rel="stylesheet" type="text/css" />
<style type="text/css">
<!--

#MenuHolder {
position:absolute;
left:692px;
top:50px;
width:228px;
height:23px;
z-index:1;
}
-->
</style>
</head>

<body class="oneColLiqCtrHdr">
<div id="container">
<div id="header">
<link type="text/css" rel="stylesheet" href="/floatbox/floatbox.css" />
<script type="text/javascript" src="/floatbox/floatbox.js"></script>
<script type="text/javascript" src="/floatbox/options.js"></script>
<!-- end #header --></div>
<div id="mainContent">
<p align="center"><a href="myPic.jpg" class="floatbox">click me</a></p>
<p align="center">&nbsp;</p>
<h4 align="center">&nbsp;</h4>
<h6 align="center">&nbsp;</h6>
</div>
<div id="footer">
<!-- end #footer --></div>
<!-- end #container --></div>
</body>
</html>