<?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: How to solve the Jquery flickering content problem</title>
	<atom:link href="http://blog.clintonbeattie.com/how-to-solve-the-jquery-flickering-content-problem/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.clintonbeattie.com/how-to-solve-the-jquery-flickering-content-problem/</link>
	<description>SEO, Adwords, Search Marketing Advice &#38; Tips</description>
	<lastBuildDate>Sat, 20 Nov 2010 19:47:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Clinton</title>
		<link>http://blog.clintonbeattie.com/how-to-solve-the-jquery-flickering-content-problem/comment-page-1/#comment-928</link>
		<dc:creator>Clinton</dc:creator>
		<pubDate>Sat, 20 Nov 2010 19:47:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.clintonbeattie.com/?p=40#comment-928</guid>
		<description>Glad it worked for you!</description>
		<content:encoded><![CDATA[<p>Glad it worked for you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amatyr4n</title>
		<link>http://blog.clintonbeattie.com/how-to-solve-the-jquery-flickering-content-problem/comment-page-1/#comment-927</link>
		<dc:creator>amatyr4n</dc:creator>
		<pubDate>Fri, 19 Nov 2010 06:40:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.clintonbeattie.com/?p=40#comment-927</guid>
		<description>thank you very much for this solution!! my frustation because of IE finally end..</description>
		<content:encoded><![CDATA[<p>thank you very much for this solution!! my frustation because of IE finally end..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://blog.clintonbeattie.com/how-to-solve-the-jquery-flickering-content-problem/comment-page-1/#comment-926</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Thu, 28 Oct 2010 10:39:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.clintonbeattie.com/?p=40#comment-926</guid>
		<description>Thanks for the tip but did not work for me. I have a div panel and one dropdown(html select) control inside this panel. Whenever I pick some item which is farther in stack than visible dropdown area(this area is visible with vertical scrollbar if there are more than 20 items). So if I pick 21st item from dropdown this flickering occurs. I tried som solutions with altering dropdown html and css attributes(disabled, overflow, visibility, display) while animation is in progress but to no avail. Code is executed as expected, but the flickering is still there.  Only when i change the display css property to &quot;display:none;&quot; then it works.  

This is my code(element is my div pane):

$(element).find(&quot;select&quot;).css(&quot;display&quot;, &quot;none&quot;).end().show(&#039;slide&#039;, { direction: &#039;up&#039; }, 600, function () { $(this).find(&quot;select&quot;).css(&quot;display&quot;, &quot;block&quot;) }); 

This solution is not desired because changin css &quot;display&quot; property to &quot;none&quot; is causing reordering controls in layout. The &quot;visibility&quot; property is OK as for layout, but flickering is still there. Anybody has a solution?

thanks..</description>
		<content:encoded><![CDATA[<p>Thanks for the tip but did not work for me. I have a div panel and one dropdown(html select) control inside this panel. Whenever I pick some item which is farther in stack than visible dropdown area(this area is visible with vertical scrollbar if there are more than 20 items). So if I pick 21st item from dropdown this flickering occurs. I tried som solutions with altering dropdown html and css attributes(disabled, overflow, visibility, display) while animation is in progress but to no avail. Code is executed as expected, but the flickering is still there.  Only when i change the display css property to &#8220;display:none;&#8221; then it works.  </p>
<p>This is my code(element is my div pane):</p>
<p>$(element).find(&#8220;select&#8221;).css(&#8220;display&#8221;, &#8220;none&#8221;).end().show(&#8216;slide&#8217;, { direction: &#8216;up&#8217; }, 600, function () { $(this).find(&#8220;select&#8221;).css(&#8220;display&#8221;, &#8220;block&#8221;) }); </p>
<p>This solution is not desired because changin css &#8220;display&#8221; property to &#8220;none&#8221; is causing reordering controls in layout. The &#8220;visibility&#8221; property is OK as for layout, but flickering is still there. Anybody has a solution?</p>
<p>thanks..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wobo</title>
		<link>http://blog.clintonbeattie.com/how-to-solve-the-jquery-flickering-content-problem/comment-page-1/#comment-924</link>
		<dc:creator>Wobo</dc:creator>
		<pubDate>Thu, 07 Oct 2010 10:40:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.clintonbeattie.com/?p=40#comment-924</guid>
		<description>Thx.... after some researchs and bizarres others propositions.... yours with overflow:hidden is the only working!!!</description>
		<content:encoded><![CDATA[<p>Thx&#8230;. after some researchs and bizarres others propositions&#8230;. yours with overflow:hidden is the only working!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michelle</title>
		<link>http://blog.clintonbeattie.com/how-to-solve-the-jquery-flickering-content-problem/comment-page-1/#comment-342</link>
		<dc:creator>Michelle</dc:creator>
		<pubDate>Wed, 28 Apr 2010 10:49:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.clintonbeattie.com/?p=40#comment-342</guid>
		<description>Thanx workde great for me!</description>
		<content:encoded><![CDATA[<p>Thanx workde great for me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clinton</title>
		<link>http://blog.clintonbeattie.com/how-to-solve-the-jquery-flickering-content-problem/comment-page-1/#comment-272</link>
		<dc:creator>Clinton</dc:creator>
		<pubDate>Fri, 16 Apr 2010 12:56:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.clintonbeattie.com/?p=40#comment-272</guid>
		<description>Great! Glad I could be of help. It took me quite a while to find a solution, but hopefully this will help you.</description>
		<content:encoded><![CDATA[<p>Great! Glad I could be of help. It took me quite a while to find a solution, but hopefully this will help you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lútsen</title>
		<link>http://blog.clintonbeattie.com/how-to-solve-the-jquery-flickering-content-problem/comment-page-1/#comment-267</link>
		<dc:creator>Lútsen</dc:creator>
		<pubDate>Thu, 15 Apr 2010 21:28:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.clintonbeattie.com/?p=40#comment-267</guid>
		<description>Thanx! Works great. I had a sIFR in a slideDOwn container that flickered, and this fixed the problem.</description>
		<content:encoded><![CDATA[<p>Thanx! Works great. I had a sIFR in a slideDOwn container that flickered, and this fixed the problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bernard</title>
		<link>http://blog.clintonbeattie.com/how-to-solve-the-jquery-flickering-content-problem/comment-page-1/#comment-164</link>
		<dc:creator>Bernard</dc:creator>
		<pubDate>Mon, 08 Mar 2010 04:50:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.clintonbeattie.com/?p=40#comment-164</guid>
		<description>You might want to have a look at http://dev.jquery.com/ticket/5743

If you pick one of the last testcases you will see how easy it is to isolate and show at the same time the root cause of such problems. Such testcases are very easy to publish, and occasional visitors are much more inclined to analyse and comment on such problems than commenting on code snippets that they cannot try in isolation.

So if you can make such a testcase, why not enter it into the jquery ticket system and ask visitors to comment on them. Even if the ticket gets closed. It does not matter. We are still a free society.</description>
		<content:encoded><![CDATA[<p>You might want to have a look at <a href="http://dev.jquery.com/ticket/5743" rel="nofollow">http://dev.jquery.com/ticket/5743</a></p>
<p>If you pick one of the last testcases you will see how easy it is to isolate and show at the same time the root cause of such problems. Such testcases are very easy to publish, and occasional visitors are much more inclined to analyse and comment on such problems than commenting on code snippets that they cannot try in isolation.</p>
<p>So if you can make such a testcase, why not enter it into the jquery ticket system and ask visitors to comment on them. Even if the ticket gets closed. It does not matter. We are still a free society.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Krishna</title>
		<link>http://blog.clintonbeattie.com/how-to-solve-the-jquery-flickering-content-problem/comment-page-1/#comment-105</link>
		<dc:creator>Krishna</dc:creator>
		<pubDate>Thu, 04 Feb 2010 15:33:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.clintonbeattie.com/?p=40#comment-105</guid>
		<description>Hi,

I am just starting out with jQuery and have come across this issue.

I am adding the CSS code &quot;overflow:hidden;&quot; to my element, however it does not seem to be making any difference?!.....

In my case the flicker occurs on a form field. the code can be seen below:

Any help would be appreciated. thanks in advance!

$(&quot;.required&quot;).blur(function() {
			
				var errMessage = &quot;This field is required. Please enter a value.&quot;;
				
				if ($(this).val()==&quot;&quot;){
					
					$(this).addClass(&quot;error&quot;);
					$(this).parent().find(&quot;span&quot;).html(errMessage).addClass(&quot;slideClass&quot;).slideDown(&#039;fast&#039;);
					

				} else {
				
					$(this).removeClass(&quot;error&quot;);
					$(this).parent().find(&quot;span&quot;).html(errMessage).addClass(&quot;slideClass&quot;).slideUp(&#039;fast&#039;);
				}
				
			});</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am just starting out with jQuery and have come across this issue.</p>
<p>I am adding the CSS code &#8220;overflow:hidden;&#8221; to my element, however it does not seem to be making any difference?!&#8230;..</p>
<p>In my case the flicker occurs on a form field. the code can be seen below:</p>
<p>Any help would be appreciated. thanks in advance!</p>
<p>$(&#8220;.required&#8221;).blur(function() {</p>
<p>				var errMessage = &#8220;This field is required. Please enter a value.&#8221;;</p>
<p>				if ($(this).val()==&#8221;"){</p>
<p>					$(this).addClass(&#8220;error&#8221;);<br />
					$(this).parent().find(&#8220;span&#8221;).html(errMessage).addClass(&#8220;slideClass&#8221;).slideDown(&#8216;fast&#8217;);</p>
<p>				} else {</p>
<p>					$(this).removeClass(&#8220;error&#8221;);<br />
					$(this).parent().find(&#8220;span&#8221;).html(errMessage).addClass(&#8220;slideClass&#8221;).slideUp(&#8216;fast&#8217;);<br />
				}</p>
<p>			});</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Russ</title>
		<link>http://blog.clintonbeattie.com/how-to-solve-the-jquery-flickering-content-problem/comment-page-1/#comment-36</link>
		<dc:creator>Russ</dc:creator>
		<pubDate>Mon, 21 Dec 2009 16:08:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.clintonbeattie.com/?p=40#comment-36</guid>
		<description>Clinton,

Thanks so much for your help. This was great. 

Russ</description>
		<content:encoded><![CDATA[<p>Clinton,</p>
<p>Thanks so much for your help. This was great. </p>
<p>Russ</p>
]]></content:encoded>
	</item>
</channel>
</rss>

