<?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: IE6 and input type changes: short answer, ie6 sucks, long answer:</title>
	<atom:link href="http://www.olivernassar.com/2009/10/10/ie6-and-input-type-changes-short-answer-ie6-sucks-long-answer/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.olivernassar.com/2009/10/10/ie6-and-input-type-changes-short-answer-ie6-sucks-long-answer/</link>
	<description>Making the interwebs.</description>
	<lastBuildDate>Tue, 27 Jul 2010 21:50:16 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: onassar</title>
		<link>http://www.olivernassar.com/2009/10/10/ie6-and-input-type-changes-short-answer-ie6-sucks-long-answer/#comment-2156</link>
		<dc:creator>onassar</dc:creator>
		<pubDate>Tue, 12 Jan 2010 01:02:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.olivernassar.com/?p=260#comment-2156</guid>
		<description>Nice dude. My comment&#039;s section sucks, so it&#039;s not formatted well. Sorry about that. I&#039;ll update that soon.</description>
		<content:encoded><![CDATA[<p>Nice dude. My comment&#8217;s section sucks, so it&#8217;s not formatted well. Sorry about that. I&#8217;ll update that soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.olivernassar.com/2009/10/10/ie6-and-input-type-changes-short-answer-ie6-sucks-long-answer/#comment-2099</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Thu, 31 Dec 2009 14:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.olivernassar.com/?p=260#comment-2099</guid>
		<description>This was my solution...

	var tog_kod = function(el){
		var def = &#039;show pass&#039;;
		if (!Browser.Engine.trident)
			{
			if (el.get(&#039;text&#039;) == def)
				{
					$(&#039;pass&#039;).set(&#039;type&#039;,&#039;text&#039;);
					el.set(&#039;text&#039;,&#039;hide pass&#039;)
				}
			else
				{
					$(&#039;pass&#039;).set(&#039;type&#039;,&#039;password&#039;);
					el.set(&#039;text&#039;,def)
				}
			}
		else
			{
				var into = $(&#039;pass&#039;).get(&#039;value&#039;);
				var neo = function(into,typ){
					new Element(&#039;input&#039;, {
						&#039;class&#039;:&#039;login&#039;,
						&#039;id&#039;:&#039;pass&#039;,
						&#039;type&#039;:typ,
						&#039;value&#039;:into
					}).injectAfter(&#039;email&#039;);
					$(&#039;email&#039;).focus();
					inside();
				}
				if (el.get(&#039;text&#039;) == def)
					{
						$(&#039;pass&#039;).dispose();
						var typ = &#039;text&#039;;
						neo(into,typ);
						el.set(&#039;text&#039;,&#039;hide pass&#039;)
						el.focus();
					}
				else
					{
						$(pass).dispose();
						var typ = &#039;password&#039;;
						neo(into,typ);
						el.set(&#039;text&#039;,def)
						el.focus();
					}
			}
	}</description>
		<content:encoded><![CDATA[<p>This was my solution&#8230;</p>
<p>	var tog_kod = function(el){<br />
		var def = &#8217;show pass&#8217;;<br />
		if (!Browser.Engine.trident)<br />
			{<br />
			if (el.get(&#8217;text&#8217;) == def)<br />
				{<br />
					$(&#8217;pass&#8217;).set(&#8217;type&#8217;,'text&#8217;);<br />
					el.set(&#8217;text&#8217;,'hide pass&#8217;)<br />
				}<br />
			else<br />
				{<br />
					$(&#8217;pass&#8217;).set(&#8217;type&#8217;,'password&#8217;);<br />
					el.set(&#8217;text&#8217;,def)<br />
				}<br />
			}<br />
		else<br />
			{<br />
				var into = $(&#8217;pass&#8217;).get(&#8217;value&#8217;);<br />
				var neo = function(into,typ){<br />
					new Element(&#8217;input&#8217;, {<br />
						&#8216;class&#8217;:'login&#8217;,<br />
						&#8216;id&#8217;:'pass&#8217;,<br />
						&#8216;type&#8217;:typ,<br />
						&#8216;value&#8217;:into<br />
					}).injectAfter(&#8217;email&#8217;);<br />
					$(&#8217;email&#8217;).focus();<br />
					inside();<br />
				}<br />
				if (el.get(&#8217;text&#8217;) == def)<br />
					{<br />
						$(&#8217;pass&#8217;).dispose();<br />
						var typ = &#8216;text&#8217;;<br />
						neo(into,typ);<br />
						el.set(&#8217;text&#8217;,'hide pass&#8217;)<br />
						el.focus();<br />
					}<br />
				else<br />
					{<br />
						$(pass).dispose();<br />
						var typ = &#8216;password&#8217;;<br />
						neo(into,typ);<br />
						el.set(&#8217;text&#8217;,def)<br />
						el.focus();<br />
					}<br />
			}<br />
	}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
