<?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 My blog</title>
	<atom:link href="http://www.coshima.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.coshima.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 02 Feb 2011 20:41:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>Comment on Custom checkboxes and radio buttons with jQuery by craig</title>
		<link>http://www.coshima.com/2010/09/22/custom-checkboxes-and-radio-buttons-with-jquery/comment-page-1/#comment-51</link>
		<dc:creator>craig</dc:creator>
		<pubDate>Wed, 02 Feb 2011 20:41:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.coshima.com/?p=14#comment-51</guid>
		<description>To better handle varying backgrounds, I changed the approach from using z-index to position the label over the checkbox element and now just position the checkbox element way offscreen to the left. (And obviously, switched the sprites to an image with transparency.) We&#039;ll see how well it works out; seems good so far.</description>
		<content:encoded><![CDATA[<p>To better handle varying backgrounds, I changed the approach from using z-index to position the label over the checkbox element and now just position the checkbox element way offscreen to the left. (And obviously, switched the sprites to an image with transparency.) We&#8217;ll see how well it works out; seems good so far.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom checkboxes and radio buttons with jQuery by craig</title>
		<link>http://www.coshima.com/2010/09/22/custom-checkboxes-and-radio-buttons-with-jquery/comment-page-1/#comment-5</link>
		<dc:creator>craig</dc:creator>
		<pubDate>Wed, 29 Sep 2010 17:15:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.coshima.com/?p=14#comment-5</guid>
		<description>A couple follow-up comments: First, saving a reference to the wrapper div was pointless, because you cannot dynamically change the input&#039;s type from checkbox to radio button (I should have known that), and consequently, the element needs to be replaced and the event handlers hooked up again. I considered using event delegation to avoid having to re-bind events, but in the end decided to just blow away the checkboxes and replace them with a new set of radio buttons.

Second, this approach works by covering the native checkbox or radio with the corresponding label, which has an opaque background. This means if you need checkboxes to appear on more than one color, you&#039;ll need one image sprite for each background color. I&#039;m okay with this limitation, but it&#039;s unfortunate. I look forward to seeing what jQuery UI comes up with.</description>
		<content:encoded><![CDATA[<p>A couple follow-up comments: First, saving a reference to the wrapper div was pointless, because you cannot dynamically change the input&#8217;s type from checkbox to radio button (I should have known that), and consequently, the element needs to be replaced and the event handlers hooked up again. I considered using event delegation to avoid having to re-bind events, but in the end decided to just blow away the checkboxes and replace them with a new set of radio buttons.</p>
<p>Second, this approach works by covering the native checkbox or radio with the corresponding label, which has an opaque background. This means if you need checkboxes to appear on more than one color, you&#8217;ll need one image sprite for each background color. I&#8217;m okay with this limitation, but it&#8217;s unfortunate. I look forward to seeing what jQuery UI comes up with.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

