<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss 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" version="2.0">

<channel>
	<title>woolie t.</title>
	
	<link>http://www.wooliet.com</link>
	<description>Floating my Boat</description>
	<pubDate>Thu, 20 Nov 2008 13:18:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/wooliet" type="application/rss+xml" /><item>
		<title>Congratulations Daisy, It’s Twins!</title>
		<link>http://www.wooliet.com/2008/11/20/congratulations-daisy-its-twins/</link>
		<comments>http://www.wooliet.com/2008/11/20/congratulations-daisy-its-twins/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 13:18:30 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
		
		<category><![CDATA[Food]]></category>

		<category><![CDATA[breakfast]]></category>

		<category><![CDATA[eggs]]></category>

		<category><![CDATA[fertility]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=259</guid>
		<description><![CDATA[The other morning it was just the baby and I at home. I decided to fry a couple of eggs to eat for breakfast while I fed her.  I crack the first one over the pan, let it cook a bit and then fold it over.  I grab the second egg out of [...]]]></description>
			<content:encoded><![CDATA[<p>The other morning it was just the baby and I at home. I decided to fry a couple of eggs to eat for breakfast while I fed her.  I crack the first one over the pan, let it cook a bit and then fold it over.  I grab the second egg out of the carton, crack it on the edge of the pan and out from within drops <strong>two</strong> egg yolks. Twins! </p>
<p><a href="http://farm4.static.flickr.com/3046/3045081167_80f219cb0f_b.jpg"><img alt="" src="http://farm4.static.flickr.com/3046/3045081167_80f219cb0f_m.jpg" title="Dual Yolks" class="aligncenter" width="240" height="180" /></a></p>
<p>Not something that&#8217;s happened to me before.  I&#8217;d like to think its due to a natural course of development and not some super fertility drug injected at the chicken factory.</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.</p>
<p><a href="http://www.wooliet.com/2008/11/20/congratulations-daisy-its-twins/">Congratulations Daisy, It&#8217;s Twins!</a></p>

<p><a href="http://feeds.feedburner.com/~a/wooliet?a=4EQB9a"><img src="http://feeds.feedburner.com/~a/wooliet?i=4EQB9a" border="0"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2008/11/20/congratulations-daisy-its-twins/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A Thorough Video Tutorial for Slicing and CSSing</title>
		<link>http://www.wooliet.com/2008/11/13/a-thorough-video-tutorial-for-slicing-and-cssing/</link>
		<comments>http://www.wooliet.com/2008/11/13/a-thorough-video-tutorial-for-slicing-and-cssing/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 04:50:06 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
		
		<category><![CDATA[Recommendations]]></category>

		<category><![CDATA[Video]]></category>

		<category><![CDATA[WebDev]]></category>

		<category><![CDATA[css]]></category>

		<category><![CDATA[howto]]></category>

		<category><![CDATA[jeffreyway]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=254</guid>
		<description><![CDATA[NETTUTS has an extremely thorough, step-by-step video tutorial that covers slicing a site design in Photoshop, coding the HTML, creating the CSS and then (briefly) adding a touch of Javascript.
I make this recommendation with a bit of hesitance though, as the total running time is a bit over 90 minutes.  I actually skipped the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://nettuts.com/videos/screencasts/how-to-convert-a-psd-to-xhtml/">NETTUTS has an extremely thorough, step-by-step video tutorial</a> that covers slicing a site design in Photoshop, coding the HTML, creating the CSS and then (briefly) adding a touch of Javascript.</p>
<p>I make this recommendation with a bit of hesitance though, as the total running time is a bit over 90 minutes.  I actually skipped the last third or so of the first video (slicing the PSD).  But there is something strangely mesmerizing about watching someone else progress through their work like this.  It&#8217;s also interesting for me to see someone else&#8217;s work flow and tools use. </p>
<p>The presenter/author, <a href="http://themeforest.net/user/JeffreyWay">Jeffrey Way</a>, states that the tutorial is for beginners, but I&#8217;d say that it edges closer to the intermediate level. The CSS section, though long, progresses pretty quickly.  You have to already be pretty familiar with the <a href="http://www.w3.org/TR/CSS2/selector.html">selectors</a> syntax. And he moves right passed terms like &#8220;inline&#8221; and &#8220;block&#8221;.</p>
<p>If you&#8217;ve got the time and the inclination, it&#8217;s an excellent howto for that area of web work.</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.</p>
<p><a href="http://www.wooliet.com/2008/11/13/a-thorough-video-tutorial-for-slicing-and-cssing/">A Thorough Video Tutorial for Slicing and CSSing</a></p>

<p><a href="http://feeds.feedburner.com/~a/wooliet?a=h1PUVm"><img src="http://feeds.feedburner.com/~a/wooliet?i=h1PUVm" border="0"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2008/11/13/a-thorough-video-tutorial-for-slicing-and-cssing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Graham Linehan Interviewed at TSOYA</title>
		<link>http://www.wooliet.com/2008/11/04/graham-linehan-interviewed-at-tsoya/</link>
		<comments>http://www.wooliet.com/2008/11/04/graham-linehan-interviewed-at-tsoya/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 02:34:17 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
		
		<category><![CDATA[Recommendations]]></category>

		<category><![CDATA[TV]]></category>

		<category><![CDATA[fatherted]]></category>

		<category><![CDATA[grahamlinehan]]></category>

		<category><![CDATA[itcrowd]]></category>

		<category><![CDATA[moss]]></category>

		<category><![CDATA[richardayoade]]></category>

		<category><![CDATA[roy]]></category>

		<category><![CDATA[thesoundofyoungamerica]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=235</guid>
		<description><![CDATA[The Sound of Young America has an interview with Graham Linehan (creator of two of my all-time favorite comedies: IT Crowd and Father Ted).
The questions, as you might expect, pretty much stay focused on his work in TV (i.e. there&#8217;s no childhood memories or &#8216;how I met my wife&#8217; stories).  I had never heard [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.maximumfun.org/">The Sound of Young America</a> <a href="http://www.maximumfun.org/blog/2008/11/graham-linehan-creator-of-it-crowd-and.html">has an interview</a> with <a href="http://whythatsdelightful.wordpress.com/">Graham Linehan</a> (creator of two of my all-time favorite comedies: <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&#038;location=http%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUTF8%26x%3D0%26ref%255F%3Dnb%255Fss%255Fd%26y%3D0%26field-keywords%3DIT%2520Crowd%26url%3Dsearch-alias%253Ddvd&#038;tag=woot0b-20&#038;linkCode=ur2&#038;camp=1789&#038;creative=390957">IT Crowd</a><img src="https://www.assoc-amazon.com/e/ir?t=woot0b-20&amp;l=ur2&amp;o=1" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> and <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&#038;location=http%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUTF8%26x%3D0%26ref%255F%3Dnb%255Fss%255Fd%26y%3D0%26field-keywords%3DFather%2520Ted%26url%3Dsearch-alias%253Ddvd&#038;tag=woot0b-20&#038;linkCode=ur2&#038;camp=1789&#038;creative=390957">Father Ted</a><img src="https://www.assoc-amazon.com/e/ir?t=woot0b-20&amp;l=ur2&amp;o=1" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />).</p>
<p>The questions, as you might expect, pretty much stay focused on his work in TV (i.e. there&#8217;s no childhood memories or &#8216;how I met my wife&#8217; stories).  I had never heard an interview with him, so this was fun for me.  He comes across as a light-hearted, nice man.<br />
<span id="more-235"></span><br />
One of the more interesting tidbits was the fact that <a href="http://www.channel4.com/entertainment/tv/microsites/I/itcrowd/">IT Crowd</a> seemed to take form in his head after the title was suggested by his wife. He then goes on to mention that the show really was built around the character of <a href="http://www.channel4.com/entertainment/tv/microsites/I/itcrowd/profiles/moss.html">Moss</a>. Everything began to fall in place once <a href="http://en.wikipedia.org/wiki/Richard_Ayoade">Richard Ayoade</a> was cast in that part.</p>
<blockquote><p>The show, in a way, was built around him. I cast him before anyone else. In conjunction with the title, he was another thing that made me think &#8220;Oh, this is coming together&#8221;.</p></blockquote>
<p><em>(~26:20 in the interview)</em></p>
<p>(For some odd reason, the clip they play immediately following that statement is one that features <a href="http://www.channel4.com/entertainment/tv/microsites/I/itcrowd/profiles/roy.html">Roy</a>, not Moss.)</p>
<p>I guess the producers (who include Linehan) of the American version  of the show also feel he&#8217;s pivotal to its success.  Instead of finding some LA doppelganger to fill the spot, <a href="http://www.tv.com/the-it-crowd/show/68733/cast.html?om_act=convert&#038;om_clk=castsh&#038;tag=cast;more">he was transported </a> across the ocean for their version. (What&#8217;s the deal with that anyway?  When does &#8220;mid-season&#8221; start?)</p>
<p>You can listen here or <a href="http://www.maximumfun.org/blog/2008/11/graham-linehan-creator-of-it-crowd-and.html">listen</a> <a href="http://tsoya.libsyn.com/index.php?post_id=399466#">elsewhere</a>.<br />
<embed src= "http://www.odeo.com/flash/audio_player_standard_gray.swf" quality="high" width="300" height="52" allowscriptaccess="always" wmode="transparent" type="application/x-shockwave-flash" flashvars= "valid_sample_rate=true&#038;external_url=http://media.libsyn.com/media/tsoya/tsoya081102_grahamlinehan.mp3" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed> </p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.</p>
<p><a href="http://www.wooliet.com/2008/11/04/graham-linehan-interviewed-at-tsoya/">Graham Linehan Interviewed at TSOYA</a></p>

<p><a href="http://feeds.feedburner.com/~a/wooliet?a=8jQiZK"><img src="http://feeds.feedburner.com/~a/wooliet?i=8jQiZK" border="0"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2008/11/04/graham-linehan-interviewed-at-tsoya/feed/</wfw:commentRss>
<enclosure url="http://media.libsyn.com/media/tsoya/tsoya081102_grahamlinehan.mp3" length="17977344" type="audio/mpeg" />
		</item>
		<item>
		<title>Warning: eNom Email Phishing Scam</title>
		<link>http://www.wooliet.com/2008/10/31/warning-enom-email-phishing-scam/</link>
		<comments>http://www.wooliet.com/2008/10/31/warning-enom-email-phishing-scam/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 22:58:37 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
		
		<category><![CDATA[Internets]]></category>

		<category><![CDATA[News]]></category>

		<category><![CDATA[enom]]></category>

		<category><![CDATA[phishing]]></category>

		<category><![CDATA[scam]]></category>

		<category><![CDATA[warning]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=225</guid>
		<description><![CDATA[My dad has a couple of domains registered using eNom.com.  It was originally done on his behalf by someone else but I&#8217;ve since helped him to &#8220;take control&#8221;.
Today he forwarded an email he received, asking if he should be concerned.  It begins with &#8220;On Thu, 30 Oct 2008 00:05:53 +0700 we received a [...]]]></description>
			<content:encoded><![CDATA[<p>My dad has a couple of domains registered using <a href="http://www.enom.com/">eNom.com</a>.  It was originally done on his behalf by someone else but I&#8217;ve since helped him to &#8220;take control&#8221;.</p>
<p>Today he forwarded an email he received, asking if he should be concerned.  It begins with &#8220;<em>On Thu, 30 Oct 2008 00:05:53 +0700 we received a third party complaint of invalid domain contact information in the Whois database for this domain</em>&#8221; and then goes on to say they investigated, found the information to be incorrect and canceled the domain.  </p>
<blockquote><p>The domain has subsequently been purchased by another party. You will need to contact them for any further inquiries regarding the domain. </p></blockquote>
<p><span id="more-225"></span><br />
So I went to enom.com (directly, not via the link in the email&#8230;which, if you look, turns out <strong>not</strong> to be to enom.com) and they have a warning posted front and center.</p>
<p><a href="http://www.wooliet.com/wp-content/uploads/2008/10/enom_warning.jpg"><img src="http://www.wooliet.com/wp-content/uploads/2008/10/enom_warning-300x111.jpg" alt="" title="enom_warning" width="300" height="111" class="aligncenter size-medium wp-image-227" /></a></p>
<p>The warning includes a <a href="http://www.enomcentral.com/images/whoisresolvecom_phishingalert.JPG">link to an image</a> of the text of the email (note that the plain text version they show reveals the bogus enom.com link).</p>
<p>So, if you&#8217;ve got any domains registered via eNom, beware of this scam.  And remember to never follow the links (always go directly to the site) when you receive an email like this.</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.</p>
<p><a href="http://www.wooliet.com/2008/10/31/warning-enom-email-phishing-scam/">Warning: eNom Email Phishing Scam</a></p>

<p><a href="http://feeds.feedburner.com/~a/wooliet?a=Helz0N"><img src="http://feeds.feedburner.com/~a/wooliet?i=Helz0N" border="0"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2008/10/31/warning-enom-email-phishing-scam/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pasting the Equation into Microsoft’s Calculator</title>
		<link>http://www.wooliet.com/2008/10/25/pasting-the-equation-into-microsofts-calculator/</link>
		<comments>http://www.wooliet.com/2008/10/25/pasting-the-equation-into-microsofts-calculator/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 03:51:27 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
		
		<category><![CDATA[Computers]]></category>

		<category><![CDATA[calculator]]></category>

		<category><![CDATA[microsoft]]></category>

		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=212</guid>
		<description><![CDATA[
No, the title is not a clever euphemism.  It&#8217;s as literal as you can get.  
At work the other day there was a defect filed in which an extremely long (but simple) equation was causing an expression evaluator to crash.  The equation was just a really long string like &#8220;6+5+1-3-7+3+6...&#8220;.  The [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Microsoft_Calculator"><img alt="" src="http://upload.wikimedia.org/wikipedia/en/thumb/6/65/Calculator_Vista_Standard.png/250px-Calculator_Vista_Standard.png" title="MS Calculator" class="alignright" width="250" height="245" /></a><br />
No, the title is not a clever euphemism.  It&#8217;s as literal as you can get.  </p>
<p>At work the other day there was a defect filed in which an extremely long (but simple) equation was causing an expression evaluator to crash.  The equation was just a really long string like &#8220;<code>6+5+1-3-7+3+6...</code>&#8220;.  The end result of that equation wasn&#8217;t really important, but I was curious.</p>
<p>My normal train of thought is to first decide that I&#8217;d have to type each number, one by one, into Microsoft&#8217;s Calculator.  Next I&#8217;ll think &#8220;I should just write a quick script to add those up&#8221;.  But that day, something else occurred to me: &#8220;I wonder if I can just paste it right in&#8221;?</p>
<p>And you know what? You can!<br />
<span id="more-212"></span><br />
Try it out:</p>
<blockquote><p><code>4 + 2 / 3 = 4.6666666666666666666666666666667</code></p></blockquote>
<p>Oops.  Can I adjust the <a href="http://www.mathgoodies.com/lessons/vol7/order_operations.html">order of operation</a>?</p>
<blockquote><p><code>(4 + 2) / 3 = 2</code></p></blockquote>
<p>Yep!</p>
<p>Kind of ridiculous, I know.  But sooner or later you&#8217;ll come across some scenario where you&#8217;ve got a string full of pluses and minuses and really, all you need is the result.  And when that day arrives, you&#8217;ll thank me for this nugget.</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.</p>
<p><a href="http://www.wooliet.com/2008/10/25/pasting-the-equation-into-microsofts-calculator/">Pasting the Equation into Microsoft&#8217;s Calculator</a></p>

<p><a href="http://feeds.feedburner.com/~a/wooliet?a=IwrntZ"><img src="http://feeds.feedburner.com/~a/wooliet?i=IwrntZ" border="0"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2008/10/25/pasting-the-equation-into-microsofts-calculator/feed/</wfw:commentRss>
		</item>
		<item>
		<title>To Move ↑ You Must Have ♥</title>
		<link>http://www.wooliet.com/2008/10/22/to-move-you-must-have/</link>
		<comments>http://www.wooliet.com/2008/10/22/to-move-you-must-have/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 06:00:20 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
		
		<category><![CDATA[Internets]]></category>

		<category><![CDATA[html]]></category>

		<category><![CDATA[type]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=207</guid>
		<description><![CDATA[Dave Shea linked to a niffty, single-purpose little website not too long ago called Copy Paste Character .  It&#8217;s so wonderfully simple and useful that it must be bookmarked (or delicioused).

                        [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mezzoblue.com/">Dave Shea</a> <a href="http://delicious.com/mezzoblue">linked to</a> a niffty, single-purpose little website not too long ago called <a href="http://www.copypastecharacter.com/">Copy Paste Character</a> .  It&#8217;s so wonderfully simple and useful that it must be bookmarked (or <a href="http://delicious.com">delicioused</a>).</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.</p>
<p><a href="http://www.wooliet.com/2008/10/22/to-move-you-must-have/">To Move &uarr; You Must Have &hearts;</a></p>

<p><a href="http://feeds.feedburner.com/~a/wooliet?a=dqlO9r"><img src="http://feeds.feedburner.com/~a/wooliet?i=dqlO9r" border="0"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2008/10/22/to-move-you-must-have/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Dreary Reality</title>
		<link>http://www.wooliet.com/2008/10/21/the-dreary-reality/</link>
		<comments>http://www.wooliet.com/2008/10/21/the-dreary-reality/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 02:05:00 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
		
		<category><![CDATA[Art]]></category>

		<category><![CDATA[comic]]></category>

		<category><![CDATA[life]]></category>

		<category><![CDATA[smbc]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=198</guid>
		<description><![CDATA[Sometimes winning is really just losing in disguise&#8230;



Saturday Morning Breakfast Cereal is hi-larious.

                             ~~~~~~~~~~~~~~~~

This has been a woolie posting.
The Dreary Reality
]]></description>
			<content:encoded><![CDATA[<p>Sometimes winning is really just losing in disguise&#8230;<br />
<span id="more-198"></span><br />
<a href="http://www.smbc-comics.com/index.php?db=comics&#038;id=1322"><br />
<img src="http://www.smbc-comics.com/comics/20081021.gif" alt="SMBC"></a></p>
<p><a href="http://www.smbc-comics.com/"><strong>S</strong>aturday <strong>M</strong>orning <strong>B</strong>reakfast <strong>C</strong>ereal is hi-larious</a>.</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.</p>
<p><a href="http://www.wooliet.com/2008/10/21/the-dreary-reality/">The Dreary Reality</a></p>

<p><a href="http://feeds.feedburner.com/~a/wooliet?a=r6OmI7"><img src="http://feeds.feedburner.com/~a/wooliet?i=r6OmI7" border="0"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2008/10/21/the-dreary-reality/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Using the HTML Element for Background Images</title>
		<link>http://www.wooliet.com/2008/10/21/using-the-html-element-for-background-images/</link>
		<comments>http://www.wooliet.com/2008/10/21/using-the-html-element-for-background-images/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 18:58:36 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
		
		<category><![CDATA[WebDev]]></category>

		<category><![CDATA[background]]></category>

		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=182</guid>
		<description><![CDATA[There&#8217;s a pretty simple tutorial over at Web Designer Wall covering large backgrounds with CSS.  Of course, I enjoy the &#8220;pretty simple&#8221; write-ups because there almost always manages to be some nugget of gold for me.  In this case, I had no idea that it was possible to use the HTML element to [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a pretty simple tutorial over at Web Designer Wall covering <a href="http://www.webdesignerwall.com/tutorials/how-to-css-large-background/">large backgrounds with CSS</a>.  Of course, I enjoy the &#8220;pretty simple&#8221; write-ups because there almost always manages to be some nugget of gold for me.  In this case, I had no idea that it was possible to use the <code>HTML</code> element to display background images.<br />
<span id="more-182"></span><br />
The first few examples are all things that I would expect most people with a little experience would be able to figure out.  Example three describes having more than one image in the background, and it does so by adding an extra <code>div</code> at the top of the <code>body</code> to enclose all of the page&#8217;s content.  This would most definitely have been my solution.  It seems obvious enough.</p>
<p>But if you look down at the comments (you have to &#8220;expand all&#8221;), number eight mentions:</p>
<blockquote><p>Have you thought about using the html selector when adding two images? One on html and one on the body.</p></blockquote>
<p>So the author updated <a href="http://www.webdesignerwall.com/demo/large-background/sky-background-2.html">example number three</a> with styling rules that, in part, look like this:</p>

<div class="wp_syntax"><div class="code"><pre class="css css" style="font-family:monospace;">html 
<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#73ADD7</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/gradient.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">repeat-x</span>;
<span style="color: #00AA00;">&#125;</span>
body 
<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/sky.jpg</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #993333;">center</span> <span style="color: #000000; font-weight: bold;">top</span>;
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>I would have never thought to add a background image to the <code>HTML</code> element. Is that legal? </p>
<h2>Valid?</h2>
<p>The example page <a href="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.webdesignerwall.com%2Fdemo%2Flarge-background%2Fsky-background-2.html&#038;charset=(detect+automatically)&#038;doctype=Inline&#038;group=0">passes validation for transitional doc types</a> and <a href="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.webdesignerwall.com%2Fdemo%2Flarge-background%2Fsky-background-2.html&#038;charset=(detect+automatically)&#038;doctype=XHTML+1.0+Strict&#038;group=0&#038;user-agent=W3C_Validator%2F1.591">for strict</a> (the warning is given for overriding the doctype).</p>
<p>However, the <a href="http://www.w3.org/TR/CSS21/colors.html#background">CSS 2.1 recommendation</a> says:</p>
<blockquote><p>For HTML documents, however, we recommend that authors specify the background for the BODY element rather than the HTML element.</p></blockquote>
<p>The <a href="http://www.w3.org/TR/css3-background/">CSS 3.0</a> draft does not seem to include a statement either way, though it does state that it &#8220;<em>includes and extends the functionality of CSS level 2 [CSS21]&#8230;.</em>&#8221; (see the Abstract).  </p>
<p>So even though there is a recommendation against doing this, it does pass muster with the <a href="http://validator.w3.org/">validation service</a>.</p>
<p>In the long run, though, it is somewhat of a moot point.  This is because CSS 3 includes the ability to define <a href="http://www.w3.org/TR/css3-background/#layering">multiple background images for one element</a>.</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.</p>
<p><a href="http://www.wooliet.com/2008/10/21/using-the-html-element-for-background-images/">Using the HTML Element for Background Images</a></p>

<p><a href="http://feeds.feedburner.com/~a/wooliet?a=iwvNHL"><img src="http://feeds.feedburner.com/~a/wooliet?i=iwvNHL" border="0"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2008/10/21/using-the-html-element-for-background-images/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Yahoo’s “Smush It” Image Size Reduction Service</title>
		<link>http://www.wooliet.com/2008/10/08/yahoos-smush-it-image-size-reduction-service/</link>
		<comments>http://www.wooliet.com/2008/10/08/yahoos-smush-it-image-size-reduction-service/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 05:18:42 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
		
		<category><![CDATA[Internets]]></category>

		<category><![CDATA[Recommendations]]></category>

		<category><![CDATA[image]]></category>

		<category><![CDATA[smushit]]></category>

		<category><![CDATA[webapp]]></category>

		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=161</guid>
		<description><![CDATA[A couple of days ago I came across various news items regarding the launch of Yahoo&#8217;s &#8220;Smush It&#8221; service.  Point their web app towards any image online (or just upload one) and it will try its best to decrease the file size with no visible degradation of image quality.

I just browsed through some of [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of days ago I came across <a href="http://news.zdnet.co.uk/software/0,1000000121,39498913,00.htm">various</a> <a href="http://www.geek.com/articles/news/yahoo-release-smush-it-image-optimzing-tool-2008106/">news items</a> regarding the launch of <a href="http://smushit.com/">Yahoo&#8217;s &#8220;Smush It&#8221;</a> service.  Point their web app towards any image online (or just upload one) and it will try its best to decrease the file size with no visible degradation of image quality.<br />
<span id="more-161"></span><br />
I just browsed through some of the images hosted on wooliet to try it out.  Guess what? It works!</p>
<p><img src="http://www.wooliet.com/wp-content/uploads/2008/10/yahoo-smushit_screen.jpg" alt="Smush It Results" title="yahoo-smushit_screen" width="400" height="97" class="aligncenter size-full wp-image-162" /></p>
<p>It&#8217;s incredibly easy to use.  The URL entry method allows you to paste in multiple image paths at once.  After you click &#8220;Smush&#8221;, you are (quickly) presented with a table linking to each of the new images along with some stats regarding the amount of reduction.  Also very cool is that all of the processed images can be downloaded as a single, automatically generated zip file.</p>
<p>What&#8217;s more is that the total savings and zip file stay updated even during multiple &#8220;smushes&#8221;. Even when the images are added via different methods.  For instance, I did a single URL first.  Then I removed that URL from the entry area and did a bunch at once.  At some point I also just uploaded a single file.  After all that, the stats updated to reflect the <em>total</em> reductions and the zip file link contained <em>all</em> the new images.</p>
<h3>Obvious Usage Tip &trade;</h3>
<p>I&#8217;ve been using <a href="http://fireftp.mozdev.org/">FireFTP</a> for awhile now. It&#8217;s a great FTP client that plugs directly into Firefox. When viewing files on your server, you can select one and hit <code>&lt;CTRL&gt;+U</code> to copy the URL (as opposed to the server&#8217;s file path).  To be able to do this though, you first have to edit that connection&#8217;s &#8220;Advanced&#8221; settings so that FireFTP will know how to construct the url. </p>
<p>For example, here&#8217;s my settings:</p>
<p><img src="http://www.wooliet.com/wp-content/uploads/2008/10/fireftp_advanced_diag.jpg" alt="" title="fireftp_advanced_diag" width="484" height="151" class="aligncenter size-full wp-image-171" /></p>
<p>And for bonus points, you can select multiple files, hit <code>&lt;CTRL&gt;+U</code> and it will paste <em>all</em> the URL&#8217;s as a list.  So if you&#8217;ve got a single directory with a bunch of image files in it, just &lt;Ctrl&gt;+A select them all, copy the URL&#8217;s and then with one quick paste into SmushIt&#8217;s URL loader, it&#8217;s all done.  You&#8217;ve got a zip you can download and use to overwrite all the old, fat images with their new, slimmed versions.</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.</p>
<p><a href="http://www.wooliet.com/2008/10/08/yahoos-smush-it-image-size-reduction-service/">Yahoo&#8217;s &#8220;Smush It&#8221; Image Size Reduction Service</a></p>

<p><a href="http://feeds.feedburner.com/~a/wooliet?a=yIPMZu"><img src="http://feeds.feedburner.com/~a/wooliet?i=yIPMZu" border="0"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2008/10/08/yahoos-smush-it-image-size-reduction-service/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Ruby Suns</title>
		<link>http://www.wooliet.com/2008/10/08/the-ruby-suns/</link>
		<comments>http://www.wooliet.com/2008/10/08/the-ruby-suns/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 04:16:39 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
		
		<category><![CDATA[Music]]></category>

		<category><![CDATA[Recommendations]]></category>

		<category><![CDATA[sealion]]></category>

		<category><![CDATA[subpop]]></category>

		<category><![CDATA[therubysuns]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=142</guid>
		<description><![CDATA[
Go here, click &#8220;Listen&#8221;, then do just that for all the available songs.  I have to buy this.  It&#8217;s a couple bucks cheaper from Subpop (the source I guess).
The epic Sea Lion was intended to be a world music album, but reverb and psychedelic pop crept in to create a unique mixture of [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.wooliet.com/wp-content/uploads/2008/10/therubysuns_sealion.jpg" alt="" title="The Ruby Suns - Sea Lion" width="170" height="170" class="alignright wp-image-146" /><br />
<a href="http://www.lilchiefrecords.com/therubysuns/">Go here</a>, click &#8220;Listen&#8221;, then do just that for all the available songs.  I have to buy this.  It&#8217;s a couple bucks cheaper from <a href="http://www.subpop.com/releases/the_ruby_suns/full_lengths/sea_lion">Subpop</a> (the source I guess).</p>
<blockquote><p>The epic Sea Lion was intended to be a world music album, but reverb and psychedelic pop crept in to create a unique mixture of exotic sounds, accomplished with an impressive array of instruments—from steel-string ukulele to djembe drums to pots and pans, all set upon a cozy cushion of synths and cassette samples.</p></blockquote>
<p>I can&#8217;t wait to listen to some of these songs with my daughter during the morning ride to school. Did you listen to &#8220;Tane Mahuta&#8221;?!  How&#8217;s that for starting your day!<br />
<span id="more-142"></span><br />
I just remembered how I found this, so for posterity:  </p>
<p><a href="http://waxy.org/links/">Waxy Links</a> for September 25, 2008 &#8212;&gt; <a href="http://shrub.appspot.com/">Shrub</a>  &#8212;&gt; <a href="http://shrub.appspot.com/m1xes/sub-pop-mix-1/?format=tape">Shrub Example</a></p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.</p>
<p><a href="http://www.wooliet.com/2008/10/08/the-ruby-suns/">The Ruby Suns</a></p>

<p><a href="http://feeds.feedburner.com/~a/wooliet?a=mDzPms"><img src="http://feeds.feedburner.com/~a/wooliet?i=mDzPms" border="0"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2008/10/08/the-ruby-suns/feed/</wfw:commentRss>
		</item>
		<item>
		<title>More Room to Grow</title>
		<link>http://www.wooliet.com/2008/10/06/more-room-to-grow/</link>
		<comments>http://www.wooliet.com/2008/10/06/more-room-to-grow/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 05:42:18 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
		
		<category><![CDATA[Art]]></category>

		<category><![CDATA[Books]]></category>

		<category><![CDATA[cover]]></category>

		<category><![CDATA[daviddrummond]]></category>

		<category><![CDATA[marinaendicott]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=134</guid>
		<description><![CDATA[A couple months ago, I posted about a book cover by David Drummond.  I promise not to continually link to his blog, but he just recently posted another that is emotionally powerful and remarkably simple.

This is one of those occasions where I&#8217;m glad I had the artist explain his/her work.  The book itself, [...]]]></description>
			<content:encoded><![CDATA[<p>A couple months ago, I <a href="http://www.wooliet.com/2008/08/17/a-composite-covera-composite-cover/">posted about a book cover by David Drummond</a>.  I promise not to continually link to his blog, but he just recently posted another that is emotionally powerful and remarkably simple.<br />
<span id="more-134"></span><br />
This is one of those occasions where I&#8217;m glad I had the artist explain his/her work.  The book itself, <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&#038;location=http%3A%2F%2Fwww.amazon.com%2FGood-Fault-Marina-Endicott%2Fdp%2F1551119293%3Fie%3DUTF8%26s%3Dbooks%26qid%3D1223356504%26sr%3D1-1&#038;tag=woot0b-20&#038;linkCode=ur2&#038;camp=1789&#038;creative=9325">Good to a Fault</a><img src="http://www.assoc-amazon.com/e/ir?t=woot0b-20&amp;l=ur2&amp;o=1" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />, is about a lady who takes in three children while their mother fights cancer.  Soon enough, though, the mother recovers both her health and her children.  My synopsis might not be totally correct, but the gist of it is the loss of those kids from the adoptive woman&#8217;s household.</p>
<p>How would you convey, with a single image, that sense of emptiness felt when your home suddenly shifts from &#8220;full of life&#8221; to &#8220;just you&#8221;?  What would remain of the kids once they and all of their belongings are gone?  And beyond showing the past, there&#8217;s also the idea of a lost future.  The one where the children don&#8217;t leave, but instead grow and learn and <em>live</em> in your house. How do you indicate what <em>didn&#8217;t</em> get to happen?</p>
<p><a href="http://daviddrummond.blogspot.com/2008/10/good-to-fault.html">Like this</a>:</p>
<p><a href="http://2.bp.blogspot.com/_kUUj8GbGGKo/SOdkBTL7kxI/AAAAAAAAAuU/S5mY6UPTl0I/s1600-h/endicott.jpg"><img src="http://2.bp.blogspot.com/_kUUj8GbGGKo/SOdkBTL7kxI/AAAAAAAAAuU/S5mY6UPTl0I/s400/endicott.jpg" alt="Good to a Fault cover by David Drummond" /></a></p>
<p>David Drummond explains:</p>
<blockquote><p>The idea for this cover came from a wall in our house where our kids marked their heights from an early age. I am sure the same wall can be found in any house with children. In the case of the wall markings on the cover there is only one or two entries, as it were, because the children were not there long enough.</p></blockquote>
<p>I don&#8217;t think you have to be a parent for this to have an impact. Those few markings so low to the floor, and all that empty space reaching to the ceiling, is too powerful.  I honestly don&#8217;t think I would have realized this had the explanation not been given, and I&#8217;m glad it was.</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.</p>
<p><a href="http://www.wooliet.com/2008/10/06/more-room-to-grow/">More Room to Grow</a></p>

<p><a href="http://feeds.feedburner.com/~a/wooliet?a=vFvl1a"><img src="http://feeds.feedburner.com/~a/wooliet?i=vFvl1a" border="0"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2008/10/06/more-room-to-grow/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Firefox, CSS and floats: Where’s my background?</title>
		<link>http://www.wooliet.com/2008/09/26/firefox-css-and-floats-wheres-my-background/</link>
		<comments>http://www.wooliet.com/2008/09/26/firefox-css-and-floats-wheres-my-background/#comments</comments>
		<pubDate>Sat, 27 Sep 2008 04:53:15 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
		
		<category><![CDATA[WebDev]]></category>

		<category><![CDATA[css]]></category>

		<category><![CDATA[firefox]]></category>

		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=125</guid>
		<description><![CDATA[This is one of those absurd situations that result in far too much effort and stress (if you ask me).  It goes like this: You want to create a layout with a couple columns.  Those columns are set inside your &#8220;container&#8221; with a pretty background color or nice border. Wrap a couple &#60;div&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>This is one of those absurd situations that result in far too much effort and stress (if you ask me).  It goes like this: You want to create a layout with a couple columns.  Those columns are set inside your &#8220;container&#8221; with a pretty background color or nice border. Wrap a couple <code>&lt;div&gt;</code> elements, float one left, the other right, and add your border/color.  Right?  Check it out in IE and things look as you expect.  But when you look at the results in Firefox, you&#8217;ve lost your background!  Or that distinguishing border is now lumped at the top as a single, less-than-appealing line!  What happened?</p>
<p>There are countless solutions to this available via the normal searching mechanisms.  I have to give credit to my first encounter of the solution I like the best:  <a href="http://www.welovecss.com/showthread.php?t=860">a &#8220;Background height problem&#8221; forum post</a> with the solution being <a href="http://welovecss.com/showpost.php?p=4549&#038;postcount=2">the very first response</a>. The <code>&lt;img&gt;</code> element at the bottom of poster&#8217;s content could be modified with the &#8220;<code>clear: both</code>&#8221; style applied to it. The solution also points to this excellent article, &#8220;<a href="http://www.positioniseverything.net/easyclearing.html">Clearing a float container without source markup</a>&#8220;, which goes into some great detail (a <em>must</em> read). </p>
<p>So here&#8217;s my quick tutorial on the matter.  For this to be worth while, you&#8217;ll need to be following along in Firefox. And again, for more details, please read the &#8220;<a href="http://www.positioniseverything.net/easyclearing.html">Easy Clearing</a>&#8221; article linked to above.<br />
<span id="more-125"></span></p>
<h3>1. The Setup</h3>
<p>A quick and easy two column design starts with three <code>divs</code>: the container, the left column and the right column (<a href="http://en.wikipedia.org/wiki/Sign_of_the_cross">Amen</a>).</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;container&quot;</span>&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;left&quot;</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>To the left.<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;right&quot;</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>To the right.<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></div></div>

<p>Let&#8217;s add some styling to make them distinguishable from each other.  We&#8217;ll give the <code>container</code> a think, red dotted border.  The left side gets a normal green border and, for the right, something blue.</p>

<div class="wp_syntax"><div class="code"><pre class="css css" style="font-family:monospace;"><span style="color: #cc00cc;">#container</span>
<span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">thick</span> <span style="color: #993333;">dotted</span> <span style="color: #993333;">red</span>;
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">610px</span>;
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#left</span>
<span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">thin</span> <span style="color: #993333;">solid</span> <span style="color: #993333;">green</span>;
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">400px</span>;
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#right</span>
<span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">thin</span> <span style="color: #993333;">solid</span> <span style="color: #000000; font-weight: bold;">blue</span>;
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">200px</span>;
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p><a href='http://www.wooliet.com/wp-content/uploads/2008/09/step_01.html'>Here&#8217;s what we&#8217;ve got so far</a>. I like how the big red dots seem to hug all the content, don&#8217;t you?  Also notice we&#8217;ve given explicit <code>width</code> values, <a href="http://www.w3.org/TR/CSS2/visuren.html#floats">which are required</a> for floating elements (added next).</p>
<h3>2. Lorem Ipsum Floats</h3>
<p>Let&#8217;s columnize it with a quick edit to our CSS.  The &#8220;left&#8221; <code>div</code> will <code>float</code> left, and the &#8220;right&#8221; <code>div</code> will <code>float</code>&#8230;let me think&#8230;.oh yeah&#8230;right!</p>

<div class="wp_syntax"><div class="code"><pre class="css css" style="font-family:monospace;"><span style="color: #cc00cc;">#left</span>
<span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span>;
    <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">thin</span> <span style="color: #993333;">solid</span> <span style="color: #993333;">green</span>;
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">400px</span>;
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#right</span>
<span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">right</span>;
    <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">thin</span> <span style="color: #993333;">solid</span> <span style="color: #000000; font-weight: bold;">blue</span>;
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">200px</span>;
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>I can&#8217;t wait to F5 this sucker and <a href='http://www.wooliet.com/wp-content/uploads/2008/09/step_02.html'>see our cool new columns.</a></p>
<p>Whoops.  No more hugging!?!?  </p>
<p>When an element is given the <code>float</code> property, it&#8217;s removed from the normal layout flow of the document.  </p>
<p>From <a href="http://www.w3.org/TR/CSS2/visuren.html#floats">W3C, 9.5</a>:</p>
<blockquote><p>Since a float is not in the flow, non-positioned block boxes created before and after the float box flow vertically as if the float didn&#8217;t exist.</p></blockquote>
<p>The container has nothing in it besides those two floating elements.  Because they are no longer &#8220;in the flow&#8221;, that container essentially has <em>nothing</em> to define just how tall it needs to be. Let&#8217;s fix it.</p>
<h3>3. Clearing House</h3>
<p>They keyword here is &#8220;clear&#8221;. <a href="http://www.w3.org/TR/CSS2/visuren.html#propdef-clear">CSS2 defines the <code>clear</code> property</a> as a way of specifying that a block element should <em>not</em> fall along the sides of a previous float.  You can tell it to <code>clear:right</code> so that it pushes below any previous right floaters. You can tell it to <code>clear:left</code> to push past the southpaws.  Or, as we&#8217;ll do here, you can tell it to <code>clear:both</code>, which basically means &#8220;Stop pushing me around&#8221;.</p>
<p>Now, at this point, one option is to manually insert a new, empty <code>div</code> immediately after the &#8220;right&#8221; column.  We style it with <code>clear</code> so that it can ignore the two previous floats.  This pushes it past them to the bottom of the container, which now must stretch out to fill all this new space. Voilà, we have a fix. </p>
<p>Here is our original HTML modified as an example, with the new <code>div</code>&#8217;s styling done inline:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;container&quot;</span>&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;left&quot;</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>To the left.<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;right&quot;</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>To the right.<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
        <span style="color: #808080; font-style: italic;">&lt;!-- Let's name him &quot;stretch&quot; --&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;clear:both&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></div></div>

<p>But it doesn&#8217;t have to be that way.  I mean, do you <em>want</em> to manually insert extra cruft into your page like that?  As an alternative, have you considered our shiny new model?  The <a href="http://www.w3.org/TR/CSS2/generate.html#x5">:after</a> pseudo-element?  It&#8217;s CSS that injects content for you!  (Aside: On some level this seems wrong to me. Why would they create a method for the <em>presentation</em> mechanism to insert <em>content</em>?  But then again, who cares.  It&#8217;s there and it&#8217;s pretty cool, so let&#8217;s use it.)</p>
<p>Here is the new addition to our styling family:</p>

<div class="wp_syntax"><div class="code"><pre class="css css" style="font-family:monospace;"><span style="color: #cc00cc;">#container</span><span style="color: #3333ff;"><span style="color: #00AA00;">:</span>after
</span><span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">&quot;&quot;</span>;
    <span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">both</span>;
    <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span>;
    <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> 0;
    <span style="color: #000000; font-weight: bold;">visibility</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">hidden</span>;
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Now gander <a href='http://www.wooliet.com/wp-content/uploads/2008/09/step_03.html'>at what you have created</a>.  The hug is back! </p>
<p>Adding <code>:after</code> to an element&#8217;s style will literally add something (the &#8220;<code>content</code>&#8220;) after it.  Examples I have seen use a period character for the <code>content</code> value (e.g. <code>content: "."</code>), which then absolutely requires that you specify a zero <code>height</code> and no <code>visibility</code> (otherwise the period would be displayed at the end of your content).  But using an empty string seems to work just as well, and the two extra rules (<code>height</code> and <code>visibility</code>)  aren&#8217;t needed.  However, it seems prudent to just err on the safe side and go with both.</p>
<h3>4. Handling the Exceptions</h3>
<p>I only covered the Firefox relevant pieces here (which is the majority of it).  But if you decide to use this technique to fix your missing background/borders, <em>please</em> read <a href="http://www.positioniseverything.net/easyclearing.html">Clear a float container</a> (linked to yet again for good measure) to view the extra information you&#8217;ll need to account for other browsers.</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.</p>
<p><a href="http://www.wooliet.com/2008/09/26/firefox-css-and-floats-wheres-my-background/">Firefox, CSS and floats: Where&#8217;s my background?</a></p>

<p><a href="http://feeds.feedburner.com/~a/wooliet?a=GWgcRJ"><img src="http://feeds.feedburner.com/~a/wooliet?i=GWgcRJ" border="0"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2008/09/26/firefox-css-and-floats-wheres-my-background/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Announcing the ‘Read More Right Here’ Wordpress Plugin</title>
		<link>http://www.wooliet.com/2008/09/21/announcing-the-read-more-right-here-wordpress-plugin/</link>
		<comments>http://www.wooliet.com/2008/09/21/announcing-the-read-more-right-here-wordpress-plugin/#comments</comments>
		<pubDate>Sun, 21 Sep 2008 23:12:47 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
		
		<category><![CDATA[Site News]]></category>

		<category><![CDATA[WebDev]]></category>

		<category><![CDATA[plugin]]></category>

		<category><![CDATA[readmorerighthere]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=118</guid>
		<description><![CDATA[I&#8217;m releasing the first of what I hope are many plugins for Wordpress.  All of the details are at the new &#8220;WP Plugins&#8221; page here at wooliet.
If you&#8217;re reading this on the wooliet main page (with multiple posts listed), you can see it in action by clicking the link below.  If the is [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m releasing the first of what I hope are many plugins for <a href="http://wordpress.org">Wordpress</a>.  All of the details are at the new &#8220;<a href="http://www.wooliet.com/wp-plugins/">WP Plugins</a>&#8221; page here at wooliet.</p>
<p>If you&#8217;re reading this on the wooliet main page (with multiple posts listed), you can see it in action by clicking the link below.  If the is the &#8220;single post page&#8221; display then..well&#8230;.there&#8217;s nothing to see! Just go to <a href="http://www.wooliet.com">Wooliet</a> and find an entry with a link to more content.</p>
<p><font color="red">(<strong>Updated with official WP plugin link</strong>)</font></p>
<p><span id="more-118"></span><br />
I&#8217;ve tried to make it a very quick and easy plugin that can easily be thrown in and activated on any standard Wordpress installation. Another goal was to keep it &#8216;unobtrusive&#8217; in that, once deactivated, there would be no trace left behind in the Wordpress database.  Of course, at some point (if enough people use it), additional options might be necessary and beneficial.  But we&#8217;ll see.</p>
<p><del datetime="2008-09-26T17:29:05+00:00">I&#8217;m still in the process of getting it listed and hosted with the <a href="http://wordpress.org/extend/plugins/">official Wordpress plugins repository</a>, but at the moment, the new subversion area for the code doesn&#8217;t yet seem to be available (anyone know how long that should take?).</del> It took three days for the Subversion path to become active.  The plugin should be available at the official location, which is <a href="http://wordpress.org/extend/plugins/read-more-right-here/">right here</a>.</p>
<p>As an aside and helpful tip for anyone else considering submitting their plugin to the official Wordpress listings: they have a <a href="http://wordpress.org/extend/plugins/about/validator/">&#8220;readme.txt&#8221; validator</a> you can use to verify the correct syntax and content of the required &#8220;readme.txt&#8221; file.  It was <em>extremely</em> helpful for me.</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.</p>
<p><a href="http://www.wooliet.com/2008/09/21/announcing-the-read-more-right-here-wordpress-plugin/">Announcing the &#8216;Read More Right Here&#8217; Wordpress Plugin</a></p>

<p><a href="http://feeds.feedburner.com/~a/wooliet?a=66jmqu"><img src="http://feeds.feedburner.com/~a/wooliet?i=66jmqu" border="0"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2008/09/21/announcing-the-read-more-right-here-wordpress-plugin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Physics Romance Fiction</title>
		<link>http://www.wooliet.com/2008/09/14/physics-romance-fiction/</link>
		<comments>http://www.wooliet.com/2008/09/14/physics-romance-fiction/#comments</comments>
		<pubDate>Mon, 15 Sep 2008 02:29:40 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
		
		<category><![CDATA[Art]]></category>

		<category><![CDATA[Words]]></category>

		<category><![CDATA[fiction]]></category>

		<category><![CDATA[mattweb]]></category>

		<category><![CDATA[physics]]></category>

		<category><![CDATA[romance]]></category>

		<category><![CDATA[schulzeandweb]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=112</guid>
		<description><![CDATA[The niche areas afforded by the internet are of limitless supply.  Take, for example, Volition, a sincere story crafted by Matt Web (of Schulze and Web).  Part physics lesson and part morose romance.
The way you show the existence of just one of these ghosts is you stop dancing and you barrel across the [...]]]></description>
			<content:encoded><![CDATA[<p>The niche areas afforded by the internet are of limitless supply.  Take, for example, <a href="http://interconnected.org/home/2008/09/13/volition">Volition</a>, a sincere story crafted by Matt Web (of <a href="http://schulzeandwebb.com/about.html">Schulze and Web</a>).  Part physics lesson and part morose romance.</p>
<blockquote><p>The way you show the existence of just one of these ghosts is you stop dancing and you barrel across the dance floor as hard as you can, shouting and roaring, barging ghosts and dancers alike hither and thither, scattering them and knocking them flying. If you get it just right, you splash a clearing in the ghosts, and if you&#8217;re luckier still there&#8217;s a moment before they get to their feet where you can grab one, sit on his chest and hold him down by his neck and grab his chin so you can wrench his dirty face round to look straight at yours and lean in real, real close and, panting, whisper straight at him through your gritted teeth: you little fucker: gotcha. </p></blockquote>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.</p>
<p><a href="http://www.wooliet.com/2008/09/14/physics-romance-fiction/">Physics Romance Fiction</a></p>

<p><a href="http://feeds.feedburner.com/~a/wooliet?a=lajPOy"><img src="http://feeds.feedburner.com/~a/wooliet?i=lajPOy" border="0"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2008/09/14/physics-romance-fiction/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Retrieving Your Honda Pilot’s Stereo Serial Number</title>
		<link>http://www.wooliet.com/2008/09/10/retrieving-your-honda-pilots-stereo-serial-number/</link>
		<comments>http://www.wooliet.com/2008/09/10/retrieving-your-honda-pilots-stereo-serial-number/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 18:39:28 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
		
		<category><![CDATA[Miscellaneous]]></category>

		<category><![CDATA[hondapilot]]></category>

		<category><![CDATA[howto]]></category>

		<category><![CDATA[sercretcode]]></category>

		<category><![CDATA[serialnumber]]></category>

		<category><![CDATA[stereo]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=111</guid>
		<description><![CDATA[These days, some car stock stereos have a security system whereby, if it&#8217;s disconnected from the power source (aka the battery), it locks out and becomes unusable until you enter in a secret code.  I didn&#8217;t know this existed until recently, when the battery in my wife&#8217;s 2005 Pilot conked and had to be [...]]]></description>
			<content:encoded><![CDATA[<p>These days, some car stock stereos have a security system whereby, if it&#8217;s disconnected from the power source (aka the battery), it locks out and becomes unusable until you enter in a secret code.  I didn&#8217;t know this existed until recently, when the battery in my wife&#8217;s 2005 Pilot conked and had to be replaced.  Assuming you don&#8217;t actually have the code, the cost associated with retrieving it is due to having to pull the stereo out to view its serial number (see post by &#8220;partsiam&#8221; in <a href="http://www.hondapilot.org/forums/showthread/t-19247.html">this thread</a>).  It&#8217;s only with the serial number that one can obtain the code.<br />
<span id="more-111"></span><br />
If you have a Honda Pilot (or other models like the Civic&#8230;don&#8217;t know what years), one way to avoid having to physically pull the stereo out to get at the serial number is this:</p>
<ol>
<li>make sure that when you power on the stereo, it says <code>CODE</code> (not <code>ERROR</code>)</li>
<li>
turn it back off</li>
<li>press the preset station numbers <strong>1</strong> and <strong>6</strong> together and, at the same time, turn its power back on</li>
</ol>
<p>The display will now show the first five characters of the serial for a bit, then the second five, and then cycle through it once (maybe twice) more.  Copy that down and have it ready for the mechanic/dealer.</p>
<p><em>(I cannot seem to re-google my source for this info&#8230;sorry)</em></p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.</p>
<p><a href="http://www.wooliet.com/2008/09/10/retrieving-your-honda-pilots-stereo-serial-number/">Retrieving Your Honda Pilot&#8217;s Stereo Serial Number</a></p>

<p><a href="http://feeds.feedburner.com/~a/wooliet?a=44NPYt"><img src="http://feeds.feedburner.com/~a/wooliet?i=44NPYt" border="0"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2008/09/10/retrieving-your-honda-pilots-stereo-serial-number/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Asics Woolie</title>
		<link>http://www.wooliet.com/2008/09/10/asics-woolie/</link>
		<comments>http://www.wooliet.com/2008/09/10/asics-woolie/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 17:45:48 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
		
		<category><![CDATA[Miscellaneous]]></category>

		<category><![CDATA[airjordans]]></category>

		<category><![CDATA[shoes]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=109</guid>
		<description><![CDATA[First came Air Jordans and then came&#8230;.I don&#8217;t know anymore because that&#8217;s not something I really ever cared too much about.  But now, now is the culmination of years of celebrity endorsed shoes.  Now is the pinnacle of footwear design and style.  
Now is Asics Woolie!


       [...]]]></description>
			<content:encoded><![CDATA[<p>First came <a href="http://en.wikipedia.org/wiki/Air_Jordans">Air Jordans</a> and then came&#8230;.I don&#8217;t know anymore because that&#8217;s not something I really ever cared too much about.  But now, <em>now</em> is the culmination of years of celebrity endorsed shoes.  Now is the pinnacle of footwear design and style.  </p>
<p>Now is <strong><a href="http://www.urbanoutfitters.com/urban/catalog/productdetail.jsp;jsessionid=50CB5E97B46983242C49E2956C662613.app13-node8?itemdescription=true&#038;itemCount=60&#038;id=13608336&#038;parentid=M_SHOES_ALLSHOES&#038;sortProperties=+product.marketingPriority,-product.startDate&#038;navCount=855&#038;navAction=poppushpush&#038;color="><font size="+2">Asics Woolie!</font></a></strong></p>
<p><img src="http://www.wooliet.com/wp-content/uploads/2008/09/asics_woolie_shoes.jpg" alt="The sleek and stylish Asic Woolie" title="asics_woolie_shoes" width="290" height="214" class="aligncenter size-full wp-image-110" /></p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.</p>
<p><a href="http://www.wooliet.com/2008/09/10/asics-woolie/">Asics Woolie</a></p>

<p><a href="http://feeds.feedburner.com/~a/wooliet?a=7zqIS1"><img src="http://feeds.feedburner.com/~a/wooliet?i=7zqIS1" border="0"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2008/09/10/asics-woolie/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Wordpress, jQuery and ‘noConflict’</title>
		<link>http://www.wooliet.com/2008/09/05/wordpress-jquery-and-noconflict/</link>
		<comments>http://www.wooliet.com/2008/09/05/wordpress-jquery-and-noconflict/#comments</comments>
		<pubDate>Sat, 06 Sep 2008 03:31:19 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<category><![CDATA[WebDev]]></category>

		<category><![CDATA[firebug]]></category>

		<category><![CDATA[howto]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=108</guid>
		<description><![CDATA[I&#8217;ve been working on a plugin for Wordpress and have, until now, been using Mootools.  I decided that I should try and simplify things by using jQuery, since it is already included with Wordpress.  
So let me take you through my links and hopefully summarize what I&#8217;ve learned.  First though, let me [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on a plugin for <a href="http://wordpress.org">Wordpress</a> and have, until now, been using <a href="http://mootools.net/">Mootools</a>.  I decided that I should try and simplify things by using <a href="http://jquery.com/">jQuery</a>, since it is already included with Wordpress.  </p>
<p>So let me take you through my links and hopefully summarize what I&#8217;ve learned.  First though, let me say, I&#8217;m assuming that you already know what it means to hook into the Wordpress application flow by <a href="http://codex.wordpress.org/Function_Reference/add_action">adding &#8220;actions&#8221;</a>. If not, read up.<br />
<span id="more-108"></span></p>
<h3>Inject Your Javascript</h3>
<p>The Wordpress Codex for <code><a href="http://codex.wordpress.org/Function_Reference/wp_enqueue_script">wp_enqueue_script</a></code> has a list of other javascript libraries included as well as a link to <a href="http://nickohrn.com/loading-javascript-libraries-in-wordpress-plugins-with-wp_enqueue_script/">this brief tutorial</a> at <a href="http://nickohrn.com/">Nick Ohrn</a>.</p>
<p>Basically Wordpress provides the <code>wp_register_script</code> method to register a javascript file and its dependencies using a unique string to serve as a &#8220;handle&#8221;.  After you&#8217;ve registered them, you can then use that handle when calling <code>wp_enqueue_script</code>.  This will spit out the appropriate <code>&lt;script&gt;</code> elements to your document, in their correct order, and (hopefully) avoid any duplicate entries or conflicts with other scripts.</p>
<p>I&#8217;ve added both the  <code>wp_register_script</code> and the <code>wp_enqueue_script</code> calls to the method I&#8217;ve added as part of Wordpress <code>'init'</code> (i.e. <code>add_action('init', myLoadJsMethod)</code>).  I think you can also just use <code>wp_enqueue_script</code> directly, without first registering, but it seems like a good idea to do both.  For example, if things change, you can keep the registration in <code>'init'</code> but then move the call to enqueue somewhere else, like the <code>'template_redirect'</code>.</p>
<p>What&#8217;s important to know, though, is that you cannot call <code>wp_enqueue_script</code> as part of the <code>'wp_head'</code> action.  At that point, it&#8217;s too late.  This was confusing to me because I was originally just echoing out the path to my script within the function I set for <code>'wp_head'</code>, and it worked fine.  But to work within the Wordpress world, it has to happen <em>before</em> the header action, which means <code>'init'</code> or <code>'template_redirect'</code> (or possibly others, not sure).</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
</pre></td><td class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> my_init_method<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #666666; font-style: italic;">// include the js if not a single post page</span>
    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>is_single<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> 
    <span style="color: #009900;">&#123;</span>
       wp_register_script<span style="color: #009900;">&#40;</span>
       		<span style="">'my_handle'</span><span style="color: #339933;">,</span> 
                my_get_base_path<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;js/my_javascript.js&quot;</span><span style="color: #339933;">,</span>
                <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="">'jquery'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>; <span style="color: #666666; font-style: italic;">// my_javascript.js depends on jQuery</span>
&nbsp;
       wp_enqueue_script<span style="color: #009900;">&#40;</span><span style="">'my_handle'</span><span style="color: #009900;">&#41;</span>;            
    <span style="color: #009900;">&#125;</span>    
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> my_get_base_path<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">return</span> get_bloginfo<span style="color: #009900;">&#40;</span><span style="">'url'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;/&quot;</span> <span style="color: #339933;">.</span> PLUGINDIR <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;/&quot;</span> <span style="color: #339933;">.</span> plugin_basename<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;read-more-right-here/&quot;</span><span style="color: #009900;">&#41;</span>;
<span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
add_action<span style="color: #009900;">&#40;</span><span style="">'init'</span><span style="color: #339933;">,</span> my_init_method<span style="color: #009900;">&#41;</span>;</pre></td></tr></table></div>

<p>Notice that at line #11 I only needed to use the string &#8216;jquery&#8217; to register my script as being dependent on it.  This is because &#8216;jquery&#8217; is included with Wordpress and has already been registered with that handle.</p>
<h3>Making jQuery Work</h3>
<p>Let&#8217;s test this out with a simple call to <code>alert</code> in our javascript.  Following good practice, we&#8217;ll make sure to do this after our page&#8217;s DOM is locked and loaded.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="javascript javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'document'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> 
<span style="color: #009900;">&#123;</span>	
	<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;ready&quot;</span><span style="color: #009900;">&#41;</span>;
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>;</pre></td></tr></table></div>

<p>Ahh Crap.  <a href="http://getfirebug.com/">Firebug</a> is telling me that <font color="red"><strong>$ is not a function</strong></font>.  A little google later and I&#8217;m at <a href="http://comox.textdrive.com/pipermail/wp-hackers/2008-March/018979.html">this thread</a>, with the answer I&#8217;m seeking nine messages in, <a href="http://comox.textdrive.com/pipermail/wp-hackers/2008-March/019024.html">right here</a>.</p>
<blockquote><p>jQuery in WordPress uses the noConflict option to prevent issues with<br />
Prototype&#8230;&#8230;.Check online for jQuery.noConflict()</p></blockquote>
<p>It&#8217;s always something.  Alright, <a href="http://docs.jquery.com/Using_jQuery_with_Other_Libraries">so what do the jQuery docs say</a>?</p>
<blockquote><p>By default, jQuery uses &#8220;$&#8221; as a shortcut for &#8220;jQuery&#8221;.  However, you can override that default by calling <a href="http://docs.jquery.com/Core/jQuery.noConflict">jQuery.noConflict()</a> at any point after jQuery and the other library have both loaded.</p></blockquote>
<p>It goes on to say that you can also just set something else as the new &#8220;$&#8221; by setting a new variable to the result of <code>jQuery.noConflict()</code>.</p>
<p>So the above javascript is changed to this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="javascript javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> $j <span style="color: #339933;">=</span> jQuery.<span style="color: #660066;">noConflict</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
&nbsp;
$j<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'document'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> 
<span style="color: #009900;">&#123;</span>	
	<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;ready&quot;</span><span style="color: #009900;">&#41;</span>;
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>;</pre></td></tr></table></div>

<p>And it works!</p>
<h3>Summation (Because I Type Too Much)</h3>
<ul>
<li>Use <code>wp_register_script</code> and <code>wp_enqueue_script</code> to load your javascript</li>
<li>Do <em>not</em> use <code>wp_register_script</code> and <code>wp_enqueue_script</code> as part of the <code>wp_head</code> hook, it must happen earlier (e.g. <code>init</code>, <code>template_redirect</code>)</li>
<li>jQuery in Wordpress uses &#8220;no conflict&#8221; mode, see <a href="http://docs.jquery.com/Using_jQuery_with_Other_Libraries">here</a> for workarounds</li>
</ul>
<p>If I&#8217;ve misstated or completly misunderstood anything above, please feel free to correct me in the comments.</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.</p>
<p><a href="http://www.wooliet.com/2008/09/05/wordpress-jquery-and-noconflict/">Wordpress, jQuery and &#8216;noConflict&#8217;</a></p>

<p><a href="http://feeds.feedburner.com/~a/wooliet?a=pVOqfw"><img src="http://feeds.feedburner.com/~a/wooliet?i=pVOqfw" border="0"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2008/09/05/wordpress-jquery-and-noconflict/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cyanide and Happiness: Stick Figures and Dirty Jokes</title>
		<link>http://www.wooliet.com/2008/09/04/cyanide-and-happiness-stick-figures-and-dirty-jokes/</link>
		<comments>http://www.wooliet.com/2008/09/04/cyanide-and-happiness-stick-figures-and-dirty-jokes/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 02:56:34 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
		
		<category><![CDATA[Art]]></category>

		<category><![CDATA[Recommendations]]></category>

		<category><![CDATA[comic]]></category>

		<category><![CDATA[dirtyjokes]]></category>

		<category><![CDATA[funny]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=107</guid>
		<description><![CDATA[Dueling Analogs linked out to a comic that I had never read before: Cyanide and Happiness.  It&#8217;s fantastic.  And best of all is that there&#8217;s no continuing storyline or set of regular characters.  This is good news because now I don&#8217;t feel compelled to spend the next few hours reading through the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.duelinganalogs.com/comic/2008/09/04/what-if-cyanide-and-happiness/">Dueling Analogs</a> linked out to a comic that I had never read before: <a href="http://www.explosm.net/comics/">Cyanide and Happiness</a>.  It&#8217;s fantastic.  And best of all is that there&#8217;s no continuing storyline or set of regular characters.  This is good news because now I don&#8217;t feel compelled to spend the next few hours reading through the entire archive to make sure I&#8217;m all caught-up.  </p>
<p>The humor is mostly adult.  Basically you gotta like dirty jokes.  Also notice that there&#8217;s a <code><a href="http://www.explosm.net/comics/random/">Random</a></code> button available, which is what I&#8217;ve been hitting the past few minutes.  I&#8217;ll display a few of my favorites (so far) on the underside.<br />
<span id="more-107"></span><br />
<a href="http://www.explosm.net/comics/663/"><img alt="Cyanide and Happiness, a daily webcomic" src="http://www.flashasylum.com/db/files/Comics/Rob/laundryday.png" border=0></a><br />Cyanide &#038; Happiness @ <a href="http://www.explosm.net">Explosm.net</a></p>
<p><a href="http://www.explosm.net/comics/987/"><img alt="Cyanide and Happiness, a daily webcomic" src="http://www.flashasylum.com/db/files/Comics/Matt/UNCE-UNCE-UNCE.png" width="490px" border=0></a><br />Cyanide &#038; Happiness @ <a href="http://www.explosm.net">Explosm.net</a></p>
<p><a href="http://www.explosm.net/comics/1013/"><img alt="Cyanide and Happiness, a daily webcomic" src="http://www.flashasylum.com/db/files/Comics/Matt/drug-week-heroin.png" width="490px" border=0></a><br />Cyanide &#038; Happiness @ <a href="http://www.explosm.net">Explosm.net</a></p>
<p>Okay. That&#8217;s enough for now.  That <code><a href="http://www.explosm.net/comics/random/">Random</a></code> junk is just an endless supply of unexpected treats.</p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.</p>
<p><a href="http://www.wooliet.com/2008/09/04/cyanide-and-happiness-stick-figures-and-dirty-jokes/">Cyanide and Happiness: Stick Figures and Dirty Jokes</a></p>

<p><a href="http://feeds.feedburner.com/~a/wooliet?a=fg33vh"><img src="http://feeds.feedburner.com/~a/wooliet?i=fg33vh" border="0"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2008/09/04/cyanide-and-happiness-stick-figures-and-dirty-jokes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The BookMooch Book Exchange</title>
		<link>http://www.wooliet.com/2008/09/03/the-bookmooch-book-exchange/</link>
		<comments>http://www.wooliet.com/2008/09/03/the-bookmooch-book-exchange/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 22:48:46 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
		
		<category><![CDATA[Books]]></category>

		<category><![CDATA[Internets]]></category>

		<category><![CDATA[borrowing]]></category>

		<category><![CDATA[points]]></category>

		<category><![CDATA[todo]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=106</guid>
		<description><![CDATA[BookMooch looks seriously cool.  I can&#8217;t help but think I&#8217;ve come across this before (a long time ago) but whatever&#8230;I&#8217;ve made new contact. 
Every time you give someone a book, you earn a point and can get any book you want from anyone else at BookMooch. Once you&#8217;ve read a book, you can keep [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.bookmooch.com/">BookMooch</a> looks seriously cool.  I can&#8217;t help but think I&#8217;ve come across this before (a long time ago) but whatever&#8230;I&#8217;ve made new contact. </p>
<blockquote><p>Every time you give someone a book, you earn a point and can get any book you want from anyone else at BookMooch. Once you&#8217;ve read a book, you can keep it forever or put it back into BookMooch for someone else, as you wish.<br />
&#8230;.</p>
<p>Points for entering books: you receive a tenth-of-a-point for every book you type into our system, and one point each time you give a book away. In order to keep receiving books, you need to give away at least one book for every three you receive.</p></blockquote>
<p>The only cost associated with all of this that of shipping your books to those who&#8217;ve made the request.  The site itself appears to do nothing more than serve as a matchmaker.  </p>
<p>As enthusiastic as I am right now about doing this, I have a long and sordid history of initial energy for something followed by little to no follow through.  But this time will be different! My fingers are in the crossed position!</p>
<p><em>Merci <a href="http://www.scottklarr.com/topic/168/give-a-book---get-a-book/">Scott Klarr</a></em></p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.</p>
<p><a href="http://www.wooliet.com/2008/09/03/the-bookmooch-book-exchange/">The BookMooch Book Exchange</a></p>

<p><a href="http://feeds.feedburner.com/~a/wooliet?a=0RY8gH"><img src="http://feeds.feedburner.com/~a/wooliet?i=0RY8gH" border="0"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2008/09/03/the-bookmooch-book-exchange/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Omar Moves From The Wire to The Road</title>
		<link>http://www.wooliet.com/2008/09/03/omar-moves-from-the-wire-to-the-road/</link>
		<comments>http://www.wooliet.com/2008/09/03/omar-moves-from-the-wire-to-the-road/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 18:38:43 +0000</pubDate>
		<dc:creator>Woolie</dc:creator>
		
		<category><![CDATA[Books]]></category>

		<category><![CDATA[Movies]]></category>

		<category><![CDATA[Recommendations]]></category>

		<category><![CDATA[TV]]></category>

		<category><![CDATA[cormacmcarthy]]></category>

		<category><![CDATA[michaelkwilliams]]></category>

		<category><![CDATA[omarlittle]]></category>

		<category><![CDATA[theroad]]></category>

		<category><![CDATA[thewire]]></category>

		<guid isPermaLink="false">http://www.wooliet.com/?p=105</guid>
		<description><![CDATA[It&#8217;s like this smorgasbord of cool stuff all packaged together in one neat little news-worthy package.  Yes, the world does revolve around me.
I love The Wire (two season four episodes still to go). One of its most interesting characters is Omar Little, the scourge of Baltimore city drug dealers.
I also really enjoyed Cormac Mccarthy&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s like this smorgasbord of cool stuff all packaged together in one neat little news-worthy package.  Yes, the world <em>does</em> revolve around me.</p>
<p>I love <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&#038;location=http%3A%2F%2Fwww.amazon.com%2Fs%3Furl%3Dsearch-alias%253Daps%26field-keywords%3DThe%2BWire%26x%3D0%26y%3D0&#038;tag=woot0b-20&#038;linkCode=ur2&#038;camp=1789&#038;creative=9325">The Wire</a><img src="http://www.assoc-amazon.com/e/ir?t=woot0b-20&amp;l=ur2&amp;o=1" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> (two <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&#038;location=http%3A%2F%2Fwww.amazon.com%2FWire-Complete-Fourth-Season%2Fdp%2FB000QXDJLI%3Fie%3DUTF8%26s%3Ddvd%26qid%3D1220465314%26sr%3D8-4&#038;tag=woot0b-20&#038;linkCode=ur2&#038;camp=1789&#038;creative=9325">season four</a><img src="http://www.assoc-amazon.com/e/ir?t=woot0b-20&amp;l=ur2&amp;o=1" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> episodes still to go). One of its most interesting characters is <a href="http://en.wikipedia.org/wiki/Image:The_Wire_Omar.jpg">Omar Little</a>, the scourge of Baltimore city drug dealers.</p>
<p>I also really enjoyed Cormac Mccarthy&#8217;s book <u><a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&#038;location=http%3A%2F%2Fwww.amazon.com%2FRoad-Oprahs-Book-Club%2Fdp%2F0307387895%3Fie%3DUTF8%26s%3Dbooks%26qid%3D1220465018%26sr%3D8-2&#038;tag=woot0b-20&#038;linkCode=ur2&#038;camp=1789&#038;creative=9325">The Road</a><img src="http://www.assoc-amazon.com/e/ir?t=woot0b-20&amp;l=ur2&amp;o=1" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></u>.  The complete scrubbing of all quotation marks took getting used to at first.  But once you get into the rhythm of the writing, their removal adds a strange sense of intimacy with the characters.</p>
<blockquote><p>
&nbsp;&nbsp;&nbsp;&nbsp;He looked at his father and then tilted the can and drank. He sat there thinking about it. It&#8217;s really good, he said.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;Yes. It is.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;You have some, Papa.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;I want you to drink it.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;You have some.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;He took the can and sipped it and handed it back. You drink it, he said. Let&#8217;s just sit here.</p></blockquote>
<p><u>The Road</u> <a href="http://www.imdb.com/title/tt0898367/">has been transformed into a movie</a>, and Omar (<a href="http://www.imdb.com/name/nm0931324/">Michael K. Williams</a>) is in it as (ironically enough) &#8220;The Thief&#8221;.</p>
<p><em><br />
thanks <a href="http://bigscreenlittlescreen.net/2008/09/02/still-suffering-wire-withdrawal/">BigScreenLittleScreen</a></em></p>
<p>
                             ~~~~~~~~~~~~~~~~

This has been a <a href="http://www.wooliet.com">woolie</a> posting.</p>
<p><a href="http://www.wooliet.com/2008/09/03/omar-moves-from-the-wire-to-the-road/">Omar Moves From The Wire to The Road</a></p>

<p><a href="http://feeds.feedburner.com/~a/wooliet?a=TJe22Z"><img src="http://feeds.feedburner.com/~a/wooliet?i=TJe22Z" border="0"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wooliet.com/2008/09/03/omar-moves-from-the-wire-to-the-road/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
