<?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 for Cool Javascripts</title>
	<atom:link href="http://cool-javascripts.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://cool-javascripts.com</link>
	<description>The best javascripts for your site</description>
	<lastBuildDate>Tue, 05 Jan 2010 10:25:21 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>Comment on Vertical alignment of contents inside an element using jQuery by admin</title>
		<link>http://cool-javascripts.com/jquery/vertical-alignment-of-contents-inside-an-element-using-jquery.html/comment-page-1#comment-4775</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 05 Jan 2010 10:25:21 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/jquery/vertical-alignment-of-contents-inside-an-element-using-jquery.html#comment-4775</guid>
		<description>Hi Matt,

Thanks for visiting my blog and posting comment.
Regarding your question, I think it may be due to the image tag. If you&#039;re calling this method in &lt;em&gt;document.ready()&lt;/em&gt;, this may happen. Because, document.ready() triggers when the html is loaded - at that time, the images may not be downloaded fully and hence the function will fail. It will work the second time as the image is already cached in browser. 

You may try the following to fix the problem.

If possible, include the width and height attribute to the image tag (May be if you&#039;re using, server side scripts like PHP, it should be possible).  Eg: &lt;img width=&quot;300&quot; height=&quot;200&quot; src= &quot;&quot; /&gt;&lt;/li&gt;

Try calling the align function on &lt;strong&gt;window.load()&lt;/strong&gt; instead of &lt;em&gt;document.ready()&lt;/em&gt;. (Because window.load() will be triggered only after loading all images and full dependencies) 
Eg: &lt;em&gt;$(window).load(function(){$(&quot;div.special&quot;).vAlign()});&lt;/em&gt;


Hope this helps :)</description>
		<content:encoded><![CDATA[<p>Hi Matt,</p>
<p>Thanks for visiting my blog and posting comment.<br />
Regarding your question, I think it may be due to the image tag. If you&#8217;re calling this method in <em>document.ready()</em>, this may happen. Because, document.ready() triggers when the html is loaded &#8211; at that time, the images may not be downloaded fully and hence the function will fail. It will work the second time as the image is already cached in browser. </p>
<p>You may try the following to fix the problem.</p>
<p>If possible, include the width and height attribute to the image tag (May be if you&#8217;re using, server side scripts like PHP, it should be possible).  Eg: &lt;img width=&#8221;300&#8243; height=&#8221;200&#8243; src= &#8220;&#8221; /&gt;</p>
<p>Try calling the align function on <strong>window.load()</strong> instead of <em>document.ready()</em>. (Because window.load() will be triggered only after loading all images and full dependencies)<br />
Eg: <em>$(window).load(function(){$(&#8221;div.special&#8221;).vAlign()});</em></p>
<p>Hope this helps <img src='http://cool-javascripts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Vertical alignment of contents inside an element using jQuery by Matt</title>
		<link>http://cool-javascripts.com/jquery/vertical-alignment-of-contents-inside-an-element-using-jquery.html/comment-page-1#comment-4770</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Tue, 05 Jan 2010 03:34:52 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/jquery/vertical-alignment-of-contents-inside-an-element-using-jquery.html#comment-4770</guid>
		<description>I am having problems with multiple instances of elements calling the plugin.

The first element that uses the plugin will vertically center, but often the elements that follow will not unless I refresh the browser.

I am vertically centering an image in a fixed width div multiple times on a page for a thumbnail gallery. The images vary in height, which is why I can&#039;t use strait css.

Any ideas on how to solve this issue?</description>
		<content:encoded><![CDATA[<p>I am having problems with multiple instances of elements calling the plugin.</p>
<p>The first element that uses the plugin will vertically center, but often the elements that follow will not unless I refresh the browser.</p>
<p>I am vertically centering an image in a fixed width div multiple times on a page for a thumbnail gallery. The images vary in height, which is why I can&#8217;t use strait css.</p>
<p>Any ideas on how to solve this issue?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Add icons to your links automatically using jQuery &amp; CSS by sabo</title>
		<link>http://cool-javascripts.com/jquery/add-icons-to-your-links-automatically-using-jquery-css.html/comment-page-1#comment-4633</link>
		<dc:creator>sabo</dc:creator>
		<pubDate>Tue, 29 Dec 2009 02:26:48 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/jquery/add-icons-to-your-links-automatically-using-jquery-css.html#comment-4633</guid>
		<description>oh, silly me. i got it. forget that i said anything :)</description>
		<content:encoded><![CDATA[<p>oh, silly me. i got it. forget that i said anything <img src='http://cool-javascripts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Add icons to your links automatically using jQuery &amp; CSS by sabo</title>
		<link>http://cool-javascripts.com/jquery/add-icons-to-your-links-automatically-using-jquery-css.html/comment-page-1#comment-4632</link>
		<dc:creator>sabo</dc:creator>
		<pubDate>Tue, 29 Dec 2009 01:43:11 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/jquery/add-icons-to-your-links-automatically-using-jquery-css.html#comment-4632</guid>
		<description>how about adding this posibility to one specific class, instead of entire site? for example, i would like to have this effect within my articles, but i don&#039;t want it all around because it will mess up my page.</description>
		<content:encoded><![CDATA[<p>how about adding this posibility to one specific class, instead of entire site? for example, i would like to have this effect within my articles, but i don&#8217;t want it all around because it will mess up my page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 10 jQuery plugins for showing image gallery by PremiumThemesDirectory</title>
		<link>http://cool-javascripts.com/galleries/10-jquery-plugins-for-showing-image-gallery.html/comment-page-1#comment-4368</link>
		<dc:creator>PremiumThemesDirectory</dc:creator>
		<pubDate>Tue, 15 Dec 2009 07:58:16 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/galleries/10-jquery-plugins-for-showing-image-gallery.html#comment-4368</guid>
		<description>Great list, best plugins, I like it!</description>
		<content:encoded><![CDATA[<p>Great list, best plugins, I like it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Image Flow 0.9 by Paul</title>
		<link>http://cool-javascripts.com/effects/image-flow-09.html/comment-page-1#comment-3781</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Thu, 12 Nov 2009 15:42:02 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/?p=9#comment-3781</guid>
		<description>great script thanks - ive used it on my site and have taken the slider controls off, is it possible to then get the content to automatically loop round and round, instead of having 2 ends?</description>
		<content:encoded><![CDATA[<p>great script thanks &#8211; ive used it on my site and have taken the slider controls off, is it possible to then get the content to automatically loop round and round, instead of having 2 ends?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Vertical alignment of contents inside an element using jQuery by exeQutor</title>
		<link>http://cool-javascripts.com/jquery/vertical-alignment-of-contents-inside-an-element-using-jquery.html/comment-page-1#comment-3565</link>
		<dc:creator>exeQutor</dc:creator>
		<pubDate>Tue, 03 Nov 2009 03:47:36 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/jquery/vertical-alignment-of-contents-inside-an-element-using-jquery.html#comment-3565</guid>
		<description>Nice plugin. Although this looks like a copy/an enhancement based from: http://www.seodenver.com/simple-vertical-align-plugin-for-jquery/</description>
		<content:encoded><![CDATA[<p>Nice plugin. Although this looks like a copy/an enhancement based from: <a href="http://www.seodenver.com/simple-vertical-align-plugin-for-jquery/" rel="nofollow">http://www.seodenver.com/simple-vertical-align-plugin-for-jquery/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Which is the best lightbox clone for jQuery ? by Dan</title>
		<link>http://cool-javascripts.com/galleries/which-is-the-best-lightbox-clone-for-jquery.html/comment-page-1#comment-3499</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Thu, 29 Oct 2009 21:31:26 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/galleries/which-is-the-best-lightbox-clone-for-jquery.html#comment-3499</guid>
		<description>Pretty Photo is great. It&#039;s definitely the cleanest and easiest to implement. However I wish someone would create some sort of Lightbox that has a design/layout API so it can be easily customizable. :-)

Good article and thanks for posting it!</description>
		<content:encoded><![CDATA[<p>Pretty Photo is great. It&#8217;s definitely the cleanest and easiest to implement. However I wish someone would create some sort of Lightbox that has a design/layout API so it can be easily customizable. <img src='http://cool-javascripts.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Good article and thanks for posting it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery Impromptu &#8211; alert and confirm replacement with form support by Daniel</title>
		<link>http://cool-javascripts.com/modal-windows/jquery-impromptu-alert-and-confirm-replacement-with-form-support.html/comment-page-1#comment-3483</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Thu, 29 Oct 2009 00:39:40 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/modal-windows/jquery-impromptu-alert-and-confirm-replacement-with-form-support.html#comment-3483</guid>
		<description>When I use jQuery Impromptu with Sitemesh or tiles, slidedown &amp; slideup is strange
in IE. However there is not an issue in firefox.</description>
		<content:encoded><![CDATA[<p>When I use jQuery Impromptu with Sitemesh or tiles, slidedown &amp; slideup is strange<br />
in IE. However there is not an issue in firefox.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Which is the best lightbox clone for jQuery ? by DamsJqueries</title>
		<link>http://cool-javascripts.com/galleries/which-is-the-best-lightbox-clone-for-jquery.html/comment-page-1#comment-3265</link>
		<dc:creator>DamsJqueries</dc:creator>
		<pubDate>Mon, 19 Oct 2009 16:17:20 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/galleries/which-is-the-best-lightbox-clone-for-jquery.html#comment-3265</guid>
		<description>No Comment ! Just Use :

http://colorpowered.com/colorbox</description>
		<content:encoded><![CDATA[<p>No Comment ! Just Use :</p>
<p><a href="http://colorpowered.com/colorbox" rel="nofollow">http://colorpowered.com/colorbox</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
