<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1016631" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1016631</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/js-open-window-help#comment-1096634</link>
    <description> &lt;p&gt;Hi getyourbiglobst,&lt;/p&gt;
&lt;p&gt;This is one alternative:&lt;/p&gt;
&lt;p&gt;in the main page:  create a global var called imgSrc and fill it with the image&#039;s onClick event handler (I&#039;m just hardwiring it; you don&#039;t)&lt;/p&gt;
&lt;p&gt;&amp;lt;script&amp;gt;&lt;br /&gt;
imgSrc = &quot;http://members.aol.com/grassblad/images/grassblade.gif&quot;&lt;/p&gt;
&lt;p&gt;window.open(&quot;thumb.htm&quot; + whatever attributes)&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;in the &#039;thumb&#039; page, you fill a var called imgSrc with the value in the original window (opener).  then you use a document.write to write out the image&lt;/p&gt;
&lt;p&gt;&amp;lt;script&amp;gt;&lt;br /&gt;
imgSrc = opener.imgSrc&lt;/p&gt;
&lt;p&gt;document.write(&quot;&lt;img src=&quot; + imgSrc + &quot; /&gt;&quot;)&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;Vinny&lt;/p&gt;
 </description>
     <pubDate>Wed, 19 Dec 2001 04:00:04 +0000</pubDate>
 <dc:creator>Vincent Puglia</dc:creator>
 <guid isPermaLink="false">comment 1096634 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
