Hello,
Hoping someone can explain this. I want to open a new window for a contact_us link. I do not want the new page to have a toolbar and I want to control the dimensons. I believe the only way to do this is with javascript.
Here is my function
<!--
Function openWindow(url){
newWindow = window.open("url", "newWin", "toolbar=no","width=300,height=450")
}
-->
Here is the body section. The window is opening in the parent window. What am I doing wrong?
<td width="25%" cellspacing="5"><div align="center" >
<a href="contact_us.htm" onclick="openWindow(contact_us.htm)" onMouseOver="MM_swapImage('blue_four','','image/four.jpg',1)" onMouseOut="MM_swapImgRestore()">
<img src="image/square4.gif" name="blue_four" width="170" height="170" border="0" id="blue_four"></a></div></td>
</tr>
Hoping someone can explain this. I want to open a new window for a contact_us link. I do not want the new page to have a toolbar and I want to control the dimensons. I believe the only way to do this is with javascript.
Here is my function
<!--
Function openWindow(url){
newWindow = window.open("url", "newWin", "toolbar=no","width=300,height=450")
}
-->
Here is the body section. The window is opening in the parent window. What am I doing wrong?
<td width="25%" cellspacing="5"><div align="center" >
<a href="contact_us.htm" onclick="openWindow(contact_us.htm)" onMouseOver="MM_swapImage('blue_four','','image/four.jpg',1)" onMouseOut="MM_swapImgRestore()">
<img src="image/square4.gif" name="blue_four" width="170" height="170" border="0" id="blue_four"></a></div></td>
</tr>