Code ? Worked in IE6 but not IE7

V

Vince

Hello:

I hope I am ok posting here. I posted in the IE7 beta group but nobody
seemed to know the answer to this issue. It is about html code from front
page.

In IE6 I use a close window form action on my website. It works just fine
when I call for the new page from either my java menu or from an image on my
page. However in IE7 when I use the action if called from an image but not
from the java menu when you try to close the window that opens you get an
alert that the website is trying to close the open window do you want to do
it?

This is the code I am using. I would appreciate it much if someone could
tell me how Ie7 has changed that would make you answer the question about
closing the window.

<table border="0" cellpadding="0" cellspacing="0" width="488">
<tr>
<td align="center" width="18">&nbsp;</td>
<td align="center" width="452"><form action="post"
name="clos">
<p align="center"><b><input type="button"
name="btnClos" value="Close Window"
onclick="window.close();"></b></p>
</form>
</td>
<td width="18">&nbsp;</td>
</tr>
</table>

Thanks
Vince
 
V

Vince

Will give it a try.

Thanks
Tom [Pepper] Willett said:
see: http://blogs.msdn.com/lisawoll/archive/2004/09/17/231078.aspx
--
Tom [Pepper] Willett
Microsoft MVP - FrontPage
FrontPage Support: http://www.frontpagemvps.com/
----------
Vince said:
Hello:

I hope I am ok posting here. I posted in the IE7 beta group but nobody
seemed to know the answer to this issue. It is about html code from front
page.

In IE6 I use a close window form action on my website. It works just fine
when I call for the new page from either my java menu or from an image on
my
page. However in IE7 when I use the action if called from an image but not
from the java menu when you try to close the window that opens you get an
alert that the website is trying to close the open window do you want to
do
it?

This is the code I am using. I would appreciate it much if someone could
tell me how Ie7 has changed that would make you answer the question about
closing the window.

<table border="0" cellpadding="0" cellspacing="0" width="488">
<tr>
<td align="center" width="18">&nbsp;</td>
<td align="center" width="452"><form action="post"
name="clos">
<p align="center"><b><input type="button"
name="btnClos" value="Close Window"
onclick="window.close();"></b></p>
</form>
</td>
<td width="18">&nbsp;</td>
</tr>
</table>

Thanks
Vince
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top