<?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>Brad Collins &#187; Web</title>
	<atom:link href="http://bradcollins.com/tag/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://bradcollins.com</link>
	<description>Religion, Politics, Tech, Language, Life</description>
	<lastBuildDate>Thu, 22 Jul 2010 18:15:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Sugar Scrub</title>
		<link>http://bradcollins.com/2009/05/26/sugar-scrub/</link>
		<comments>http://bradcollins.com/2009/05/26/sugar-scrub/#comments</comments>
		<pubDate>Tue, 26 May 2009 12:21:34 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[humor]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[wife]]></category>

		<guid isPermaLink="false">http://bradcollins.com/?p=123</guid>
		<description><![CDATA[I am reading Andy Clarke&#8217;s Transcending CSS, and in it he encourages looking for Web design inspiration in places other than the Web: cereal boxes, newspapers, magazines, buildings, to name a few. (This is something I&#8217;ve done for some time &#8230; <a href="http://bradcollins.com/2009/05/26/sugar-scrub/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I am reading <a href="http://www.stuffandnonsense.co.uk/">Andy</a> <a href="http://forabeautifulweb.com/">Clarke&#8217;s</a> <a href="http://www.transcendingcss.com/">Transcending CSS</a>, and in it he encourages looking for Web design inspiration in places other than the Web: cereal boxes, newspapers, magazines, buildings, to name a few. (This is something I&#8217;ve done for some time now, but I&#8217;ve been making a more conscious effort of late, given his advice.)</p>
<p>This morning I picked up a tube of my wife&#8217;s facial scrub. I looked for anything interesting in the design on the front. Then I looked at the back, which contains, among other things, an ingredient list. I wasn&#8217;t scanning the ingredient list as much as my eyes just happened to fall on one word:</p>
<p>Saliva.</p>
<p>Saliva! They put <em>saliva</em> in facial scrub? I looked again.</p>
<p>Sal<strong>vi</strong>a.</p>
<p><span>Salvia</span> officinalis (sage) leaf extract. Ah, helps to keep reading past the line break.</p>
]]></content:encoded>
			<wfw:commentRss>http://bradcollins.com/2009/05/26/sugar-scrub/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Don&#8217;t Let A Spec Pick Your Button Type</title>
		<link>http://bradcollins.com/2008/12/03/dont-let-a-spec-pick-your-button-type/</link>
		<comments>http://bradcollins.com/2008/12/03/dont-let-a-spec-pick-your-button-type/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 17:54:59 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Peeves]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://bradcollins.com/?p=48</guid>
		<description><![CDATA[Ever need to create a &#60;button&#62; of type button when you&#8217;re doing a little DOM scripting? Easy enough, right? It should go something like this: var okButton = document.createElement('button'); okButton.type = 'button'; Nevertheless when you run this code in IE6, &#8230; <a href="http://bradcollins.com/2008/12/03/dont-let-a-spec-pick-your-button-type/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ever need to create a <code>&lt;button&gt;</code> of type <code>button</code> when you&#8217;re doing a little <acronym title="Document Object Model">DOM</acronym> scripting? Easy enough, right? It should go something like this:</p>
<pre><code>var okButton = document.createElement('button');
okButton.type = 'button';
</code></pre>
<p>Nevertheless when you run this code in <acronym title="Internet Explorer, version 6">IE6</acronym>, you get the super-informative &#8220;Communication error&#8221; message. It turns out that IE6 (for once) is following the standard. I don&#8217;t know what the <acronym title="World Wide Web Consortium">W3C</acronym> were thinking, but so sayeth the <a title="The current version as of this writing" href="http://www.w3.org/TR/DOM-Level-2-HTML/ecma-script-binding.html">ECMAScript Language Binding (9 January 2003)</a> spec about the <code>type</code> property of the <code>HTMLButtonElement</code>:</p>
<blockquote><dl>
<dt><strong>type</strong></dt>
<dd>This read-only property is a <strong>String</strong>.</dd>
</dl>
</blockquote>
<p>So, the common way to set the property of an HTML element is, according to the standard, <em>right out</em>? I mean, it&#8217;s not inconceivable that I would want to create a <code>&lt;button&gt;</code> on the fly with a type that is not the default.</p>
<p>Alas there is a workaround. Ironically, it employs the standard method of setting DOM <code>Node</code>&#8216;s attribute value:</p>
<pre><code>var okButton = document.createElement('button');
<strong>okButton.setAttribute('type', 'button');</strong></code></pre>
<p>Works like a charm! Even in IE6.</p>
<p>(I should note that Firefox 3 allows for writing to the button&#8217;s type property using the <code>button.type</code> notation. I didn&#8217;t test with other browsers to see whether they balk at the <code>button.type</code> notation, but Firefox 2/3, Opera 9.6, and Safari 3, along with IE6/7, are more than amenable to the <code>setAttribute</code> method.)</p>
]]></content:encoded>
			<wfw:commentRss>http://bradcollins.com/2008/12/03/dont-let-a-spec-pick-your-button-type/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ColorBurn&#8217;s Back</title>
		<link>http://bradcollins.com/2008/03/21/colorburns-back/</link>
		<comments>http://bradcollins.com/2008/03/21/colorburns-back/#comments</comments>
		<pubDate>Fri, 21 Mar 2008 15:42:06 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[ColorBurn]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://bradcollins.com/2008/03/21/colorburns-back/</guid>
		<description><![CDATA[Web designers will be glad to know that ColorBurn is back! Shortly after the first of the year, ColorBurn just stopped working.  I looked around on the Net for an explanation, but all I could find were others also wondering &#8230; <a href="http://bradcollins.com/2008/03/21/colorburns-back/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Web designers will be glad to know that <a href="http://www.firewheeldesign.com/widgets/">ColorBurn</a> is back!</p>
<p><img src="http://bradcollins.com/wp-content/uploads/2008/03/color-burn.png" class="centered" title="Firewheel Design's ColorBurn widget" alt="ColorBurn screenshot" /></p>
<p>Shortly after the first of the year, ColorBurn just stopped working.  I looked around on the Net for an explanation, but all I could find were others also wondering what had happened.  I had given up hope, assuming that the guys at <a href="http://www.firewheeldesign.com/" title="Firewheel Design">Firewheel</a> just got tired of maintaining it.  But here they are with entries for today and the last week as if they never skipped a beat.</p>
<p>And there was much rejoicing.</p>
]]></content:encoded>
			<wfw:commentRss>http://bradcollins.com/2008/03/21/colorburns-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
