<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1020069" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1020069</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascript-hack-closewindow-problem-windows#comment-1122464</link>
    <description> &lt;p&gt;The answer to this problem is to open the navigator window as a child of the content window. The content window also needs a function with these two methods to size and locate it:&lt;/p&gt;
&lt;p&gt;	window.opener.moveTo(300,0)&lt;br /&gt;
	window.opener.resizeTo(800,600);&lt;/p&gt;
&lt;p&gt;My problem was that I was trying to open the content window as a child of the navigation window.&lt;/p&gt;
 </description>
     <pubDate>Tue, 31 Dec 2002 22:09:42 +0000</pubDate>
 <dc:creator>cordedpoodle</dc:creator>
 <guid isPermaLink="false">comment 1122464 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascript-hack-closewindow-problem-windows#comment-1122352</link>
    <description> &lt;p&gt;Thanks for all the advice. I think I might be able to tweak it now.&lt;/p&gt;
 </description>
     <pubDate>Sat, 28 Dec 2002 20:52:31 +0000</pubDate>
 <dc:creator>cordedpoodle</dc:creator>
 <guid isPermaLink="false">comment 1122352 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascript-hack-closewindow-problem-windows#comment-1122342</link>
    <description> &lt;p&gt;Yeah that&#039;s true. Maybe you could try to tweak your plan so that the child window closes instead.&lt;br /&gt;
-dk&lt;/p&gt;
 </description>
     <pubDate>Sat, 28 Dec 2002 09:26:26 +0000</pubDate>
 <dc:creator>dk01</dc:creator>
 <guid isPermaLink="false">comment 1122342 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascript-hack-closewindow-problem-windows#comment-1122331</link>
    <description> &lt;p&gt;FYI, if you&#039;re closing a child window spawned by a script on your page, then you&#039;d get no warning, but if you try closing a user-opened client, there will be a warning.&lt;/p&gt;
 </description>
     <pubDate>Sat, 28 Dec 2002 03:21:53 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1122331 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascript-hack-closewindow-problem-windows#comment-1122324</link>
    <description> &lt;p&gt;Rob&#039;s response is correct. You could do what he is saying but would still get the warning about &quot;This window is trying to close itself.  This is a security feature on IE/win. I wish there was a workaround but there is not since it is meant for security. Sorry. guess you will just have to find another way to do it.&lt;br /&gt;
-dk&lt;/p&gt;
 </description>
     <pubDate>Sat, 28 Dec 2002 01:19:35 +0000</pubDate>
 <dc:creator>dk01</dc:creator>
 <guid isPermaLink="false">comment 1122324 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascript-hack-closewindow-problem-windows#comment-1122322</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: Unfortunately because I already have one onload I can&#039;t do a &quot;onload = windowclose()&quot; can I?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;sure ... you can do some thing like this:&lt;br /&gt;onload=&amp;quot;MM_openBrWindow(&amp;#039;index2.html&amp;#039;,&amp;#039;index2&amp;#039;,&amp;#039;width=280,height=160,top=0,left=0&amp;#039;);window.close();&amp;quot;&lt;br /&gt;&lt;br /&gt;or write a function for it:&lt;br /&gt;&amp;amp;lt;script language=&amp;quot;javascript&amp;quot;&amp;amp;gt;&lt;br /&gt;function dothings() {&lt;br /&gt;&amp;nbsp; MM_openBrWindow(&amp;#039;index2.html&amp;#039;,&amp;#039;index2&amp;#039;,&amp;#039;width=280,height=160,top=0,left=0&amp;#039;);&lt;br /&gt;&amp;nbsp; window.close();&lt;br /&gt;}&lt;br /&gt;&amp;amp;lt;/script&amp;amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;body onload=&amp;quot;dothings()&amp;quot;&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Fri, 27 Dec 2002 22:46:05 +0000</pubDate>
 <dc:creator>ROB</dc:creator>
 <guid isPermaLink="false">comment 1122322 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
