<?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: Cross browser rounded corners, part 2</title>
	<atom:link href="http://www.stevepugh.net/VTT/2008/11/30/cross-browser-rounded-corners-part-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stevepugh.net/VTT/2008/11/30/cross-browser-rounded-corners-part-2/</link>
	<description>&#34;He talks to himself sometimes because he&#039;s the only one who understands what he&#039;s saying.&#34;</description>
	<lastBuildDate>Wed, 21 Dec 2011 15:46:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Steve Pugh</title>
		<link>http://www.stevepugh.net/VTT/2008/11/30/cross-browser-rounded-corners-part-2/comment-page-1/#comment-29837</link>
		<dc:creator>Steve Pugh</dc:creator>
		<pubDate>Thu, 25 Jun 2009 11:37:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevepugh.net/VTT/?p=973#comment-29837</guid>
		<description>The link you included didn&#039;t go to anything related to jQuery Corners. I suspect you meant http://www.malsup.com/jquery/corner/ but somehow substituted a link to a poker site instead. Whoops.

Regarding CPU cycles, as with all these things the efficiency of the selector is the key. If you have just one rounded button per page then $(&quot;#id&quot;) will be as efficient as you can get. With multiple sets then $(&quot;input.class&quot;) is good but $(&quot;#id input.class&quot;) is better if possible. See, for example, http://www.ibm.com/developerworks/web/library/wa-aj-advjquery/

Adding a few elements to the DOM and switching some classes is probably more efficient than adding the many elements to the DOM that the jQuery Corners method uses.

Finally, the jQuery Corners method can&#039;t easily create multi-colour corners like the ones used in my example.</description>
		<content:encoded><![CDATA[<p>The link you included didn&#8217;t go to anything related to jQuery Corners. I suspect you meant <a href="http://www.malsup.com/jquery/corner/" rel="nofollow">http://www.malsup.com/jquery/corner/</a> but somehow substituted a link to a poker site instead. Whoops.</p>
<p>Regarding CPU cycles, as with all these things the efficiency of the selector is the key. If you have just one rounded button per page then $(&#8220;#id&#8221;) will be as efficient as you can get. With multiple sets then $(&#8220;input.class&#8221;) is good but $(&#8220;#id input.class&#8221;) is better if possible. See, for example, <a href="http://www.ibm.com/developerworks/web/library/wa-aj-advjquery/" rel="nofollow">http://www.ibm.com/developerworks/web/library/wa-aj-advjquery/</a></p>
<p>Adding a few elements to the DOM and switching some classes is probably more efficient than adding the many elements to the DOM that the jQuery Corners method uses.</p>
<p>Finally, the jQuery Corners method can&#8217;t easily create multi-colour corners like the ones used in my example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keno umsonst spielen</title>
		<link>http://www.stevepugh.net/VTT/2008/11/30/cross-browser-rounded-corners-part-2/comment-page-1/#comment-29836</link>
		<dc:creator>Keno umsonst spielen</dc:creator>
		<pubDate>Thu, 25 Jun 2009 10:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevepugh.net/VTT/?p=973#comment-29836</guid>
		<description>Stumbled on this JQuery Corner Demo which shows a really nice and flexible way to create rounded corners (or not even rounded) for boxes. The only potential problem here is: is this more CPU cycles than using the image/CSS tricks? Probably worth a very good try if you are already using jQuery on your sites. Regardless, worthy of a bookmark - especially if you need rounded corners at 2am in the morning.</description>
		<content:encoded><![CDATA[<p>Stumbled on this JQuery Corner Demo which shows a really nice and flexible way to create rounded corners (or not even rounded) for boxes. The only potential problem here is: is this more CPU cycles than using the image/CSS tricks? Probably worth a very good try if you are already using jQuery on your sites. Regardless, worthy of a bookmark &#8211; especially if you need rounded corners at 2am in the morning.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

