PC Review


Reply
Thread Tools Rate Thread

Code ? Worked in IE6 but not IE7

 
 
Vince
Guest
Posts: n/a
 
      1st Apr 2006
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



 
Reply With Quote
 
 
 
 
Tom [Pepper] Willett
Guest
Posts: n/a
 
      1st Apr 2006
see: http://blogs.msdn.com/lisawoll/archi...17/231078.aspx
--
Tom [Pepper] Willett
Microsoft MVP - FrontPage
FrontPage Support: http://www.frontpagemvps.com/
----------
"Vince" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>
>
>



 
Reply With Quote
 
Vince
Guest
Posts: n/a
 
      1st Apr 2006
Will give it a try.

Thanks
"Tom [Pepper] Willett" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> see: http://blogs.msdn.com/lisawoll/archi...17/231078.aspx
> --
> Tom [Pepper] Willett
> Microsoft MVP - FrontPage
> FrontPage Support: http://www.frontpagemvps.com/
> ----------
> "Vince" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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
> >
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I thought this code worked!!! Tony Williams Microsoft Access Form Coding 5 16th Nov 2007 05:46 PM
Problem getting cookie from code-behind (worked in code-beside) Alan Silver Microsoft ASP .NET 1 15th Sep 2005 06:23 PM
My code has worked before ... why not now? =?Utf-8?B?TWVnYW4=?= Microsoft Access 4 13th Sep 2005 03:35 PM
Code that worked ?! =?Utf-8?B?RA==?= Microsoft Access Reports 1 26th Oct 2004 09:19 PM
Code worked fine in VB6 but not .NET Chad Dalton Microsoft C# .NET 1 24th Feb 2004 05:05 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:29 AM.