<?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: jQuery plugin: Add2Cart</title>
	<atom:link href="http://i1t2b3.com/2009/01/29/add2cart/feed/" rel="self" type="application/rss+xml" />
	<link>http://i1t2b3.com/2009/01/29/add2cart/</link>
	<description>Any fool can make things bigger and more complex</description>
	<lastBuildDate>Tue, 22 Jun 2010 13:25:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=7952</generator>
	<item>
		<title>By: 30+ Helpful jQuery Plugins For Design and Development &#124;</title>
		<link>http://i1t2b3.com/2009/01/29/add2cart/comment-page-1/#comment-980</link>
		<dc:creator>30+ Helpful jQuery Plugins For Design and Development &#124;</dc:creator>
		<pubDate>Mon, 26 Apr 2010 15:13:04 +0000</pubDate>
		<guid isPermaLink="false">http://i1t2b3.com/?p=224#comment-980</guid>
		<description>[...] Add to Cart [...]</description>
		<content:encoded><![CDATA[<p>[...] Add to Cart [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MI</title>
		<link>http://i1t2b3.com/2009/01/29/add2cart/comment-page-1/#comment-843</link>
		<dc:creator>MI</dc:creator>
		<pubDate>Sun, 13 Dec 2009 15:22:04 +0000</pubDate>
		<guid isPermaLink="false">http://i1t2b3.com/?p=224#comment-843</guid>
		<description>Great plugin! works fine in Chrome and firefox but the location is off in IE 8. It&#039;s taking the position of top left and not taking the image as a whole. Any ideas why?</description>
		<content:encoded><![CDATA[<p>Great plugin! works fine in Chrome and firefox but the location is off in IE 8. It&#8217;s taking the position of top left and not taking the image as a whole. Any ideas why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dede</title>
		<link>http://i1t2b3.com/2009/01/29/add2cart/comment-page-1/#comment-622</link>
		<dc:creator>Dede</dc:creator>
		<pubDate>Mon, 17 Aug 2009 16:18:29 +0000</pubDate>
		<guid isPermaLink="false">http://i1t2b3.com/?p=224#comment-622</guid>
		<description>Hi i&#039;m trying out this feature and i&#039;d like to call another function when animation finishes ?

Tried to use the &quot;callback&quot; =&gt;
$.add2cart(&#039;img_src&#039;,&#039;img_dest&#039;,functionToPlay())
but it doesn&#039;t work ?

Any ideas about how to ?

Thx for the plugin</description>
		<content:encoded><![CDATA[<p>Hi i&#8217;m trying out this feature and i&#8217;d like to call another function when animation finishes ?</p>
<p>Tried to use the &#8220;callback&#8221; =&gt;<br />
$.add2cart(&#8216;img_src&#8217;,'img_dest&#8217;,functionToPlay())<br />
but it doesn&#8217;t work ?</p>
<p>Any ideas about how to ?</p>
<p>Thx for the plugin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: B Grimstad</title>
		<link>http://i1t2b3.com/2009/01/29/add2cart/comment-page-1/#comment-603</link>
		<dc:creator>B Grimstad</dc:creator>
		<pubDate>Thu, 23 Jul 2009 15:51:10 +0000</pubDate>
		<guid isPermaLink="false">http://i1t2b3.com/?p=224#comment-603</guid>
		<description>Response to brent:
 
You can remove the shadow div after the animation is done by modifying the script as shown below:

.animate( { opacity: 0 }, 200, function(){ $(this).remove(); //removes shadow after animation
} );

I&#039;ve added an anonymous function that runs after the animation and calls .remove() on the shadow div. 

Note: I could only get this to work with the animation speed set directly (e.g. by using 200 instead of { duration: 200}), any ideas why?

I suggest adding this to the next version of add2cart.

Sincerely, Bjarne.</description>
		<content:encoded><![CDATA[<p>Response to brent:</p>
<p>You can remove the shadow div after the animation is done by modifying the script as shown below:</p>
<p>.animate( { opacity: 0 }, 200, function(){ $(this).remove(); //removes shadow after animation<br />
} );</p>
<p>I&#8217;ve added an anonymous function that runs after the animation and calls .remove() on the shadow div. </p>
<p>Note: I could only get this to work with the animation speed set directly (e.g. by using 200 instead of { duration: 200}), any ideas why?</p>
<p>I suggest adding this to the next version of add2cart.</p>
<p>Sincerely, Bjarne.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Qphoria</title>
		<link>http://i1t2b3.com/2009/01/29/add2cart/comment-page-1/#comment-575</link>
		<dc:creator>Qphoria</dc:creator>
		<pubDate>Tue, 30 Jun 2009 14:38:03 +0000</pubDate>
		<guid isPermaLink="false">http://i1t2b3.com/?p=224#comment-575</guid>
		<description>A quick note...
The code:
-----
if( !shadow ) {
     alert(&#039;Cannot create the shadow div&#039;);
}
-----
will never trigger because even if source is undefined, you are still setting shadow = &quot;#_shadow&quot;, which then makes it an object, and therefore defined. This of course allows the script to continue and thus error out on the shadow.width function, as since shadow is &quot;something&quot; but its not a valid element. Your best bet would be to check that source and target are both valid before continuing</description>
		<content:encoded><![CDATA[<p>A quick note&#8230;<br />
The code:<br />
&#8212;&#8211;<br />
if( !shadow ) {<br />
     alert(&#8216;Cannot create the shadow div&#8217;);<br />
}<br />
&#8212;&#8211;<br />
will never trigger because even if source is undefined, you are still setting shadow = &#8220;#_shadow&#8221;, which then makes it an object, and therefore defined. This of course allows the script to continue and thus error out on the shadow.width function, as since shadow is &#8220;something&#8221; but its not a valid element. Your best bet would be to check that source and target are both valid before continuing</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Skakunov Alexander</title>
		<link>http://i1t2b3.com/2009/01/29/add2cart/comment-page-1/#comment-508</link>
		<dc:creator>Skakunov Alexander</dc:creator>
		<pubDate>Mon, 01 Jun 2009 21:27:45 +0000</pubDate>
		<guid isPermaLink="false">http://i1t2b3.com/?p=224#comment-508</guid>
		<description>Zeb, paste your changes here please (put it in pre+code tags).</description>
		<content:encoded><![CDATA[<p>Zeb, paste your changes here please (put it in pre+code tags).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zeb</title>
		<link>http://i1t2b3.com/2009/01/29/add2cart/comment-page-1/#comment-507</link>
		<dc:creator>Zeb</dc:creator>
		<pubDate>Mon, 01 Jun 2009 20:47:44 +0000</pubDate>
		<guid isPermaLink="false">http://i1t2b3.com/?p=224#comment-507</guid>
		<description>I tried to slow down the animation by changing the value of duration from 300 to 600 but the animation flickers and is not smooth.. any ideas?</description>
		<content:encoded><![CDATA[<p>I tried to slow down the animation by changing the value of duration from 300 to 600 but the animation flickers and is not smooth.. any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent</title>
		<link>http://i1t2b3.com/2009/01/29/add2cart/comment-page-1/#comment-458</link>
		<dc:creator>Brent</dc:creator>
		<pubDate>Sat, 23 May 2009 16:23:05 +0000</pubDate>
		<guid isPermaLink="false">http://i1t2b3.com/?p=224#comment-458</guid>
		<description>Any idea how to remove the div from the target after the effect has completed. If it remains over a cart, all links to products in the cart are unavailable.

I tried shadow.remove() , that disables the animation.??</description>
		<content:encoded><![CDATA[<p>Any idea how to remove the div from the target after the effect has completed. If it remains over a cart, all links to products in the cart are unavailable.</p>
<p>I tried shadow.remove() , that disables the animation.??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ultrono</title>
		<link>http://i1t2b3.com/2009/01/29/add2cart/comment-page-1/#comment-332</link>
		<dc:creator>ultrono</dc:creator>
		<pubDate>Wed, 25 Feb 2009 00:06:14 +0000</pubDate>
		<guid isPermaLink="false">http://i1t2b3.com/?p=224#comment-332</guid>
		<description>Really good plugin. Saw this type of effect (may even be the same effect) in a free ecommerce solution and liked it ever since. 

Simple to implement and adds a bit extra to the site. 

Many Thanks</description>
		<content:encoded><![CDATA[<p>Really good plugin. Saw this type of effect (may even be the same effect) in a free ecommerce solution and liked it ever since. </p>
<p>Simple to implement and adds a bit extra to the site. </p>
<p>Many Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Skakunov Alexander</title>
		<link>http://i1t2b3.com/2009/01/29/add2cart/comment-page-1/#comment-328</link>
		<dc:creator>Skakunov Alexander</dc:creator>
		<pubDate>Tue, 17 Feb 2009 11:07:39 +0000</pubDate>
		<guid isPermaLink="false">http://i1t2b3.com/?p=224#comment-328</guid>
		<description>Fab, I&#039;ve applied your suggestions and updated the plugin. Thank you!</description>
		<content:encoded><![CDATA[<p>Fab, I&#8217;ve applied your suggestions and updated the plugin. Thank you!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
