<?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>post-next -Ted Drake's sketchbook &#187; XHMTL</title>
	<atom:link href="http://www.tdrake.net/category/web-design/xhmtl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tdrake.net</link>
	<description></description>
	<lastBuildDate>Thu, 11 Aug 2011 19:25:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Z-index conflict with Flash and DHTML widgets</title>
		<link>http://www.tdrake.net/z-index-conflict-with-flash-and-dhtml-widgets/</link>
		<comments>http://www.tdrake.net/z-index-conflict-with-flash-and-dhtml-widgets/#comments</comments>
		<pubDate>Tue, 21 Feb 2006 05:30:41 +0000</pubDate>
		<dc:creator>Ted Drake</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[XHMTL]]></category>
		<category><![CDATA[Yahoo!]]></category>

		<guid isPermaLink="false">http://www.tdrake.net/z-index-conflict-with-flash-and-dhtml-widgets/</guid>
		<description><![CDATA[I&#8217;m working on a project that has a Flash movie and a DHTML dropdown menu on the same page. Flash movies like to sit on top of the page and the dropdown would slide behind the movie. Since this isn&#8217;t what I wanted, I needed to find a way to make the it have a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m working on a project that has a <a href="http://www.macromedia.com">Flash</a> movie and a DHTML dropdown menu on the same page.  Flash movies like to sit on top of the page and the dropdown would slide behind the movie.  Since this isn&#8217;t what I wanted, I needed to find a way to make the it have a lower <a href="http://www.w3.org/TR/REC-CSS2/visuren.html">z-index</a> than the dropdown.</p>
<p>I did a <a href="http://www.tdrake.net/standards-based-web-development-resources-made-even-easier/">Standardista Search</a> for a cure and didn&#8217;t see it. But a quick message to the <a href="http://webstandardsgroup.org/">Web Standards Group</a> returned the solution. It&#8217;s actually pretty easy.</p>
<h3>UFO Flash detection and insertion script</h3>
<p>I&#8217;m using the <a title="Unobtrusive Flash Object" href="http://www.bobbyvandersluis.com/ufo/">UFO JavaScript</a> to detect the browser&#8217;s compatibility with the Flash movie and insert it on the fly. This method provides good default content to those without Flash and valid, shiny, happy Flash to those with it.</p>
<p>UFO gives you the ability to insert parameters into the movie and this is what you need to cure the z-index issue. You need to set the <strong>wmode</strong> parameter to &#8220;<em>transparent</em>.&#8221;</p>
<p><code>    var FO = { movie:"swf/myMovie.swf", width:"300", height:"120",      majorversion:"6", build:"40", wmode:"transparent" }</code></p>
<p>That&#8217;s all there is to it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tdrake.net/z-index-conflict-with-flash-and-dhtml-widgets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Do the Box Model Hack</title>
		<link>http://www.tdrake.net/do-the-box-model-hack/</link>
		<comments>http://www.tdrake.net/do-the-box-model-hack/#comments</comments>
		<pubDate>Sat, 04 Feb 2006 23:39:57 +0000</pubDate>
		<dc:creator>Ted Drake</dc:creator>
				<category><![CDATA[About]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[XHMTL]]></category>

		<guid isPermaLink="false">http://www.tdrake.net/do-the-box-model-hack/</guid>
		<description><![CDATA[About a year ago, my friend Brian and I challenged each other to come up with the worst t-shirt design for our mythical band, the Box Model Hack. Personally, I think I came up with the worst design. Brian, in the midst of all that was the wicked worn look designed a shirt that was [...]]]></description>
			<content:encoded><![CDATA[<p><img title="box model hack design" alt="box model hack design" src="http://tn.cafepress.com/7/10957117_TN.jpg" />About a year ago, my friend Brian and I challenged each other to come up with the worst t-shirt design for our mythical band, the Box Model Hack. Personally, I think I came up with the worst design.  Brian, in the midst of all that was the wicked worn look designed a shirt that was too wearable to be considered bad.</p>
<p>But not mine&#8230; I found some photo of a guy dancing in a speedo and boots and new my muse was getting tickled.  With Photoshop&#8217;s newly released ability to set text on a path, I was on my own path to ugly tshirt lovin&#8217;.</p>
<p><img title="ted, molly, and the shirt" alt="ted, molly, and the shirt" src="http://static.flickr.com/30/63794800_e578ac6e56_m.jpg" />I even wore this lovely shirt to the <a href="http://www.tdrake.net/media-2006/">@Media</a> conference and witnessed dozens of people jealously admiring my lovely dancing hack guy. Yes, that&#8217;s me next to the lovely Molly. Notice her admiration for the lovely tshirt. Or is that fear in her eyes as she wonders who this maniac is with the camera phone.<br />
In the spirit of the <a href="http://www.tdrake.net/ie7-beta-2-is-out-for-developers-to-test/">IE7 Beta 2</a> release, you can <a title="Cafe Press store featuring the lovely box model hack image" href="http://www.cafepress.com/boxmodelhack">get your own version of this lovely shirt</a>.  So, head on over to my <a href="http://www.cafepress.com/boxmodelhack">CafePress Box Model Hack</a> store and stock up on the goodies before Microsoft actually fixes the box model problem&#8230; Now that&#8217;s funny.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tdrake.net/do-the-box-model-hack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE7 Hacks</title>
		<link>http://www.tdrake.net/ie7-hacks/</link>
		<comments>http://www.tdrake.net/ie7-hacks/#comments</comments>
		<pubDate>Fri, 03 Feb 2006 16:56:29 +0000</pubDate>
		<dc:creator>Ted Drake</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[XHMTL]]></category>

		<guid isPermaLink="false">http://www.tdrake.net/ie7-hacks/</guid>
		<description><![CDATA[p {width:500px; padding:10px; margin:0 auto; border:none;} /*#wrap>p.borderfun {border:1px solid silver;} commented out because it has higher spedificity and over-rides other styles.*/ p.borderfun {border:1px solid red; *border:1px solid black; _border:1px solid pink; } * html p.borderfun {border:1px solid green;} Microsoft has fixed much of the bugs that plagued IE6 and in the process removed the filters [...]]]></description>
			<content:encoded><![CDATA[<style media="all" type="text/css"> p {width:500px; padding:10px; margin:0 auto; border:none;} /*#wrap>p.borderfun {border:1px solid silver;} commented out because it has higher spedificity and over-rides other styles.*/ p.borderfun {border:1px solid red; 			 *border:1px solid black; 			 _border:1px solid pink;	} * html p.borderfun {border:1px solid green;} </style>
<p>Microsoft has fixed much of the bugs that plagued <abbr title="Internet Explorer 6">IE6</abbr> and in the process removed the filters we used to target Internet Explorer in our CSS. As <a href="http://marthastewart.com/page.jhtml;jsessionid=IQHCBLKQ0SIARWCKUUWSJBWYJKSS2JO0?type=learn-cat&#038;id=cat19294&#038;navLevel=3&#038;rsc=bottomnav">Lord God Martha</a> would say, this is a good thing.</p>
<p>However, there will be a time when you need to send a rule to IE7 and not to IE6. Or perhaps you need to send a rule to <abbr title="Internet Explorer 7">IE7</abbr> and to IE6. I&#8217;ve put together a test page of IE6 hacks to see what IE7 doesn&#8217;t walk right past. I&#8217;m condensing the test page into the paragraph below.</p>
<p>Luckily, there is a loophole for us and we can use this for &#8220;offroad use only.&#8221;  Why am I using this silly description?  Because you and I need to move beyond hacks. Place browser specific (IE) in conditional comments or use a serverside script to place a class on the html  or body (html class=&#8221;ie6&#8243; ) to target these browsers in your main CSS file.</p>
<p>However, these hacks will let you develop your CSS on the fly and fix your issues before going the proper route.</p>
<h3>Test Paragraph (condensed version of test page)</h3>
<p class="borderfun">this is the test paragraph to see how IE7 will handle hacks</p>
<ul>
<li>IE7 Beta2 understands #wrap>p.borderfun and applies correct color.</li>
<li>IE7 Beta2 ignores * html p.borderfun styles.</li>
<li>IE7 Beta2 recognizes the * hack.</li>
<li>IE7 Beta2 ignores the underscore hack.</li>
<li>In Firefox, Safari, and Opera, you should see a red border. In IE7, you should see a black border. In IE6, you should see a pink border.</li>
</ul>
<h3>How to use this</h3>
<p>If you need to send something to IE6 and nothing else:  use the underscore attribute hack (_border:1px solid pink;) If you want to send something to IE7 AND IE6, use the *attribute hack (*border:1px solid black;). If you want to send something to IE7 and NOT IE6, use a combination (*border:1px solid black; _border:1px solid pink;).</p>
<h3>A call to arms</h3>
<p>Get out there kids and begin removing your * html rules. Place those suckers in a conditional commented css file or at least begin replacing them with the underscore hack. When it comes time to tune for IE7, you&#8217;ll have less work to do.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tdrake.net/ie7-hacks/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>IE7 Beta 2 is out for developers to test</title>
		<link>http://www.tdrake.net/ie7-beta-2-is-out-for-developers-to-test/</link>
		<comments>http://www.tdrake.net/ie7-beta-2-is-out-for-developers-to-test/#comments</comments>
		<pubDate>Wed, 01 Feb 2006 17:22:32 +0000</pubDate>
		<dc:creator>Ted Drake</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[XHMTL]]></category>

		<guid isPermaLink="false">http://www.tdrake.net/ie7-beta-2-is-out-for-developers-to-test/</guid>
		<description><![CDATA[IE7 Beta 2 is now available for developers to begin testing. I&#8217;ve been suggesting on the web standards group mailing list that people need to begin looking beyond 2005 and start coding for IE7 and 2006. That doesn&#8217;t mean you design for IE7 and hack for Firefox. No, it means you can begin using more [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.microsoft.com/windows/IE/ie7/devwebchecklist.mspx">IE7 Beta 2</a> is now available for developers to begin testing.  I&#8217;ve been suggesting on the web standards group mailing list that people need to begin looking beyond 2005 and start coding for IE7 and 2006.  That doesn&#8217;t mean you design for IE7 and hack for Firefox. No, it means you can begin using more sophisticated CSS rules. Here&#8217;s a very brief summary of what I&#8217;ve seen with IE7 Beta 2 so far.</p>
<h3>Rolling out IE7</h3>
<p>Microsoft has an aggressive agenda to upgrade people from IE6 to IE7. By the end of Fall, we should see a significant percentage of our web site visitors using IE7 and by the end of the year, the majority of our traffic will be IE7.  Those without IE7 are machines with illegal copies of XP, people with XP Service Pack 1, and those that don&#8217;t accept Microsoft service updates.</p>
<h3>Use real CSS</h3>
<p>If you are working on a site now, begin using real CSS.</p>
<ul>
<li>Use child selectors, first-child, <a href="http://www.tdrake.net/attribute-selectors-to-provide-language-information/">attribute selectors</a>, etc.</li>
<li>Hover your list items and more. IE7 supports the hover pseudoclass on more than the link.</li>
<li>IE7 offers full support of alpha transparent png graphics, so begin using them as well.</li>
</ul>
<p>Forget what you knew about &#8220;* html&#8221;, those hacks now belong in a style sheet that is introduced via a <a href="http://www.quirksmode.org/css/condcom.html">conditional comment</a>. <!-- The only hack you will need to know for IE7 is the *attribute hack  (*width:100px). All of the others -->They are <a href="http://blogs.msdn.com/ie/archive/2005/09/02/460115.aspx">gone, kaput, zilch</a>. Sure, they&#8217;ll still work on IE6, but you&#8217;re going to have one heck of a nightmare keeping track.</p>
<h3>Test Sites</h3>
<p>I am a big fan of <a href="http://www.stuffandnonsense.co.uk/">All that malarkey (Andy Clarke)</a>. However, his site is full of special rules for IE6 and its a great testing ground to see what IE7 chokes on and what it does as good as Firefox, Opera, and Safari. If your site is fairly hack free, you probably won&#8217;t notice a difference going from Firefox to IE7 Beta 2.  Start hunting around and finding the errors.</p>
<h3>What is still broken on IE7</h3>
<p>There are  two major issues that I have with IE7.</p>
<ol>
<li>No generated content. You can&#8217;t use CSS to add checkmarks to visited links, clearing containers spans, etc.</li>
<li>Double float margin still exists.  This can be fixed by adding display:inline to your floated objects when this problem occurs.</li>
<li>While I haven&#8217;t been able to nail down the specifics, there seems to be some bugginess with positioning absolute/relative.</li>
</ol>
<p>I&#8217;m sure there will be much better analysis of this launch by <a href="http://www.positioniseverything.net/">PositionIsEverything</a>, <a href="http://www.quirksmode.org/blog/index.html">Quirksmode</a>, and the <a href="http://blogs.msdn.com/ie/">IE7blog</a>. I hope these scribbled notes help you move forward.  IE7 is a good thing. It&#8217;s not perfect, but damn it sure is nice to ditch the <a title="a javascript that makes IE6 perform as if it understands the :hover pseudoclass" href="http://www.456bereastreet.com/archive/200405/son_of_suckerfish_dropdowns/">son of suckerfish javascript</a>, class=&#8221;firstitem&#8221;, haloed transparent gifs, et al.</p>
<p><ins>I forgot to mention, IE7 replaces IE6 on your computer. You need to have an extra computer to continue testing your pages in IE6. If you only have one windows box, I&#8217;d suggest keeping IE6 on that and just program for Firefox, et al and placing your IE6 hacks in a conditional comment linked style sheet</ins></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tdrake.net/ie7-beta-2-is-out-for-developers-to-test/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Microsoft IE7 updates the select box</title>
		<link>http://www.tdrake.net/microsoft-ie7-updates-the-select-box/</link>
		<comments>http://www.tdrake.net/microsoft-ie7-updates-the-select-box/#comments</comments>
		<pubDate>Wed, 18 Jan 2006 17:22:18 +0000</pubDate>
		<dc:creator>Ted Drake</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[XHMTL]]></category>

		<guid isPermaLink="false">http://www.tdrake.net/microsoft-ie7-updates-the-select-box/</guid>
		<description><![CDATA[Microsoft has just announced IE7 will handle the select input as a modern browser should. It will now allow developers to use z-index to avoid overlapping and perhaps more artistic forms. Søren Madsen put together the utopia of form design, something every designer should look at and dream of possibilities. SELECT element in IE7 &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft has just announced IE7 will handle the select input as a modern browser should. It will now allow developers to use z-index to avoid overlapping and perhaps more artistic forms. Søren Madsen put together the <a href="http://www.picment.com/articles/css/funwithforms/">utopia of form design</a>, something every designer should look at and dream of possibilities.</p>
<blockquote cite="http://blogs.msdn.com/ie/archive/2006/01/17/514076.aspx">
<h4>SELECT element in IE7 &#8211; An Overview</h4>
<p>In IE6, the HTML SELECT element was implemented through the  Windows Shell ListBox and Combobox controls. Some key features were  missing in the old version of the SELECT element, such as proper  support for <a href="http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/zindex.asp">z-index</a>, <a href="http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/title_1.asp">TITLE</a> support, and <a href="http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/zoom.asp">zoom</a>. Web developers had to write complex CSS and scripts to workaround these issues.</p>
<p>In IE7 however, we re-implemented the SELECT element to make  IE7 more standards-compliant. This new version does not use any Shell  controls any more. In fact, it is implemented totally through the  MSHTML framework, including styling, UI interaction, and rendering.  Thus the SELECT element in IE7 is more of an HTML element than the  former legacy control.</p>
<p><cite><a href="http://blogs.msdn.com/ie/archive/2006/01/17/514076.aspx">IEBlog</a></cite></p></blockquote>
<h3>Form design is frustrating.</h3>
<p>Form elements are up to the browser for final presentation unless you get into some tricky CSS and JS solutions and those are not necessarily cross-browser solutions. One particular problem I&#8217;ve experienced was with the <a href="http://www.kryogenix.org/code/browser/nicetitle/">nicetitles</a> javascript that creates a nice popup box with the text of a title attribute on hover. I tried to use this on an insurance quote form to give the visitor better feedback on what was needed. IE6 would place the inputs on top of the popup window. I then tried moving the popup farther to the side to avoid this and that just looked hokey. So, I gave up on the idea. It would be interesting to test this now with IE7.</p>
<p>I&#8217;m also intrigued by the ability to use the title attribute on the select object. Normally, I would place the title on the label. However there may be times when the visual design requires hiding the label. Placing a title on the select would be a great way of letting people know the page may refresh or whatever action the select box leads to.</p>
<p>With rumors floating of an IE7 Beta2 developer release within a few weeks, we should begin looking for pages to test these new attributes on.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tdrake.net/microsoft-ie7-updates-the-select-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Standards-based jobs available! Do you know CSS, XHTML, and how to use the &lt;dl&gt;?</title>
		<link>http://www.tdrake.net/standards-based-jobs-available-do-you-know-css-xhtml-and-how-to-use-the/</link>
		<comments>http://www.tdrake.net/standards-based-jobs-available-do-you-know-css-xhtml-and-how-to-use-the/#comments</comments>
		<pubDate>Fri, 06 Jan 2006 04:36:11 +0000</pubDate>
		<dc:creator>Ted Drake</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[XHMTL]]></category>
		<category><![CDATA[Yahoo!]]></category>

		<guid isPermaLink="false">http://www.tdrake.net/standards-based-jobs-available-do-you-know-css-xhtml-and-how-to-use-the/</guid>
		<description><![CDATA[Ok everyone. If you are ready to enter the high-falootin&#8217; lifestyle of the standards-based web developer, let me know. I know a few places in California looking for qualified programmers. Filling the Vacuum Other standardistas have been talking about the new web professionals, those who know how to create valid, accessible web sites. And those [...]]]></description>
			<content:encoded><![CDATA[<p>Ok everyone. If you are ready to enter the high-falootin&#8217; lifestyle of the standards-based web developer, let me know. I know a few places in California looking for qualified programmers.</p>
<h3>Filling the Vacuum</h3>
<p>Other <a href="http://www.molly.com/2005/12/13/mollys-unabashedly-biased-picks-2005-blogs-design-books-and-achievements/">standardistas</a> have been <a href="http://www.stuffandnonsense.co.uk/archives/accessibility_the_gloves_come_off.html">talking</a> about the <a href="http://blog.fawny.org/2006/01/04/failed/">new web professionals</a>, those who know how to <a href="http://www.tjkdesign.com/">create valid</a>, <a href="http://www.accessify.com/default.asp">accessible</a> web sites. And those who are no longer true pros (who still use tables and invalid markup). What they are not discussing is the vacuum being left behind by the early-adopters. Let&#8217;s take me for example, as I always do enjoy the subject.</p>
<h3>The Ted Factor</h3>
<p>I have created a number of site conversions over the past 2 years. I&#8217;ve also moved up and up from job to job. I&#8217;d finish a conversion, move to the next, finish that, move to the next, etc&#8230; But who ends up maintaining these sites? That is the problem some companies are facing today. You hire someone that builds a standards-based web site and then gets tapped on the shoulder by a bigger company. Now the smaller company needs to hire someone that can work with this new creature.</p>
<p>I got an email today from a former employer. They need someone in San Diego who is ready to work. <a href="http://www.tdrake.net/butch-cassidy-and-the-sundance-kid/">Sundance Kid</a> and I made huge changes to their sites and now they need someone that knows how to continue the work without us. Another former employer has been searching for a web developer for over a year. What do they do? Hire a table hacker that will revert the pages back to tag soup?</p>
<p>Witness the <a href="http://webstandards.org/buzz/archive/2005_11.html#a000590">Disney store</a> makeover in Europe. They went from an accessible, standards-based design to a crappy mess. Why? Possibly it was due to lack of understanding. Perhaps they had nobody that could extend it and they felt more comfortable with the old cut-up images.</p>
<h3>Education, Education, Education, Education&#8230;</h3>
<p>As standards-based web developers, we need to educate others. Take someone under your wing and show them how to use CSS, DOM, or what it means to validate. Don&#8217;t hold it in. Be kind to your fellow workers and employers. If they are not recognizing your abilities, look around. Jobs are out there!</p>
<p>So, this post has rambled enough.  If you are a standards-based developer. Leave a comment, I&#8217;ll respond with information on who to contact. Heck, leave a small resume and perhaps someone else will see this and contact you as well.  The jobs I know of are in Southern California, but I do have certain connections to a very <a href="http://www.yahoo.com">large company</a> in Silicon Valley that is looking for quality developers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tdrake.net/standards-based-jobs-available-do-you-know-css-xhtml-and-how-to-use-the/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Creating a Common JavaScript File</title>
		<link>http://www.tdrake.net/creating-a-common-javascript-file/</link>
		<comments>http://www.tdrake.net/creating-a-common-javascript-file/#comments</comments>
		<pubDate>Sat, 03 Dec 2005 01:02:53 +0000</pubDate>
		<dc:creator>Ted Drake</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[XHMTL]]></category>

		<guid isPermaLink="false">http://www.tdrake.net/?p=91</guid>
		<description><![CDATA[Dustin Diaz released his personal recipe for a common JavaScript file. You know the file that includes the basic functions that any web site can use. We&#8217;ve all grabbed some of these scripts from here and there and its nice to see it one-stop shopping packaging.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dustindiaz.com/" rel="coworker">Dustin Diaz</a> released his personal recipe for a <a href="http://www.dustindiaz.com/top-ten-javascript/">common JavaScript file</a>. You know the file that includes the basic functions that any web site can use. We&#8217;ve all grabbed some of these <a href="http://adactio.com/" title="Jeremy Keith's Website">scripts</a> from <a href="http://www.quirksmode.org" title="The all mighty PPK web site - Quirksmode">here</a> and <a href="http://simon.incutio.com/" title="Visit Simon Willison's Weblog">there</a> and its nice to see it one-stop shopping packaging. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.tdrake.net/creating-a-common-javascript-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XSL, CDATA, and ME</title>
		<link>http://www.tdrake.net/xsl-cdata-and-me/</link>
		<comments>http://www.tdrake.net/xsl-cdata-and-me/#comments</comments>
		<pubDate>Thu, 01 Dec 2005 19:22:45 +0000</pubDate>
		<dc:creator>Ted Drake</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[XHMTL]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.tdrake.net/?p=90</guid>
		<description><![CDATA[I haven&#8217;t been concentrating on CSS much lately. I&#8217;ve been immersed in the world of XSL and recovering from bad televison. I did come across a very confusing problem in XSL the other day and a co-worker was able to point me to the answer. XSL allows you to take raw XML and convert it [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t been concentrating on CSS much lately. I&#8217;ve been immersed in the world of XSL and recovering from bad televison.  I did come across a very confusing problem in XSL the other day and a co-worker was able to point me to the answer.</p>
<p>XSL allows you to take raw XML and convert it to HTML, PDF files, or maybe even paper airplanes that can fly for miles. However, this chunk of XML that I was working with had HTML in a field that I needed to insert into my new, shiny XHTML pages. Further, the HTML was wrapped in a CDATA comment.  (CDATA comments allow you to insert code that isn&#8217;t pretty and not throw the validators for a looop. And this code wasn&#8217;t pretty!)</p>
<p>The resulting pages had unprocessed HTML tags, i.e. links and br tags. How was I going to take this chunk and turn it into happy, shiny people-friendly elements?  I tried the standard tools but the CDATA wrapping was blocking my every effort.</p>
<p>Finally, co-workerX sent me a link to <a href="http://www.nedbatchelder.com">Ned Batchelder&#8217;s</a> &#8220;<a href="http://www.nedbatchelder.com/blog/20040908T082607.html">CDATA isn&#8217;t special</a>&#8221; post. The answer is actually pretty simple. At least, I want to think it is. </p>
<p>Ned suggests using a set of attributes to force the XSL to convert the HTML tags into elements and then uses XPATH to select the text node of the XML element instead of the entire element. Therefore, we are skipping the CDATA statement, grabbing the text within it, and displaying it to the world. </p>
<p>Here&#8217;s the final snippet</p>
<p><code>&lt;xsl:value-of disable-output-escaping=&quot;yes&quot;  select=&quot;braincells/caffeine_powered/text()&quot;/&gt;</code></p>
<h3>Am I barking up the wrong tree?</h3>
<p>Is my logic correct? I hope this is the logic behind this solution. If not, please leave a comment to set the record straight.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tdrake.net/xsl-cdata-and-me/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Expedia launches new site design</title>
		<link>http://www.tdrake.net/expedia-launches-new-site-design/</link>
		<comments>http://www.tdrake.net/expedia-launches-new-site-design/#comments</comments>
		<pubDate>Sat, 12 Nov 2005 17:59:53 +0000</pubDate>
		<dc:creator>Ted Drake</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[XHMTL]]></category>

		<guid isPermaLink="false">http://www.tdrake.net/?p=83</guid>
		<description><![CDATA[While it is no longer &#8220;stop the presses&#8221; newsworthy to see a site launch with a standards-based design, it still makes me giddy. I went to Expedia this morning to look at airfares and got a placeholder page announcing an upcoming re-launch. Mere minutes later, the site was up and running. I haven&#8217;t seen anything [...]]]></description>
			<content:encoded><![CDATA[<p>While it is no longer &#8220;<a href="http://www.wired.com/news/culture/0,1284,55675,00.html">stop the presses</a>&#8221; newsworthy to see a site launch with a standards-based design, it still makes me giddy.</p>
<p>I went to <a href="http://www.expedia.com">Expedia</a> this morning to look at airfares and got a placeholder page announcing an upcoming re-launch.  Mere minutes later, the site was up and running.  I haven&#8217;t seen anything revolutionary on it yet, lets see how she roars.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tdrake.net/expedia-launches-new-site-design/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Creating a table that scrolls with a fixed header and footer</title>
		<link>http://www.tdrake.net/creating-a-table-that-scrolls-with-a-fixed-header-and-footer/</link>
		<comments>http://www.tdrake.net/creating-a-table-that-scrolls-with-a-fixed-header-and-footer/#comments</comments>
		<pubDate>Tue, 08 Nov 2005 01:13:10 +0000</pubDate>
		<dc:creator>Ted Drake</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[XHMTL]]></category>

		<guid isPermaLink="false">http://www.tdrake.net/?p=82</guid>
		<description><![CDATA[I had a challenge today to create a table with a fixed header and foot. My first reaction was&#8230; oh no&#8230;. I pictured all sorts of hacks to make it work. I tried position: fixed, I tried extra divs, I tried this, I tried that, I even prayed to the Venus of Willendorf statue on [...]]]></description>
			<content:encoded><![CDATA[<p>I had a challenge today to create a table with a fixed header and foot. My first reaction was&#8230; oh no&#8230;. I pictured all sorts of hacks to make it work.  I tried position: fixed, I tried extra divs, I tried this, I tried that, I even prayed to the <a href="http://en.wikipedia.org/wiki/Venus_of_Willendorf">Venus of Willendorf </a>statue on my desk for a solution. When all else failed, I turned to the best resource for standards-based programming, my mother.  Above the din of the Jerry Springer show on television, she yelled &#8220;What the hell do I know about tables?&#8221;</p>
<p>With Mom and my Venus drawing blanks, it was time to hit the <a href="http://webstandardsgroup.org/">message boards</a>, the <a href="http://www.tdrake.net/standards-based-web-development-resources-made-even-easier/">Standardista</a> search, and Yahoo! Fortunately, <a href="http://www.lafinboy.com">Scott Swabey </a> found this really cool approach: <a href="http://web.tampabay.rr.com/bmerkey/examples/nonscroll-table-header2.html">Fixed, Non-Scrolling Table Header and Footer</a> by Brett Merkey. </p>
<h3>Thinking Outside the Box</h3>
<p>It&#8217;s pretty simple. Place the table in a div with overflow:auto. Then use absolute positioning to move the thead and tfoot outside the div. Voila, scrolling body with the thead and tfoot static. </p>
<p>Now, I can sleep happily knowing that the table can scroll, the venus has made me pregnant, and my mom was able to finish watching &#8220;I slept with my brother&#8217;s teacher&#8217;s husband!&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tdrake.net/creating-a-table-that-scrolls-with-a-fixed-header-and-footer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

