<?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"
	>
<channel>
	<title>Comments on: Scriptaculous Effect.Squish afterFinish callback fix</title>
	<atom:link href="http://dev-journal.3dmdesign.com/javascript/effect-squish-callback-fix/feed" rel="self" type="application/rss+xml" />
	<link>http://dev-journal.3dmdesign.com/development/effect-squish-callback-fix</link>
	<description>JavaScript and Ruby on Rails Application Development Journal</description>
	<pubDate>Thu, 20 Nov 2008 16:10:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Scott - 3DM Design</title>
		<link>http://dev-journal.3dmdesign.com/development/effect-squish-callback-fix#comment-6803</link>
		<dc:creator>Scott - 3DM Design</dc:creator>
		<pubDate>Sun, 02 Nov 2008 09:15:36 +0000</pubDate>
		<guid isPermaLink="false">http://3dmdesign.com/dev-journal/javascript/effect-squish-callback-fix#comment-6803</guid>
		<description>Michael-

I've been away from Rails for a long time (too long), sorry for the extreme delay in my response.

If I get the chance I'll take a look at the problem you describe.</description>
		<content:encoded><![CDATA[<p>Michael-</p>
<p>I&#8217;ve been away from Rails for a long time (too long), sorry for the extreme delay in my response.</p>
<p>If I get the chance I&#8217;ll take a look at the problem you describe.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://dev-journal.3dmdesign.com/development/effect-squish-callback-fix#comment-4982</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Wed, 20 Aug 2008 10:18:02 +0000</pubDate>
		<guid isPermaLink="false">http://3dmdesign.com/dev-journal/javascript/effect-squish-callback-fix#comment-4982</guid>
		<description>Thanks for the fix, but i thinks the fix kills the other parameter, at least while using through rails, i.e. :duration =&#62; 1.5 and such are not evaluated anymore.</description>
		<content:encoded><![CDATA[<p>Thanks for the fix, but i thinks the fix kills the other parameter, at least while using through rails, i.e. :duration =&gt; 1.5 and such are not evaluated anymore.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott - 3DM Design</title>
		<link>http://dev-journal.3dmdesign.com/development/effect-squish-callback-fix#comment-2178</link>
		<dc:creator>Scott - 3DM Design</dc:creator>
		<pubDate>Sat, 04 Aug 2007 18:12:18 +0000</pubDate>
		<guid isPermaLink="false">http://3dmdesign.com/dev-journal/javascript/effect-squish-callback-fix#comment-2178</guid>
		<description>Chris-

My first suggestion would be to check your parentheses and brackets carefully. Since I wrote the above fix, the formatting of Effect.Squish code in Scriptaculous seems to have changed a bit.

Upgrading to the current script.aculo.us 1.7.0 this morning, then applying the Object.extend fix above, I was able to get afterFinish to fire after Effect.Squish completed.

Though it may be worth noting that, unlike Squish, Effect.Fold still fires afterFinish just before the element is completely gone.

The other suggestion I can offer is to check your callbacks with simple alert() calls; I say this as the modal alert dialogs essentially freeze script execution while they're up, and it might be a bit easier to pinpoint when the callback is firing.

Hope that helps!</description>
		<content:encoded><![CDATA[<p>Chris-</p>
<p>My first suggestion would be to check your parentheses and brackets carefully. Since I wrote the above fix, the formatting of Effect.Squish code in Scriptaculous seems to have changed a bit.</p>
<p>Upgrading to the current script.aculo.us 1.7.0 this morning, then applying the Object.extend fix above, I was able to get afterFinish to fire after Effect.Squish completed.</p>
<p>Though it may be worth noting that, unlike Squish, Effect.Fold still fires afterFinish just before the element is completely gone.</p>
<p>The other suggestion I can offer is to check your callbacks with simple alert() calls; I say this as the modal alert dialogs essentially freeze script execution while they&#8217;re up, and it might be a bit easier to pinpoint when the callback is firing.</p>
<p>Hope that helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://dev-journal.3dmdesign.com/development/effect-squish-callback-fix#comment-2155</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 02 Aug 2007 17:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://3dmdesign.com/dev-journal/javascript/effect-squish-callback-fix#comment-2155</guid>
		<description>I've tried your fix, but it still doesn't work for me.  My afterFinish function call is executed before my effect is finished (in this case Squish as you exampled).

:(</description>
		<content:encoded><![CDATA[<p>I&#8217;ve tried your fix, but it still doesn&#8217;t work for me.  My afterFinish function call is executed before my effect is finished (in this case Squish as you exampled).</p>
<p>:(</p>
]]></content:encoded>
	</item>
</channel>
</rss>
