<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MattKruse.com &#187; jquery</title>
	<atom:link href="http://mattkruse.com/category/web/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://mattkruse.com</link>
	<description></description>
	<lastBuildDate>Sat, 14 Aug 2010 21:08:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>jQuery Pumpkin</title>
		<link>http://mattkruse.com/2009/10/31/jquery-pumpkin/</link>
		<comments>http://mattkruse.com/2009/10/31/jquery-pumpkin/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 03:49:21 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[fun]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://mattkruse.com/2009/10/31/jquery-pumpkin/</guid>
		<description><![CDATA[For Halloween this year I decided to go full nerd and create a jQuery pumpkin. I&#8217;m sure no one else understood what it was, but it was unique!
 

digg_window = 'new';
]]></description>
			<content:encoded><![CDATA[<p>For Halloween this year I decided to go full nerd and create a jQuery pumpkin. I&#8217;m sure no one else understood what it was, but it was unique!</p>
<p><a href="http://mattkruse.com/wp-content/uploads/2009/10/pa318807.jpg" target="_blank"><img title="PA318807" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; margin: 0px 10px; border-right-width: 0px" height="376" alt="PA318807" src="http://mattkruse.com/wp-content/uploads/2009/10/pa318807-thumb.jpg" width="500" border="0" /></a> </p>
<p><a href="http://mattkruse.com/wp-content/uploads/2009/10/pa318762.jpg" target="_blank"><img title="PA318762" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; margin: 0px 10px; border-right-width: 0px" height="375" alt="PA318762" src="http://mattkruse.com/wp-content/uploads/2009/10/pa318762-thumb.jpg" width="500" border="0" /></a></p>
<p><script type="text/javascript">digg_window = 'new';</script><script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://mattkruse.com/2009/10/31/jquery-pumpkin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash Of Content with jQuery slideUp/slideDown</title>
		<link>http://mattkruse.com/2009/06/11/flash-of-content-with-jquery-slideupslidedown/</link>
		<comments>http://mattkruse.com/2009/06/11/flash-of-content-with-jquery-slideupslidedown/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 21:42:32 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://mattkruse.com/2009/06/11/flash-of-content-with-jquery-slideupslidedown/</guid>
		<description><![CDATA[This is an old issue, but I never looked into it in enough detail to solve it until now.
When using slideUp() and slideDown() in jQuery (and any other animations that animate height) there is often a “flash of content” when the animation starts or stops in IE.
Here are the details you might want to know:

IE [...]]]></description>
			<content:encoded><![CDATA[<p>This is an old issue, but I never looked into it in enough detail to solve it until now.</p>
<p>When using slideUp() and slideDown() in jQuery (and any other animations that animate height) there is often a “flash of content” when the animation starts or stops in IE.</p>
<p>Here are the details you might want to know:</p>
<ol>
<li>IE 6/7 mishandles a style like “overflow:hidden;height:0px;” (which should show nothing) and instead show the entire contents of the object. But ONLY in quirks mode. This is a bug.</li>
<li>When doing a hide animation, jQuery animates to 0, and when doing show, it starts at 0</li>
<li>So when the value of 0 is set inside the animation, the entire content is flashed visibly on the screen, this causing annoyance and potential epileptic seizures.</li>
</ol>
<p>A ticket was filed with jQuery 2 years ago about this issue: <a href="http://dev.jquery.com/ticket/1726">http://dev.jquery.com/ticket/1726</a></p>
<p>Unfortunately, they changed it to “wontfix” and instead declared that FX animations are not supported in IE6/7 in quirksmode. I consider this to be pretty lazy on the part of the developers, and I&#8217;ve seen this attitude several times with regards to problems that are not so obviously solved or outlying cases. It&#8217;s disappointing.</p>
<p>I started a <a href="http://groups.google.com/group/jquery-dev/browse_frm/thread/4bab8abc05e60c80" target="_blank">thread in the jQuery Dev group</a> about this, so we&#8217;ll see if anything comes of it.</p>
<p>Meanwhile, inserting this fix into the page solves the problem:</p>
<blockquote><p><font face="Courier New">jQuery.fx.prototype.originalCustom = jQuery.fx.prototype.custom;        <br />jQuery.fx.prototype.custom = function(from,to,unit) {         <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (this.prop==&#8217;height&#8217;) {         <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; to = to || 1;         <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; from = from || 1;         <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }         <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; this.originalCustom(from,to,unit);         <br />}</font></p>
</blockquote>
<p>It’s simple – when the to or from value in the animation is 0, and we’re animating ‘height’, then just go to/from 1 instead. Problem solved.   </p>
<p>Hope that helps out at some point in the future when your content is flashing and you can’t figure out why…</p>
]]></content:encoded>
			<wfw:commentRss>http://mattkruse.com/2009/06/11/flash-of-content-with-jquery-slideupslidedown/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Cheat Sheet</title>
		<link>http://mattkruse.com/2009/05/07/jquery-cheat-sheet/</link>
		<comments>http://mattkruse.com/2009/05/07/jquery-cheat-sheet/#comments</comments>
		<pubDate>Thu, 07 May 2009 16:05:40 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://mattkruse.com/2009/05/07/jquery-cheat-sheet/</guid>
		<description><![CDATA[
I finally updated my jQuery Cheat Sheet to match jQuery 1.3.2. I hope people find it useful!
]]></description>
			<content:encoded><![CDATA[</p>
<p><a href="http://www.javascripttoolbox.com/jquery/cheatsheet/" target="_blank"><img title="screenshot-1.3.2" style="border-right: 0px; border-top: 0px; display: inline; margin: 5px 10px 10px 0px; border-left: 0px; border-bottom: 0px" height="248" alt="screenshot-1.3.2" src="http://mattkruse.com/wp-content/uploads/2009/05/screenshot132.gif" width="240" align="left" border="0" /></a>I finally updated my <a href="http://www.javascripttoolbox.com/jquery/cheatsheet/" target="_blank">jQuery Cheat Sheet</a> to match jQuery 1.3.2. I hope people find it useful!</p>
]]></content:encoded>
			<wfw:commentRss>http://mattkruse.com/2009/05/07/jquery-cheat-sheet/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jQuery&#8217;s Latest Stab At Competence</title>
		<link>http://mattkruse.com/2009/02/11/jquerys-latest-stab-at-competence/</link>
		<comments>http://mattkruse.com/2009/02/11/jquerys-latest-stab-at-competence/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 15:39:45 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://mattkruse.com/2009/02/11/jquerys-latest-stab-at-competence/</guid>
		<description><![CDATA[jQuery underwent some changes in the latest 1.3.1 release, including the elimination of browser sniffing and speed improvements. While I am a regular user of jQuery and I find it useful, I am not an evangelist proclaiming it&#8217;s glory. It has problems, and I am often frustrated by approaches taken by the core development team, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jquery.com" target="_blank">jQuery</a> underwent some changes in the latest 1.3.1 release, including the elimination of browser sniffing and speed improvements. While I am a regular user of jQuery and I find it useful, I am not an evangelist proclaiming it&#8217;s glory. It has problems, and I am often frustrated by approaches taken by the core development team, most recently in a thread on the jQuery Dev group called <a href="http://groups.google.com/group/jquery-dev/browse_frm/thread/2b70ead1e2cc186d" target="_blank">IE6 feature detection – possible solution</a>.</p>
<p>Then last week, David Mark – a regular contributor to comp.lang.javascript and someone with a lot of javascript knowledge – started a thread called <a href="http://groups.google.com/group/comp.lang.javascript/browse_frm/thread/3d90e8b8a8301462" target="_blank">jQuery&#8217;s latest stab at competence</a>.</p>
<p>He raises some good technical criticisms of jQuery, and the thread goes on quite long. I voice my opinion as well (we have often clashed in the past on the use of jQuery). For someone who is interested in a deeper understanding of the design of jQuery, some of its technical faults, and a look into whether it&#8217;s actually a library that should be recommended, I would recommend reading through these two threads.</p>
]]></content:encoded>
			<wfw:commentRss>http://mattkruse.com/2009/02/11/jquerys-latest-stab-at-competence/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
