posted 23 years ago
Thnx Bill!!
I solved the problem like this:
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!--
function mysite_popup(theURL,theWidth,theHight)
{
//alert("the url is " + theURL);
if (theWidth == null | | theWidth == 0)
{
theWidth = 780;
}
if (theHight == null | | theHight == 0)
{
theHight = 400;
}
myWindow=window.open( theURL,"_blank","toolbar=no,scrollbars=no,location=no,directories=no,resizable=no,width="+ theWidth +",height="+ theHight +",screenX=0,screenY=0");
}
//-->
</SCRIPT>
<SCRIPT LANGUAGE="Javascript">
<!--
if (top.location != self.location)
{
top.location = self.location.href
}
//-->
</SCRIPT>
</HEAD>
<BODY>
<A HREF="javascript:mysite_popup('http://www.mysite.com/start.htm', 775, 500)"><IMG SRC="./img/enter3.gif" NAME="img2" BORDER="0" WIDTH="149" HEIGHT="74"></A>
</BODY>