here is the problem...
The following code works locally but when I post it it just shows a screen shot of what it is over when it opens the url?
page is called like this.
Please help
E
The following code works locally but when I post it it just shows a screen shot of what it is over when it opens the url?
Code:
<script language="JavaScript">
function openWindow(theURL,winName,features, myWidth, myHeight, isCenter) {
if(window.screen)if(isCenter)if(isCenter=="true"){
var myLeft = (screen.width-myWidth)/2;
var myTop = (screen.height-myHeight)/2;
features+=(features!='')?',':'';
features+=',left='+myLeft+',top='+myTop;
}
window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);
}
</script>
page is called like this.
Code:
<td width="106" valign="top" align="center"><a href="javascript:;" onClick="openWindow(images/page1.html','','','442','298','true')"><img src="images/thumb/image1.jpg" width="100" height="67" border="0" alt="show me"></a></td>
Please help
E