<?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>James Revillini &#187; dhtml</title>
	<atom:link href="http://james.revillini.com/tag/dhtml/feed/" rel="self" type="application/rss+xml" />
	<link>http://james.revillini.com</link>
	<description>Say 'no' to styrofoam.</description>
	<lastBuildDate>Sun, 25 Jul 2010 13:03:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Dynamically populate an element styled with white-space: pre</title>
		<link>http://james.revillini.com/2008/01/22/dynamically-populate-an-element-styled-with-white-space-pre/</link>
		<comments>http://james.revillini.com/2008/01/22/dynamically-populate-an-element-styled-with-white-space-pre/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 16:08:08 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[dhtml]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://james.revillini.com/2008/01/22/dynamically-populate-an-element-styled-with-white-space-pre/</guid>
		<description><![CDATA[Assume: $ = document.getElementById; pre = $('pre-text-element'); //pre-text-element is the ID of my pre tag element You cannot use: $('element').innerHTML = 'line1\nline2'; //will not work in IE7 You must do this: e = $('element'); while(kid=e.firstChild) { e.removeChild(kid) } //remove all children in the e.appendChild('line1\nline2'); Lame, huh?]]></description>
			<content:encoded><![CDATA[<p>Assume:</p>
<pre>$ = document.getElementById;
pre = $('pre-text-element');  //pre-text-element is the ID of my pre tag element</pre>
<p>You cannot use:</p>
<pre>$('element').innerHTML = 'line1\nline2'; //will not work in IE7</pre>
<p>You must do this:</p>
<pre>e = $('element');
while(kid=e.firstChild) { e.removeChild(kid) }  //remove all children in the
e.appendChild('line1\nline2');</pre>
<p>Lame, huh?</p>
]]></content:encoded>
			<wfw:commentRss>http://james.revillini.com/2008/01/22/dynamically-populate-an-element-styled-with-white-space-pre/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Condiments for SWFUpload Initial Release</title>
		<link>http://james.revillini.com/2007/03/28/condiments-for-swfupload-initial-release/</link>
		<comments>http://james.revillini.com/2007/03/28/condiments-for-swfupload-initial-release/#comments</comments>
		<pubDate>Thu, 29 Mar 2007 05:04:40 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[dhtml]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[skin]]></category>
		<category><![CDATA[upload]]></category>

		<guid isPermaLink="false">http://james.revillini.com/2007/03/28/condiments-for-swfupload-initial-release/</guid>
		<description><![CDATA[I have released a kit which aims to make life a little easier for those of you who want to spruce up the SWFUpload interface with some style. An example using the tango desktop project theme:]]></description>
			<content:encoded><![CDATA[<p>I have released <a href="/projects/condiments-for-swfupload">a kit</a> which aims to make life a little easier for those of you who want to spruce up the SWFUpload interface with some style. An example using the tango desktop project theme:</p>
<p><a title="Screenshot of Condiments in action." href="/projects/condiments-for-swfupload"><img src="http://james.revillini.com/wp-content/uploads/2007/03/screenshot-tango.png" alt="Screenshot of Condiments in action." /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://james.revillini.com/2007/03/28/condiments-for-swfupload-initial-release/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
