<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1021676" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1021676</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascript-open-new-windwo#comment-1133588</link>
    <description> &lt;p&gt;this should make that work&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;var popupOptionStr =&amp;nbsp; &amp;#039;height=400,width=600,top=50,left=50,toolbar=yes,menubar=yes,location=yes,scrollbars=yes,resizable=y&lt;br /&gt;es&amp;#039;;&lt;br /&gt;var windowHandles = new Array();&lt;br /&gt;&lt;br /&gt;function popup(that, optstring) {&lt;br /&gt;	if(!optstring) optstring = popupOptionStr;&lt;br /&gt;	windowHandles[that.name] = window.open(that.href, that.name, popupOptionStr);&lt;br /&gt;	windowHandles[that.name].focus();&lt;br /&gt;	return false;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&amp;amp;lt;/script&amp;amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;popupOptionStr is the default options, if you don&#039;t send an option string it will use the default&lt;/p&gt;
 </description>
     <pubDate>Wed, 25 Jun 2003 20:24:03 +0000</pubDate>
 <dc:creator>ROB</dc:creator>
 <guid isPermaLink="false">comment 1133588 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascript-open-new-windwo#comment-1133581</link>
    <description> &lt;p&gt;All of the buttons are going to be no particular size but I do have one that needs to be a certain size. How can I do that?&lt;/p&gt;
&lt;p&gt;I tried:&lt;a name=&quot;Guarantee&quot; href=&quot;Guarantees.htm&quot;&gt;&lt;img src=&quot;images/Guarantee.gif&quot; border=&quot;0&quot; alt=&quot;Guarantees&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;but that doesnt seem to work.&lt;/p&gt;
 </description>
     <pubDate>Wed, 25 Jun 2003 17:51:41 +0000</pubDate>
 <dc:creator>nitestarz</dc:creator>
 <guid isPermaLink="false">comment 1133581 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascript-open-new-windwo#comment-1133579</link>
    <description> &lt;p&gt;Thank You! &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 25 Jun 2003 17:36:34 +0000</pubDate>
 <dc:creator>nitestarz</dc:creator>
 <guid isPermaLink="false">comment 1133579 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascript-open-new-windwo#comment-1133576</link>
    <description> &lt;p&gt;Below is a code that I&#039;ve wrote that I use on all my websites. It centers the window on the screen sets focus on it.&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;function newWindow(nURL, nTarget, nWidth, nHeight, nOptions) {&lt;br /&gt;	var nLeft = (screen.width - nWidth) / 2;&lt;br /&gt;	var nTop = (screen.height - nHeight) / 2;&lt;br /&gt;	var nWindow = window.open(nURL, nTarget, &amp;#039;width=&amp;#039;+nWidth+&amp;#039;,height=&amp;#039;+nHeight+&amp;#039;,left=&amp;#039;+nLeft+&amp;#039;,top=&amp;#039;+nTop+&amp;#039;,&amp;#039;+nOptions);&lt;br /&gt;	nWindow.window.focus();&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;Here&#039;s an example how you can use it...&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;a href=&amp;quot;javascript:void(0);&amp;quot; onClick=&amp;quot;javascript:newWindow(&amp;#039;http://www.google.com/&amp;#039;, &amp;#039;Window_Google&amp;#039;, &amp;#039;740&amp;#039;, &amp;#039;400&amp;#039;, false);&amp;quot;&amp;gt;Open new window&amp;lt;/a&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;So basically, it is &lt;strong&gt;newWindow(&#039;http://www.domain.com/dir/&#039;, &#039;windowname&#039;, &#039;width&#039;, &#039;height&#039;, &#039;options&#039;);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If you use different windownames on different links they will open in separate windows.&lt;/p&gt;
&lt;p&gt;I hope this helps.&lt;/p&gt;
 </description>
     <pubDate>Wed, 25 Jun 2003 17:27:52 +0000</pubDate>
 <dc:creator>zollet</dc:creator>
 <guid isPermaLink="false">comment 1133576 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascript-open-new-windwo#comment-1133575</link>
    <description> &lt;p&gt;your windows need unique names&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;amp;lt;script language=&amp;quot;javascript&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;amp;gt;&lt;br /&gt;&lt;br /&gt;var popupOptionStr = &amp;#039;height=400,width=600,top=50,left=50,toolbar=yes,menubar=yes,location=yes,scrollbars=yes,resizable=yes&amp;#039;;&lt;br /&gt;var windowHandles = new Array();&lt;br /&gt;&lt;br /&gt;function popup(that) {&lt;br /&gt;	windowHandles[that.name] = window.open(that.href, that.name, popupOptionStr);&lt;br /&gt;	windowHandles[that.name].focus();&lt;br /&gt;	return false;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&amp;amp;lt;/script&amp;amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;a name=&amp;quot;mypage&amp;quot; href=&amp;quot;mypage.html&amp;quot; onclick=&amp;quot;return popup(this);&amp;quot;&amp;gt;my page&amp;lt;/a&amp;gt;&lt;br /&gt;&amp;lt;a name=&amp;quot;mypage2&amp;quot; href=&amp;quot;mypage2.html&amp;quot; onclick=&amp;quot;return popup(this);&amp;quot;&amp;gt;another page&amp;lt;/a&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Wed, 25 Jun 2003 17:25:50 +0000</pubDate>
 <dc:creator>ROB</dc:creator>
 <guid isPermaLink="false">comment 1133575 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
