<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>ProductCart Shopping Cart Software Forums : Close Window by Clicking &#111;n Detail Image</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Customizing ProductCart : Close Window by Clicking &#111;n Detail Image]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 11 Apr 2026 20:14:47 +0000</pubDate>
  <lastBuildDate>Sun, 24 Jun 2007 02:08:39 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.productcart.com/RSS_post_feed.asp?TID=913</WebWizForums:feedURL>
  <image>
   <title><![CDATA[ProductCart Shopping Cart Software Forums]]></title>
   <url>https://forum.productcart.com/forum_images/pc_logo_50.png</url>
   <link>https://forum.productcart.com/</link>
  </image>
  <item>
   <title><![CDATA[Close Window by Clicking &#111;n Detail Image : Just incase anyone want&amp;#039;s...]]></title>
   <link>https://forum.productcart.com/close-window-by-clicking-on-detail-image_topic913_post2637.html#2637</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=198">Jackalope</a><br /><strong>Subject:</strong> 913<br /><strong>Posted:</strong> 24-June-2007 at 2:08am<br /><br />Just incase anyone want's this feature, you can copy a few lines of code in two different files. What it does is when you view the detail product image, if you click on the image the window will close. Also, when you view the additional images (if there are any), if you click on the detail image (not the thumbnails) then the window will close as well.<br /><br />In includes/javascripts/pcWindowsViewPrd.asp change the following towards the bottom of the page...<br /><br />from this:<br /><br />doc.write('&lt;IMG SRC="' + imagename + '"&gt;<br /><br />to this:<br /><br />doc.write('&lt;IMG SRC="' + imagename + '" onClick="self.close()"&gt;<br /><br /><br /><br />Also, in /pc/viewPrdPopWindow.asp change the following towards the bottom of the page...<br /><br />from this:<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;td height="100%"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;div align="center"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;%<br />&nbsp;&nbsp;&nbsp;&nbsp;pLgimageURL = "" '// clear large image value so we dont get a zoom button<br />&nbsp;&nbsp;&nbsp;&nbsp;pcs_ProductImage<br />&nbsp;&nbsp;&nbsp;&nbsp;%&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/td&gt;<br /><br />to this:<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;td height="100%"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;div align="center"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;a href="javascript:closeWindow();"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;%<br />&nbsp;&nbsp;&nbsp;&nbsp;pLgimageURL = "" '// clear large image value so we dont get a zoom button<br />&nbsp;&nbsp;&nbsp;&nbsp;pcs_ProductImage<br />&nbsp;&nbsp;&nbsp;&nbsp;%&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/a&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/td&gt;<br /><br />Now I'm not a programmer by any means so if anyone sees a mistake or a better way, please make corrections.<span style="font-size:10px"><br /><br />Edited by Jackalope - 24-June-2007 at 2:16am</span>]]>
   </description>
   <pubDate>Sun, 24 Jun 2007 02:08:39 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/close-window-by-clicking-on-detail-image_topic913_post2637.html#2637</guid>
  </item> 
 </channel>
</rss>