<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ajax Online &#187; chroma hash</title>
	<atom:link href="http://www.ajaxonline.com.br/?feed=rss2&#038;tag=chroma-hash" rel="self" type="application/rss+xml" />
	<link>http://www.ajaxonline.com.br</link>
	<description>Portal sobre desenvolvimento com AJAX</description>
	<lastBuildDate>Fri, 21 Aug 2009 23:34:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Chroma Hash</title>
		<link>http://www.ajaxonline.com.br/?p=338</link>
		<comments>http://www.ajaxonline.com.br/?p=338#comments</comments>
		<pubDate>Sat, 08 Aug 2009 23:44:23 +0000</pubDate>
		<dc:creator>Tiago Floriano</dc:creator>
				<category><![CDATA[Tutoriais]]></category>
		<category><![CDATA[chroma hash]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[Matt Thompson]]></category>
		<category><![CDATA[verificador de senha]]></category>

		<guid isPermaLink="false">http://www.ajaxonline.com.br/?p=338</guid>
		<description><![CDATA[Matt Thompson criou uma forma divertida, com jQuery, de verificar se a senha digitada no campo de senha e no campo onde você confirma sua senha são iguais.
Veja: http://mattt.github.com/Chroma-Hash/
Isto é possível graças as seguintes linhas:

$(this).css({position:   'absolute',
left:       position.left + width - 2,
top:       [...]]]></description>
			<content:encoded><![CDATA[<p>Matt Thompson criou uma forma divertida, com jQuery, de verificar se a senha digitada no campo de senha e no campo onde você confirma sua senha são iguais.</p>
<p>Veja: <a href="http://mattt.github.com/Chroma-Hash/" target="_blank">http://mattt.github.com/Chroma-Hash/</a></p>
<p>Isto é possível graças as seguintes linhas<span id="more-338"></span>:</p>
<pre name="code" class"javascript">
$(this).css({position:   'absolute',
left:       position.left + width - 2,
top:        position.top,
height:     height + "px",
width:      8 + "px",
margin:     5 + "px",
marginLeft: -8 * (i + 1) + "px"
}
);
});

var id     = $(this).attr('id');
var md5    = hex_md5($(this).val());
var colors = md5.match(/([\dABCDEF]{6})/ig);
$(".chroma-hash").stop();

chromaHashesForElement(this).each(function(i) {
$(this).animate({backgroundColor:"#" + colors[i]});
});</pre>
<p>Fonte: <a href="http://ajaxian.com/archives/chroma-hash-interesting-visualization-of-your-password" target="_blank">Ajaxian</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxonline.com.br/?feed=rss2&amp;p=338</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
