<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="http://www.bytemycode.com/rssformat.xsl"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>byteMyCode: Snippets for the chaos</title>
		<link>http://www.bytemycode.com</link>
		<description>Snippets for this member.</description>
		<pubDate>Sun, 12 Oct 2008 10:39:18 +0000</pubDate>
		<copyright>1998-2008 </copyright>
		<language>en-us</language>
		<image>
		      <link>http://www.bytemycode.com</link>
		      <url>http://www.bytemycode.com/img/rss_title.gif</url>
		      <title>byteMyCode</title>
		</image>

	<item>
	<title>createNamedElement</title>
	<link>http://www.bytemycode.com/snippets/snippet/745/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/745/comments/</comments>
	<pubDate>Wed, 17 Oct 2007 14:34:13 +0000</pubDate>
	<dc:creator>chaos</dc:creator>
	<category>createElement, IE, JavaScript</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/745/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Wed. Oct. 17th, 2007  2:34 PM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/745/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_helper.gif" align="middle" class="icon" alt="Helper" /> <a href="http://www.bytemycode.com/members/member/chaos/" title="Helper">chaos</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/createElement">createElement</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/IE">IE</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/JavaScript">JavaScript</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/745/comments/">0 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 6
			<p>A wrapper on top of createElement for getting around IE problems with manipulating the name attribute. Unlike most solutions for this, it tests for which method to use once when the page loads rather than every time an element is created. By Chaos of <a href='http://lostsouls.org' target="_blank">Lost Souls MUD (a text-based fantasy RPG)</a>.</p>
		]]>
	</description>
</item><item>
	<title>CreateNamedElement</title>
	<link>http://www.bytemycode.com/snippets/snippet/744/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/744/comments/</comments>
	<pubDate>Wed, 17 Oct 2007 14:26:17 +0000</pubDate>
	<dc:creator>chaos</dc:creator>
	<category>createElement, IE</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/744/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Wed. Oct. 17th, 2007  2:26 PM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/744/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_helper.gif" align="middle" class="icon" alt="Helper" /> <a href="http://www.bytemycode.com/members/member/chaos/" title="Helper">chaos</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/createElement">createElement</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/IE">IE</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/744/comments/">0 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 2
			<p>A wrapper on top of createElement for getting around IE problems with manipulating the <i>name</i> attribute.  Unlike most solutions for this, it tests for which method to use once when the page loads rather than every time an element is created.  By Chaos of <a href='http://lostsouls.org' target="_blank">Lost Souls MUD (a text-based fantasy RPG)</a>.</p>
		]]>
	</description>
</item><item>
	<title>Diminishing Returns Formula</title>
	<link>http://www.bytemycode.com/snippets/snippet/741/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/741/comments/</comments>
	<pubDate>Sun, 07 Oct 2007 03:47:13 +0000</pubDate>
	<dc:creator>chaos</dc:creator>
	<category>"diminishing returns", formula, JavaScript, math</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/741/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Sun. Oct. 7th, 2007  3:47 AM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/741/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_helper.gif" align="middle" class="icon" alt="Helper" /> <a href="http://www.bytemycode.com/members/member/chaos/" title="Helper">chaos</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/%22diminishing+returns%22">"diminishing returns"</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/formula">formula</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/JavaScript">JavaScript</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/math">math</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/741/comments/">0 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 3
			<p>A simple, flexible formula for generating diminishing returns out of input numbers.  Full explanation and home, with sample calculators and versions of the code in other languages, on the <a href='http://lostsouls.org/grimoire_diminishing_returns' target="_blank">Lost Souls MUD Grimoire</a>.</p>
		]]>
	</description>
</item><item>
	<title>Drop-In Form Autofocus Script</title>
	<link>http://www.bytemycode.com/snippets/snippet/732/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/732/comments/</comments>
	<pubDate>Tue, 25 Sep 2007 10:50:13 +0000</pubDate>
	<dc:creator>chaos</dc:creator>
	<category>"form input", "input focus", autofocus, JavaScript</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/732/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Tue. Sep. 25th, 2007  10:50 AM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/732/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_helper.gif" align="middle" class="icon" alt="Helper" /> <a href="http://www.bytemycode.com/members/member/chaos/" title="Helper">chaos</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/%22form+input%22">"form input"</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/%22input+focus%22">"input focus"</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/autofocus">autofocus</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/JavaScript">JavaScript</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/732/comments/">0 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 3
			<p>This script performs reliable, cross-browser input autofocus that often can be used simply by dropping it in, with no modifications to the form or HTML body.  It refuses to switch focus if it detects that the user has interacted with the form (avoiding a major source of annoyance with autofocus scripts) and correctly handles Firefox tabs opened "in the background", which most autofocus scripts fail on.  Official home is on the <a href='http://lostsouls.org/grimoire_form_autofocus' target="_blank">Lost Souls MUD Grimoire</a>.</p>
		]]>
	</description>
</item>
	</channel>
</rss>