<?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: Add icons to your links automatically using jQuery &amp; CSS</title>
	<atom:link href="http://cool-javascripts.com/jquery/add-icons-to-your-links-automatically-using-jquery-css.html/feed" rel="self" type="application/rss+xml" />
	<link>http://cool-javascripts.com/jquery/add-icons-to-your-links-automatically-using-jquery-css.html</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>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>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>By: nate</title>
		<link>http://cool-javascripts.com/jquery/add-icons-to-your-links-automatically-using-jquery-css.html/comment-page-1#comment-1504</link>
		<dc:creator>nate</dc:creator>
		<pubDate>Fri, 14 Aug 2009 16:11:08 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/jquery/add-icons-to-your-links-automatically-using-jquery-css.html#comment-1504</guid>
		<description>this is a great script. thanks so much for posting! awesome</description>
		<content:encoded><![CDATA[<p>this is a great script. thanks so much for posting! awesome</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: seishin</title>
		<link>http://cool-javascripts.com/jquery/add-icons-to-your-links-automatically-using-jquery-css.html/comment-page-1#comment-1046</link>
		<dc:creator>seishin</dc:creator>
		<pubDate>Tue, 21 Jul 2009 08:12:03 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/jquery/add-icons-to-your-links-automatically-using-jquery-css.html#comment-1046</guid>
		<description>your css could be shortened:
a.icon {
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 20px; 
	line-height: 16px; 
}
a.pdf {	background-image: url(images/pdf.png) ;}
a.txt {	background-image: url(images/txt.png) ;}
and so on...

then:
$(&quot;a.icon[href$=&#039;.pdf&#039;]&quot;).addClass(&quot;pdf&quot;);
or
$(&quot;a[href$=&#039;.pdf&#039;]&quot;).addClass(&quot;icon&quot;).addClass(&quot;pdf&quot;);</description>
		<content:encoded><![CDATA[<p>your css could be shortened:<br />
a.icon {<br />
	background-repeat: no-repeat;<br />
	background-position: left center;<br />
	padding-left: 20px;<br />
	line-height: 16px;<br />
}<br />
a.pdf {	background-image: url(images/pdf.png) ;}<br />
a.txt {	background-image: url(images/txt.png) ;}<br />
and so on&#8230;</p>
<p>then:<br />
$(&#8221;a.icon[href$='.pdf']&#8220;).addClass(&#8221;pdf&#8221;);<br />
or<br />
$(&#8221;a[href$='.pdf']&#8220;).addClass(&#8221;icon&#8221;).addClass(&#8221;pdf&#8221;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ney Estrabelli</title>
		<link>http://cool-javascripts.com/jquery/add-icons-to-your-links-automatically-using-jquery-css.html/comment-page-1#comment-523</link>
		<dc:creator>Ney Estrabelli</dc:creator>
		<pubDate>Tue, 12 May 2009 12:04:28 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/jquery/add-icons-to-your-links-automatically-using-jquery-css.html#comment-523</guid>
		<description>Great resource

Congratulations.</description>
		<content:encoded><![CDATA[<p>Great resource</p>
<p>Congratulations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: advise-art</title>
		<link>http://cool-javascripts.com/jquery/add-icons-to-your-links-automatically-using-jquery-css.html/comment-page-1#comment-196</link>
		<dc:creator>advise-art</dc:creator>
		<pubDate>Thu, 12 Mar 2009 13:32:51 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/jquery/add-icons-to-your-links-automatically-using-jquery-css.html#comment-196</guid>
		<description>why not .... can be useful ....</description>
		<content:encoded><![CDATA[<p>why not &#8230;. can be useful &#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 25 Powerful and Useful jQuery Tutorials for Developers and Designers &#124; guidesigner.com</title>
		<link>http://cool-javascripts.com/jquery/add-icons-to-your-links-automatically-using-jquery-css.html/comment-page-1#comment-195</link>
		<dc:creator>25 Powerful and Useful jQuery Tutorials for Developers and Designers &#124; guidesigner.com</dc:creator>
		<pubDate>Thu, 12 Mar 2009 11:12:09 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/jquery/add-icons-to-your-links-automatically-using-jquery-css.html#comment-195</guid>
		<description>[...] Add icons to your links automatically using jQuery &amp; CSS Demo URL : View Demo. Description : You want to show a particular icon to a particular type of link. For eg: a pdf icon to all pdf file links, a text document icon to all text document links, zip icon to all links that are linked to zip files etc. This tutorial will show you how using jQuery. [...]</description>
		<content:encoded><![CDATA[<p>[...] Add icons to your links automatically using jQuery &amp; CSS Demo URL : View Demo. Description : You want to show a particular icon to a particular type of link. For eg: a pdf icon to all pdf file links, a text document icon to all text document links, zip icon to all links that are linked to zip files etc. This tutorial will show you how using jQuery. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 25 Powerful and Useful jQuery Tutorials for Developers and Designers : Speckyboy Design Magazine</title>
		<link>http://cool-javascripts.com/jquery/add-icons-to-your-links-automatically-using-jquery-css.html/comment-page-1#comment-191</link>
		<dc:creator>25 Powerful and Useful jQuery Tutorials for Developers and Designers : Speckyboy Design Magazine</dc:creator>
		<pubDate>Wed, 11 Mar 2009 11:29:47 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/jquery/add-icons-to-your-links-automatically-using-jquery-css.html#comment-191</guid>
		<description>[...] Add icons to your links automatically using jQuery &amp; CSS Demo URL : View Demo. Description : You want to show a particular icon to a particular type of link. For eg: a pdf icon to all pdf file links, a text document icon to all text document links, zip icon to all links that are linked to zip files etc. This tutorial will show you how using jQuery. [...]</description>
		<content:encoded><![CDATA[<p>[...] Add icons to your links automatically using jQuery &amp; CSS Demo URL : View Demo. Description : You want to show a particular icon to a particular type of link. For eg: a pdf icon to all pdf file links, a text document icon to all text document links, zip icon to all links that are linked to zip files etc. This tutorial will show you how using jQuery. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Casey Becking</title>
		<link>http://cool-javascripts.com/jquery/add-icons-to-your-links-automatically-using-jquery-css.html/comment-page-1#comment-156</link>
		<dc:creator>Casey Becking</dc:creator>
		<pubDate>Fri, 06 Mar 2009 16:45:04 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/jquery/add-icons-to-your-links-automatically-using-jquery-css.html#comment-156</guid>
		<description>still seems to have errors when the link goes to multiple lines in IE 7 email me and ill show you</description>
		<content:encoded><![CDATA[<p>still seems to have errors when the link goes to multiple lines in IE 7 email me and ill show you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rtpHarry</title>
		<link>http://cool-javascripts.com/jquery/add-icons-to-your-links-automatically-using-jquery-css.html/comment-page-1#comment-142</link>
		<dc:creator>rtpHarry</dc:creator>
		<pubDate>Tue, 03 Mar 2009 14:50:12 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/jquery/add-icons-to-your-links-automatically-using-jquery-css.html#comment-142</guid>
		<description>Hey, I made css do this years back when it was first supported but it still isnt available in most browsers. jQuery is a good way to get this going right now instead of waiting for css 2.1 selectors to be fully supported!

But the real reason I am posting its to say thanks for those three icon search engines! Great resources, I didnt realise that kind of site existed. 

Very valuable resource :)</description>
		<content:encoded><![CDATA[<p>Hey, I made css do this years back when it was first supported but it still isnt available in most browsers. jQuery is a good way to get this going right now instead of waiting for css 2.1 selectors to be fully supported!</p>
<p>But the real reason I am posting its to say thanks for those three icon search engines! Great resources, I didnt realise that kind of site existed. </p>
<p>Very valuable resource <img src='http://cool-javascripts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
