<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Simple Image Popouts</title>
	<atom:link href="http://mattsnider.com/languages/javascript/simple-image-popouts/feed/" rel="self" type="application/rss+xml" />
	<link>http://mattsnider.com/languages/javascript/simple-image-popouts/</link>
	<description>Understanding JavaScript and Frameworks</description>
	<pubDate>Tue, 06 Jan 2009 09:42:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: deep</title>
		<link>http://mattsnider.com/languages/javascript/simple-image-popouts/comment-page-1/#comment-21397</link>
		<dc:creator>deep</dc:creator>
		<pubDate>Fri, 15 Aug 2008 07:51:37 +0000</pubDate>
		<guid isPermaLink="false">http://mattsnider.com/languages/javascript/simple-image-popouts/#comment-21397</guid>
		<description>This is nice. I was looking for such script. I will be adding it to 'popup' section of www.downloadjavascripts.com</description>
		<content:encoded><![CDATA[<p>This is nice. I was looking for such script. I will be adding it to &#8216;popup&#8217; section of <a href="http://www.downloadjavascripts.com" rel="nofollow">http://www.downloadjavascripts.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Snider</title>
		<link>http://mattsnider.com/languages/javascript/simple-image-popouts/comment-page-1/#comment-16609</link>
		<dc:creator>Matt Snider</dc:creator>
		<pubDate>Wed, 18 Jun 2008 05:45:01 +0000</pubDate>
		<guid isPermaLink="false">http://mattsnider.com/languages/javascript/simple-image-popouts/#comment-16609</guid>
		<description>Keith,

If you change the declaration to:

var ImagePopout = function(bd, src, emap, hideOnLoad) {

and add the following between lines 43 and 45:

if (hideOnLoad) {
	dom.img.style.display = 'none';
}

then passing true as the 4th parameter will cause the popup to be hidden initially.

Second, you don't have to use the event map, you can just pass an empty array and no events will be assigned. However, you should probably assign an event to the whole image that hides so the user isn't stuck with an image that they can't get rid of.</description>
		<content:encoded><![CDATA[<p>Keith,</p>
<p>If you change the declaration to:</p>
<p>var ImagePopout = function(bd, src, emap, hideOnLoad) {</p>
<p>and add the following between lines 43 and 45:</p>
<p>if (hideOnLoad) {<br />
	dom.img.style.display = &#8216;none&#8217;;<br />
}</p>
<p>then passing true as the 4th parameter will cause the popup to be hidden initially.</p>
<p>Second, you don&#8217;t have to use the event map, you can just pass an empty array and no events will be assigned. However, you should probably assign an event to the whole image that hides so the user isn&#8217;t stuck with an image that they can&#8217;t get rid of.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith</title>
		<link>http://mattsnider.com/languages/javascript/simple-image-popouts/comment-page-1/#comment-16534</link>
		<dc:creator>Keith</dc:creator>
		<pubDate>Sun, 15 Jun 2008 10:31:49 +0000</pubDate>
		<guid isPermaLink="false">http://mattsnider.com/languages/javascript/simple-image-popouts/#comment-16534</guid>
		<description>This is great! really good explanation and commenting! I just want to have the image not show at first, until the link is clicked. In my case, I'm having a thumbnail link to a bigger picture.

And also, is there a way to hide the link part?

Again, I love this, it's great!</description>
		<content:encoded><![CDATA[<p>This is great! really good explanation and commenting! I just want to have the image not show at first, until the link is clicked. In my case, I&#8217;m having a thumbnail link to a bigger picture.</p>
<p>And also, is there a way to hide the link part?</p>
<p>Again, I love this, it&#8217;s great!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Snider</title>
		<link>http://mattsnider.com/languages/javascript/simple-image-popouts/comment-page-1/#comment-8667</link>
		<dc:creator>Matt Snider</dc:creator>
		<pubDate>Mon, 31 Mar 2008 00:17:22 +0000</pubDate>
		<guid isPermaLink="false">http://mattsnider.com/languages/javascript/simple-image-popouts/#comment-8667</guid>
		<description>Yannis, I fixed your issue *_^</description>
		<content:encoded><![CDATA[<p>Yannis, I fixed your issue *_^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yannis</title>
		<link>http://mattsnider.com/languages/javascript/simple-image-popouts/comment-page-1/#comment-8487</link>
		<dc:creator>Yannis</dc:creator>
		<pubDate>Fri, 28 Mar 2008 18:36:47 +0000</pubDate>
		<guid isPermaLink="false">http://mattsnider.com/languages/javascript/simple-image-popouts/#comment-8487</guid>
		<description>Thanks for sharing. But, cant get it to work. I get this error: this._isValidCollection is not a function. in the event.js file

This occurs after the addListener(dom.img, 'click', function(e)... call in your code.
Can you help? I would love to get this working</description>
		<content:encoded><![CDATA[<p>Thanks for sharing. But, cant get it to work. I get this error: this._isValidCollection is not a function. in the event.js file</p>
<p>This occurs after the addListener(dom.img, &#8216;click&#8217;, function(e)&#8230; call in your code.<br />
Can you help? I would love to get this working</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anthony</title>
		<link>http://mattsnider.com/languages/javascript/simple-image-popouts/comment-page-1/#comment-7563</link>
		<dc:creator>anthony</dc:creator>
		<pubDate>Mon, 17 Mar 2008 15:28:37 +0000</pubDate>
		<guid isPermaLink="false">http://mattsnider.com/languages/javascript/simple-image-popouts/#comment-7563</guid>
		<description>great share. just a suggestion.
you should add a demo page</description>
		<content:encoded><![CDATA[<p>great share. just a suggestion.<br />
you should add a demo page</p>
]]></content:encoded>
	</item>
</channel>
</rss>
