<?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" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Black Belt Coder</title>
	
	<link>http://blackbeltcoder.net</link>
	<description>Coding: Mind Body and Spirit</description>
	<pubDate>Thu, 16 Oct 2008 16:42:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/BlackBeltCoder" type="application/rss+xml" /><item>
		<title>The Ajax Experience: The Rest</title>
		<link>http://feeds.feedburner.com/~r/BlackBeltCoder/~3/421805348/</link>
		<comments>http://blackbeltcoder.net/2008/10/15/the-ajax-experience-the-rest/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 17:58:32 +0000</pubDate>
		<dc:creator>Kris Gray</dc:creator>
		
		<category><![CDATA[the ajax experience]]></category>

		<guid isPermaLink="false">http://blackbeltcoder.net/?p=188</guid>
		<description><![CDATA[
Day 2 was easily the most information packed and exciting of the 3 days.
IE8 was a Sponsor this year, yet their involvement was still quite small in the conference. They did have several speakers, but you can tell the conference is still being driven by the Sitepen (Dojo), Google (GWT, Chrome) and Mozilla (jQuery, etc) [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blackbeltcoder.net/wp-content/uploads/2008/10/img_0187.jpg" ><img class="alignnone size-medium wp-image-193" title="img_0187" src="http://blackbeltcoder.net/wp-content/uploads/2008/10/img_0187-470x352.jpg" alt="" width="470" height="352" /></a></p>
<p>Day 2 was easily the most information packed and exciting of the 3 days.</p>
<p>IE8 was a Sponsor this year, yet their involvement was still quite small in the conference. They did have several speakers, but you can tell the conference is still being driven by the Sitepen (Dojo), Google (GWT, Chrome) and Mozilla (jQuery, etc) groups.</p>
<p><strong>Faster then Light JavaScript</strong></p>
<p>The opening talk was from Brendan Eich. Brendan is in a strange situation where is his the master and overlord of JavaScript, yet you can tell he&#8217;s a bit more intellectual then the typical JavaScript guru. He focuses a lot about lower language constructs and less about closures and the like, which is just kind of weird.</p>
<p> </p>
<ul>
<li>Tracemonkey
<ul>
<li>Incrementally Rewritten to be much faster</li>
<li>Now fast as almost anything.</li>
</ul>
</li>
<li>V8, SpiderMonkey
<ul>
<li>Both are very fast and really good codebases.</li>
<li>Getting Close to C Speed</li>
</ul>
</li>
<li>IE
<ul>
<li>Seaworthy (Showed picture of a beaten down houseboat)</li>
<li>Kind of missing in the JavaScript performance arena. </li>
</ul>
</li>
<li>Whats it all mean?
<ul>
<li>Browsers get near native JS Performance</li>
<li>Mobile browsers too, without sucking massive amounts of power</li>
<li>IE being guilted/pressured into getting better</li>
<li>Developers make your voices heard!</li>
</ul>
</li>
<li>Canvas
<ul>
<li>Actual image processing capable</li>
<li>Ray Tracking Possible now, will be 3-4 times faster in 1 year</li>
<li>HTML5 Web Worker threads</li>
</ul>
</li>
<li>On the Horizon
<ul>
<li>CSS Transformations</li>
<li>CSS3 Selectors</li>
<li>Border image</li>
</ul>
</li>
<li>Trying to put SVG Back into the web (Though John Resig already voiced his doubts that without a hail mary miracle that SVG is pretty much a goner)</li>
</ul>
<div><strong>Analyzing Ajax Perf with IE8</strong></div>
<div>I was very suprised that this was a Microsoft IE8 talk. It focused mainly on the new IE8 tools and how to use them to profile Ajax Applications.</div>
<div>
<ul>
<li>Javascript Profiler in IE8! (Bet ya didn&#8217;t know that was coming)
<ul>
<li>Has an IE7 and IE8 Mode</li>
<li>Has an API with documentation on MSDN.</li>
</ul>
</li>
<li><a href="http://blogs.msdn.com/ie/archive/2008/09/10/native-json-in-ie8.aspx" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/blogs.msdn.com');">Native JSON Support</a>
<ul>
<li>Global JSON object with methods to serialize and deserialize objects to and from JSON.</li>
<li>Great gains in performance with this object, 10x gain in Serialization, 3x gain in Parsing.</li>
</ul>
</li>
<li>IE also has a good Script debugger with the profiler, which of course is 8 years late.</li>
<li><a href="http://blogs.msdn.com/ie/archive/2008/09/11/introducing-the-ie8-developer-tools-jscript-profiler.aspx" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/blogs.msdn.com');">Check out more at the IEBlog</a></li>
</ul>
<div><strong>The Lightning Rounds</strong></div>
<div>They had this new session setup this year where they have 10 different speakers with 5 minutes each. This was wonderfull, I wish they could do this for all of the sessions of the day so you can get a quick peek on whats going on.</div>
<div>
<ul>
<li><a href="http://www.smushit.com/" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.smushit.com');">Smushit.com</a> - This tool will use different algorithims to shrink all the images on your site and tell you how much you could be saving with its version of your images instead. Awesome tool.</li>
<li>Dreamweaver - CS4 presentation, now has some serious JS abilities including native intellisense as well as third party library intellisense. </li>
<li>Hacking Netflix - Bill Scott announced a<a href="http://developer.netflix.com/" onclick="javascript:urchinTracker ('/outbound/article/developer.netflix.com');"> new API</a> for Netflix. He also showed off the <a href="http://blog.netflix.com/" onclick="javascript:urchinTracker ('/outbound/article/blog.netflix.com');">Netflix blog</a> which I&#8217;ve always been curious if they had one.</li>
<li>Interviewing JS Guru&#8217;s - He shows them code and asks them whats wrong with it. Really loves when the people see the XSS issue. Says finding developers with the never good enough Attitute is crucial. Also would like people to know about DNS, Page Caching, how CGI Works.</li>
</ul>
</div>
<div><strong>JSON SOA-Based Client/Server Application Development </strong><strong><a href="http://ajaxexperience.techtarget.com/assets/documents/Kris_Zyp_JSON_SOA-based_ClientServer.pdf"title="Talk Slides"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/ajaxexperience.techtarget.com');">(slides)</a></strong></div>
<div>A class based on Dojo communicating with the server REST style.</div>
<div>
<ul>
<li>Dojo now has SMD&#8217;s (Simple Method Description - WSDL in JSON kinda) for Popular API&#8217;s. Allows you to instantiate an object with a supplied SMD and call methods on that remote service all from within Dojo. </li>
<li>Full Rest Capabilities in Dojo for contacting these services</li>
<li>Dojo Secure
<ul>
<li>Framework for bringing together different services in a mashup</li>
<li>Adsafe</li>
<li>Not done yet, lots of work being put into this area of dojo.</li>
</ul>
</li>
<li>No Premature Standardization
<ul>
<li>They don&#8217;t want innovation to be slowed by standards at this point.</li>
</ul>
</li>
</ul>
<div>This was a really content filled talk with many different areas being focused on, I ended up paying a lot of attention, understanding only half and getting notes on a quarter. </div>
<div><strong>State of the Browsers <a href="http://www.quirksmode.org/blog/archives/2008/10/the_ajax_experi_1.html" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.quirksmode.org');">(slides available here)</a></strong></div>
<div>PPK gave a talk about where we are with the browsers that was 70% relaxing, 30% informative. He started off going into the history of the browser wars, and then the maturation of the browsers through the years. </div>
<div>
<ul>
<li>NN4 and IE4 led to the browser wars of 96-99.
<ul>
<li>Divided the world, basicly you choose a browser and that was what you used. Now adays you choose a browser based mostly on the User Experience, but back then you choose it based on the features.</li>
<li>Deliberately incompatible. They wanted you to choose their browser because it had feature X and the other browser didn&#8217;t.
<ul>
<li>PPK said this didn&#8217;t work, I think he was refering to the fact that it didn&#8217;t work for us web developers, but it certainly worked for IE. </li>
</ul>
</li>
</ul>
</li>
<li>These incompatibilities really hurt because if a site didn&#8217;t work, then it was the site owners fault. Even though the browsers made it so hard for site owners to get them to work in all browsers.</li>
<li>Ideology
<ul>
<li>MIcrosoft is EVIL!
<ul>
<li>Why? Just because. They built the better browser, they deserved to win.</li>
</ul>
</li>
<li>Worst part of the browser wars.</li>
</ul>
</li>
<li>IE Did deserve to win
<ul>
<li>IE 5 was a great browser, it had XMLHTTP.</li>
<li>Says nobody was using it at the time, though he wasn&#8217;t aware of the project I was on in 2000. <img src='http://blackbeltcoder.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li>IE5 Mac did for CSS what IE5 Win did for Ajax, it really brought it to the forefront and showed it as a viable technology.</li>
</ul>
</li>
<li>Browser Peace
<ul>
<li>Microsoft became complacent.
<ul>
<li>Quiet for 6 years!</li>
</ul>
</li>
<li>Allowed other browsers to catch up
<ul>
<li>Firefox now 20-25%!</li>
</ul>
</li>
</ul>
</li>
</ul>
<div>Here we got into some areas of the browsers  that are still really painfull.</div>
</div>
<div>
<ul>
<li>Adding rules to Stylesheets
<ul>
<li>insertRule() for all but IE</li>
<li>add() for IE</li>
</ul>
</li>
<li>Event Model
<ul>
<li>I&#8217;m sure you know about this already.</li>
</ul>
</li>
<li>Ranges
<ul>
<li>Start / End container works in all but IE</li>
<li>Not possible in IE</li>
</ul>
</li>
<li>Extensions
<ul>
<li>99% of the extensions out there really suck</li>
<li>1% are brilliant
<ul>
<li>:hover</li>
<li>innerHTML</li>
</ul>
</li>
</ul>
</li>
<li>Empty text nodes
<ul>
<li>We don&#8217;t need to iterate over empty text notes. Sucko!</li>
<li>Yet IE will sometimes display white space in the browser, so&#8230;</li>
</ul>
</li>
<li>mouseenter/mouseleave
<ul>
<li>IE only extension</li>
<li>Great extension. The fact that all the JS libraries are including an implementation of it should tell the other browser manufacturers that we need this.</li>
<li>Not part of the standard, so not implemented.</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
<p>I&#8217;m trying to get this out the door, so here&#8217;s some notes from the rest of the conference, very much abbreviated.</p>
<p> </p>
<ul>
<li>YUI Test was showcased. <a href="http://developer.yahoo.com/yui/yuitest/" onclick="javascript:urchinTracker ('/outbound/article/developer.yahoo.com');">Check out more here.</a>
<ul>
<li>Still looks a little more complicated then it should be.</li>
<li>I think John Resig mentioned a testing framework as a Firebug plugin. That sees like the way it should be.</li>
</ul>
</li>
<li>Someone was using the tool <a href="http://www.pnotepad.org/" onclick="javascript:urchinTracker ('/outbound/article/www.pnotepad.org');">Programmers Notepad</a>, which seemed cool so I made a note of it.</li>
<li>UX Design for Ajax Apps
<ul>
<li>Design is how things work.</li>
<li><a href="http://www.amazon.com/Design-Everyday-Things-Donald-Norman/dp/0385267746" onclick="javascript:urchinTracker ('/outbound/article/www.amazon.com');">The Design of Everyday Things</a> (Recommended Book)</li>
<li>Instructions don&#8217;t make things usable. </li>
<li>Must do Research to determine usability.
<ul>
<li>Don&#8217;t ask customers what they want, find out what they do.</li>
</ul>
</li>
<li><a href="http://www.amazon.com/Universal-Principles-Design-William-Lidwell/dp/1592530079" onclick="javascript:urchinTracker ('/outbound/article/www.amazon.com');">Universal Principles of Design</a> (Another Highly Recommended Book)</li>
<li>Tool: <a href="http://kuler.adobe.com/" onclick="javascript:urchinTracker ('/outbound/article/kuler.adobe.com');">Kuler</a> - Generates color palletes</li>
<li>Don&#8217;t Pretend
<ul>
<li>Pretending to be the user means your pretending to be stupid, which just isn&#8217;t possible. Clients aren&#8217;t stupid in general, just when dealing with whatever you happen to develop/design.</li>
<li>Pretend instead to be the application.</li>
</ul>
</li>
</ul>
</li>
<li>Performance from Yahoo
<ul>
<li>Amazon did a test and added a 100ms delay to the loading of their site. They experienced a 1% drop in sales as a result.</li>
<li>Yahoo did another test, adding 400ms to their load time, they recieved 5-9% drop in full page traffic.</li>
<li>Google, same thing, +500ms to their load time, 20% fewer searches.</li>
<li>Get YSLOW! It was an overarching theme of the session.</li>
<li>Flush the buffer early if you can, gets the browser working while the server does the rest of its work.</li>
<li>Use GET for Ajax requests.
<ul>
<li>Only 1 TCP packet is sent with GET</li>
<li>Post sends a headers, and posts body seperately and has a lot more content.</li>
</ul>
</li>
<li>Post-load components
<ul>
<li>Whats absolutely necessary to render the page?</li>
<li>User percieves site is loaded after site looks visiually loaded. </li>
<li>JS can load in after site looks visually complete.</li>
</ul>
</li>
<li>Pre-load components (3 Different types)
<ul>
<li>Unconditional: Google preloads its results images on the google search page.</li>
<li>Conditional: On search typing, start preload of images.</li>
<li>Anticipated: Anticipating new release? Start pushing out those images for the next release early so the users cache isn&#8217;t completely empty.</li>
</ul>
</li>
<li>Avoid Filters (AlphaImageLoader)
<ul>
<li>Blocks Rendering of the page.</li>
<li>Increases memory consumption</li>
<li>New filter per usage, not per page.</li>
<li>Avoid completely if you can.</li>
</ul>
<ul>
<li>Use PNG8, works just fine, no grey background, but boolean transparency only.</li>
</ul>
</li>
<li>PNG8 Does support alphatransparency, and in IE8 the alpha-transparent bits will show as completely transparent. Didn&#8217;t understand how to get this to work though, they were vague on it.</li>
<li>IPhone
<ul>
<li>Total Cache 1024k</li>
<li>25kb limit on a single file no longer exists.</li>
</ul>
</li>
<li>Look out for your users (Don&#8217;t hurt your users speed)</li>
<li>Harvest low hanging fruit</li>
<li>Balance features with speed
<ul>
<li>They explained this as, balance the perf budget.</li>
</ul>
</li>
<li>Verify Assumptions!</li>
<li>Make Perf part of your process.</li>
<li>Measure and track results
<ul>
<li>Firebug</li>
<li>IBM Page Detailer</li>
<li>YSLOW</li>
<li>Gomez</li>
<li>Smushit.com</li>
</ul>
</li>
<li>Ask Questions and Challenge answers</li>
</ul>
</li>
</ul>
<div>And thats the end.</div>
<div></div>
<div>I had so little time this year during the conference to get all this typed up that it just ended up dragging on. Hopefully I can fix that next year.</div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://blackbeltcoder.net/2008/10/15/the-ajax-experience-the-rest/feed/</wfw:commentRss>
		<feedburner:origLink>http://blackbeltcoder.net/2008/10/15/the-ajax-experience-the-rest/</feedburner:origLink></item>
		<item>
		<title>The Ajax Experience Day 1</title>
		<link>http://feeds.feedburner.com/~r/BlackBeltCoder/~3/406865802/</link>
		<comments>http://blackbeltcoder.net/2008/09/30/the-ajax-experience-day-1/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 03:12:21 +0000</pubDate>
		<dc:creator>Kris Gray</dc:creator>
		
		<category><![CDATA[the ajax experience]]></category>

		<guid isPermaLink="false">http://blackbeltcoder.net/?p=184</guid>
		<description><![CDATA[Another year another Ajax Experience. I&#8217;m certainly lucky that my company sees the benefits of these events and is willing to send me to them. I think I&#8217;ve learned a bunch from my last event and hope that I can present the information in an easier fashion.
Keynote
This was a pretty similar keynote to the one [...]]]></description>
			<content:encoded><![CDATA[<p>Another year another Ajax Experience. I&#8217;m certainly lucky that my company sees the benefits of these events and is willing to send me to them. I think I&#8217;ve learned a bunch from my last event and hope that I can present the information in an easier fashion.</p>
<p><strong>Keynote</strong></p>
<p>This was a pretty similar keynote to the one last year. </p>
<ul>
<li>There was a brief mention of UX being crucial to the evolution of great, but no more follow up.</li>
<li>Ben and Dion did this thing where they setup a random buzzer and when it sounded they would trade off on who was speaking. Sure kept things interesting. </li>
<li>More of a hello, this stuff is exciting talk.</li>
</ul>
<div><strong>Google Chrome</strong></div>
<div>Its interesting that this year seams to be the year of the JavaScript engine. It was a big reason for the conception of a new browser on behalf of google. </div>
<div>
<ul>
<li>Started the browser project 2 years ago, when JavaScript engines weren&#8217;t getting a lot of attention.</li>
<li>Based on the rendering engine of WebKit. They liked webkit because it was fast.(May have been some other reasons but they escape my memory)</li>
<li>3 Core principals (Stability, Performance, Developer Friendly)</li>
<li>Plan to continue development with those 3 principals in mind.</li>
<li>No never ending alert box</li>
<li>Use the nightlies, they haver lots of good stuff in them.</li>
<li>Linux and Mac are first class citizens in terms of importance, they just aren&#8217;t releasable yet.</li>
</ul>
<div><strong>Top 10 Cross Browser Issues</strong></div>
<div>I was like 5 minutes late to this session so I didn&#8217;t catch the introductions, there was some good content in here that I&#8217;m just not going to be able to get to detailed on.</div>
<div>
<ul>
<li>Dropping support for Safari 2. Doesn&#8217;t have good accessibility capabilities. </li>
<li>Most on the panel agreed there are 2 main levels of support. Primary which means we want everything working perfectly in that browser, and the others where if its crashing we&#8217;ll fix it, otherwise maybe we&#8217;ll think about it.</li>
<li>There was a lengthy talk about browser detection vs feature detection. With jQuery moving to feature detection John was in the camp that if you do feature detection then you have future browser support. </li>
<li>When do you begin testing a browser release seriously? Beta.</li>
<li>What browser inconsistencies do you despise the most? (No way to detect if an event is implemented, Rich text editors, accurate attribute values back from IE&#8211;href, HasLayout)</li>
<li>What JS Library would you suggest if you couldn&#8217;t suggest your own. (Prototype guy: jQuery, Dojo Guy: Goo, Yahoo Guy: jQuery, JohnResig: Prototype)</li>
<li>Would you ever consider consolidating the libraries? Not suprisingly dojo has already been doing this, the other libraries didn&#8217;t say anything.</li>
</ul>
<div>That was the end of Day 1. Day 2 is 12 hours of learning fun, so I&#8217;ll have lots more to cover.</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blackbeltcoder.net/2008/09/30/the-ajax-experience-day-1/feed/</wfw:commentRss>
		<feedburner:origLink>http://blackbeltcoder.net/2008/09/30/the-ajax-experience-day-1/</feedburner:origLink></item>
		<item>
		<title>Project Horror Story</title>
		<link>http://feeds.feedburner.com/~r/BlackBeltCoder/~3/401502269/</link>
		<comments>http://blackbeltcoder.net/2008/09/24/project-horror-story/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 06:00:06 +0000</pubDate>
		<dc:creator>Kris Gray</dc:creator>
		
		<category><![CDATA[entertainment]]></category>

		<guid isPermaLink="false">http://blackbeltcoder.net/?p=182</guid>
		<description><![CDATA[I&#8217;ve read a lot about process, methodologies, and project life cycles. I&#8217;ve been able to put those practices in place quite a bit, and I never though I would be involved in the type of project I am involved with now. I can&#8217;t but help blog about it, even though I know its not in [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve read a lot about process, methodologies, and project life cycles. I&#8217;ve been able to put those practices in place quite a bit, and I never though I would be involved in the type of project I am involved with now. I can&#8217;t but help blog about it, even though I know its not in my best interest to do so. Anyway, on with the show.</p>
<p>We (as in Method SF) were pulled in about 2 weeks ago to help out on a project that was frankly going into the toilet, quickly. The team had estimated about 8 days of work, for 3 developers to get it all done, and it turns out they were just freakishly optimistic.</p>
<p>The first thing that happens is that our two best flash guys get immediately put on the super hard feature of the site which is this fancy flash video selector.  Then, me and another guy get pulled in to do QA on HTML templates, which have yet to be integrated with the system. Finally, we pull in the last remaining guy on our tech team who wasn&#8217;t involved with the project (now 5 of us) to do additional QA and help out any way he can.</p>
<p>Now besides the fact that we know this is a recipe for failure (people go around quoting Mythical Man Month, and something about 9, 1 month baby&#8217;s) we still think it is the only way to get the project done by Monday. No not this next Monday (its Tuesday as I write this) but yesterday, which was supposed to be the end of development and the start of QA. They actually worked over the weekend to try to his this date, which doesn&#8217;t seem that silly but it gets more ridiculous.</p>
<p>They worked over the weekend, did a whole bunch of work, but it still turns out we won&#8217;t be ready to integrate what we are doing in our office with the other groups work till Thursday. We don&#8217;t actually expect to be done with development till Friday, and of course they are presenting to the client on Monday.</p>
<p>Now if its a little hard to understand the big WTF here, the gist is that they plan to code 12-14 hour days just to get every feature implemented by Friday, so they can show the client their nearly finished product. The expectations here are not beta quality, but QA complete, getting ready to ship work. That&#8217;s never going to happen. The project will be smoke, mirrors, and most likely a Blue Screen of Death.</p>
<p>Monday also happens to be the day that the other group is planning to start phase 2 of the project, with a whole new set of requirements. Not only do they plan to be finished with the current site, they want to add on a whole new batch of work, basically making a QA pass impossible.</p>
<p>All through this process we&#8217;ve made attempts to get the left over work estimated and real expectations set, tried to get the customers expectations modified, and basically try to do everything in a smart intelligent way considering we know that the site won&#8217;t actually be ready when everyone is really really hoping it will be.</p>
<p>Hoping won&#8217;t change reality, if there are 10 people working on 30 features, and its going to take a month, then stop hoping and start doing something productive. Like managing the client, telling them you F&#8217;d up and that its going to take longer then expected.</p>
<p>I can&#8217;t believe I&#8217;m on a project like this, absolutely horrendous.</p>
]]></content:encoded>
			<wfw:commentRss>http://blackbeltcoder.net/2008/09/24/project-horror-story/feed/</wfw:commentRss>
		<feedburner:origLink>http://blackbeltcoder.net/2008/09/24/project-horror-story/</feedburner:origLink></item>
		<item>
		<title>StackOverflow, seriously fun leisure reading.</title>
		<link>http://feeds.feedburner.com/~r/BlackBeltCoder/~3/396712018/</link>
		<comments>http://blackbeltcoder.net/2008/09/19/stackoverflow-seriously-fun-leisure-reading/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 00:32:47 +0000</pubDate>
		<dc:creator>Kris Gray</dc:creator>
		
		<category><![CDATA[entertainment]]></category>

		<guid isPermaLink="false">http://blackbeltcoder.net/?p=178</guid>
		<description><![CDATA[I&#8217;ve really been enjoying StackOverflow since it came out. If your not familiar with Jeff Atwood&#8217;s new site, here is the vision statement he blogged about at the onset of the project.
 
Stackoverflow is sort of like the anti-experts-exchange (minus the nausea-inducing sleaze and quasi-legal search engine gaming) meets wikipedia meets programming reddit. It is by programmers, for programmers, with the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve really been enjoying <a href="http://www.stackoverflow.com/" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.stackoverflow.com');">StackOverflow</a> since it came out. If your not familiar with Jeff Atwood&#8217;s new site, here is the vision statement he blogged about at the onset of the project.</p>
<blockquote><p> </p>
<p><strong>Stackoverflow is sort of like the anti-<a href="http://experts-exchange.com/" onclick="javascript:urchinTracker ('/outbound/article/experts-exchange.com');">experts-exchange</a> (minus the nausea-inducing sleaze and quasi-legal search engine gaming) meets <a href="http://www.wikipedia.com/" onclick="javascript:urchinTracker ('/outbound/article/www.wikipedia.com');">wikipedia</a> meets <a href="http://programming.reddit.com/" onclick="javascript:urchinTracker ('/outbound/article/programming.reddit.com');">programming reddit</a>.</strong> It is by programmers, for programmers, with the ultimate intent of collectively increasing the sum total of <em>good</em> programming knowledge in the world. No matter what programming language you use, or what operating system you call home. Better programming is our goal.</p>
<p> </p></blockquote>
<p>The core directive Jeff and Joel set out to address was the issue of a good place to go for development knowledge. If you had a question, there should be once place that you know it should either be answered already, or shortly after you ask it.  </p>
<p>Jeff even goes as far as putting up a witty inspirational image with the caption <a href="http://www.codinghorror.com/blog/images/stackoverflow-none-of-us-is-as-dumb-as-all-of-us.jpg" target="_self" onclick="javascript:urchinTracker ('/outbound/article/www.codinghorror.com');">STACKOVERFLOW: None of us is as Dumb as All of Us</a>. Which again references that knowledge-base aspect of the site.</p>
<p>But I&#8217;m finding the real value in this site is actually for entertainment purposes. I probably take a break 2-3 times a day, and with my iPhone, when I&#8217;m waiting for a meeting or Appt., I can be just browsing the internet 10-12 times a day just killing time. For me to be able to browse StackOverflow and check out what the <a href="http://stackoverflow.com/?sort=hot" onclick="javascript:urchinTracker ('/outbound/article/stackoverflow.com');">latest greatest questions that have been asked</a>, <a href="http://stackoverflow.com/questions/tagged/javascript" onclick="javascript:urchinTracker ('/outbound/article/stackoverflow.com');">questions that I might be able to help out with</a>, or just <a href="http://stackoverflow.com/questions/63668/confessions-of-your-worst-wtf-moment-what-not-to-do" onclick="javascript:urchinTracker ('/outbound/article/stackoverflow.com');">questions with funny answers</a> that means I get to do more then kill time reading Digg I actually get to learn as my entertainment. </p>
<p>With that in mind, I think you could take the following Venn diagram Jeff uses to describe the site, and move the Digg/Reddit circle right on top of that asterisk.</p>
<p><a href="http://blackbeltcoder.net/wp-content/uploads/2008/09/stackoverflow-venn-diagram.png" ><img class="alignnone size-medium wp-image-179" title="stackoverflow-venn-diagram" src="http://blackbeltcoder.net/wp-content/uploads/2008/09/stackoverflow-venn-diagram.png" alt="" width="440" height="431" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blackbeltcoder.net/2008/09/19/stackoverflow-seriously-fun-leisure-reading/feed/</wfw:commentRss>
		<feedburner:origLink>http://blackbeltcoder.net/2008/09/19/stackoverflow-seriously-fun-leisure-reading/</feedburner:origLink></item>
		<item>
		<title>Google Ajax Libraries APIs, Mootools is a little lazy</title>
		<link>http://feeds.feedburner.com/~r/BlackBeltCoder/~3/348887846/</link>
		<comments>http://blackbeltcoder.net/2008/07/28/google-ajax-libraries-apis-mootools-is-a-little-lazy/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 23:45:54 +0000</pubDate>
		<dc:creator>Kris Gray</dc:creator>
		
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://blackbeltcoder.net/?p=176</guid>
		<description><![CDATA[Have you heard of the Google AJAX Libraries API hosting service before?
From their website&#8230;
The AJAX Libraries API is a content distribution network and loading  architecture for the most popular open source JavaScript libraries. By using the  Google AJAX API Loader&#8217;s google.load() method, your application has high speed, globaly  available access to a [...]]]></description>
			<content:encoded><![CDATA[<p>Have you heard of the <a href="http://code.google.com/apis/ajaxlibs/" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/code.google.com');">Google AJAX Libraries API</a> hosting service before?</p>
<p>From their website&#8230;</p>
<blockquote><p>The AJAX Libraries API is a content distribution network and loading  architecture for the most popular open source JavaScript libraries. By using the  <a href="/apis/ajax/documentation/?PHPSESSID=5f3dad51eaacc33072961c5739761cba">Google AJAX API Loader&#8217;s</a> google.load() method, your application has high speed, globaly  available access to a growing list of the most popular JavaScript open source  libraries</p></blockquote>
<p>Ignore that part about the google.load part, its really not necessary and just makes you include a JS file thats not really needed. The usage page provides URL&#8217;s for you to include on your page that load either the full version of the library or a YUI compressed version.</p>
<p>The important bits of the above quote really though are</p>
<ul>
<li>Content Distribution Network for one of your JS files, usually one of the larger files.</li>
<li>As browsers have limits to the amount of files they can download from one domain, this allows the browser to download this file while it otherwise would have been waiting in the download queue.</li>
<li>Files are cached based on their URL, and if you would have happened to already have visited a site that uses this same library and version of that library then you&#8217;ll skip downloading it on this site. Thats right, partial page caching, even if you&#8217;ve never visited the site.</li>
</ul>
<p>After news of this feature broke, we had a large email chain at our office about putting one of the most core files for your site out of your control. Back and forth we went, even some snide remarks, but essentially theres no way around the trust issue. You can have your own backup plans for if the file isn&#8217;t included, but now your adding complexity for a relatively small gain, and at that point you might as well just include a local copy of the library and skip the Googl eAPI completely.</p>
<p>The Google API supports 5 (4 really) libraries that you can remote load this way.</p>
<ul>
<li><a href="documentation/index.html?PHPSESSID=5f3dad51eaacc33072961c5739761cba#jquery">jQuery</a></li>
<li><a href="documentation/index.html?PHPSESSID=5f3dad51eaacc33072961c5739761cba#prototype">prototype</a></li>
<li><a href="documentation/index.html?PHPSESSID=5f3dad51eaacc33072961c5739761cba#script_aculo_us">script.aculo.us</a></li>
<li><a href="documentation/index.html?PHPSESSID=5f3dad51eaacc33072961c5739761cba#mootools">MooTools</a></li>
<li><a href="documentation/index.html?PHPSESSID=5f3dad51eaacc33072961c5739761cba#dojo">dojo</a></li>
</ul>
<p>Though unfortunately MooTools is a little behind the times.  <a href="http://blog.mootools.net/2008/6/12/mootools-1-2-it-s-official" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/blog.mootools.net');">1.2 was announced on June 12th</a>, thats a month and a half ago from the creation of this post and its still not in the Google API. I checked the other libraries and they are all up to date, but haven&#8217;t been updated since this service went live. So we don&#8217;t yet know if this is a service that will be going stale as time progresses.</p>
]]></content:encoded>
			<wfw:commentRss>http://blackbeltcoder.net/2008/07/28/google-ajax-libraries-apis-mootools-is-a-little-lazy/feed/</wfw:commentRss>
		<feedburner:origLink>http://blackbeltcoder.net/2008/07/28/google-ajax-libraries-apis-mootools-is-a-little-lazy/</feedburner:origLink></item>
		<item>
		<title>Revisiting the font declaration</title>
		<link>http://feeds.feedburner.com/~r/BlackBeltCoder/~3/346890612/</link>
		<comments>http://blackbeltcoder.net/2008/07/26/revisiting-the-font-declaration/#comments</comments>
		<pubDate>Sat, 26 Jul 2008 21:11:13 +0000</pubDate>
		<dc:creator>Kris Gray</dc:creator>
		
		<category><![CDATA[development]]></category>

		<guid isPermaLink="false">http://blackbeltcoder.net/?p=166</guid>
		<description><![CDATA[So a while ago I posted about using the font CSS declaration to clean up your stylesheets a bit. I had been using the technique on a new project for the first time and it seemed to be working like a charm, till I did a quality check using Firefox.

So it turns out, it doesn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>So a while ago I posted about <a href="http://blackbeltcoder.net/2008/07/02/elegance-with-the-font-css-property/" target="_self" >using the font CSS declaration to clean up your stylesheets</a> a bit. I had been using the technique on a new project for the first time and it seemed to be working like a charm, till I did a quality check using Firefox.</p>
<p><a href="http://blackbeltcoder.net/wp-content/uploads/2008/07/images.jpg" ><img class="alignnone size-medium wp-image-167" title="images" src="http://blackbeltcoder.net/wp-content/uploads/2008/07/images.jpg" alt="" width="133" height="73" /></a></p>
<p>So it turns out, it doesn&#8217;t work. Not only does the font-family not get inherited but any other rules you specified get ignored as well.</p>
<p>Super annoying.  So I did what any good citizen would do. I complained.</p>
<p>Bug: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=448142" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/bugzilla.mozilla.org');">#448142</a></p>
<p>The great thing about FireFox is that if they decide to fix this issue, they can have it pushed to the general public of FireFox users and this issue could be eradicated in weeks time. So here&#8217;s hoping.</p>
]]></content:encoded>
			<wfw:commentRss>http://blackbeltcoder.net/2008/07/26/revisiting-the-font-declaration/feed/</wfw:commentRss>
		<feedburner:origLink>http://blackbeltcoder.net/2008/07/26/revisiting-the-font-declaration/</feedburner:origLink></item>
		<item>
		<title>More Method Stuff</title>
		<link>http://feeds.feedburner.com/~r/BlackBeltCoder/~3/346163554/</link>
		<comments>http://blackbeltcoder.net/2008/07/26/more-method-stuff/#comments</comments>
		<pubDate>Sat, 26 Jul 2008 00:38:11 +0000</pubDate>
		<dc:creator>Kris Gray</dc:creator>
		
		<category><![CDATA[development]]></category>

		<guid isPermaLink="false">http://blackbeltcoder.net/?p=161</guid>
		<description><![CDATA[Yea its just that kinda day I guess.

There&#8217;s this video up at Method.com that is kind of an office montage, definitely worth checking out.
Also, I listed the San Francisco openings for Method in my sidebar on the right.
]]></description>
			<content:encoded><![CDATA[<p>Yea its just that kinda day I guess.</p>
<p><a href="http://method.com/#/detail/Scene/1/"title="Scenes from Method Video"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/method.com');"><img class="alignnone size-medium wp-image-162" title="scenesfrommethod" src="http://blackbeltcoder.net/wp-content/uploads/2008/07/scenesfrommethod.jpg" alt="" width="450" height="381" /></a></p>
<p>There&#8217;s <a href="http://method.com/#/detail/Scene/1/" onclick="javascript:urchinTracker ('/outbound/article/method.com');">this video</a> up at Method.com that is kind of an office montage, definitely worth checking out.</p>
<p>Also, I listed the San Francisco openings for Method in my sidebar on the right.</p>
]]></content:encoded>
			<wfw:commentRss>http://blackbeltcoder.net/2008/07/26/more-method-stuff/feed/</wfw:commentRss>
		<feedburner:origLink>http://blackbeltcoder.net/2008/07/26/more-method-stuff/</feedburner:origLink></item>
		<item>
		<title>Happenings at Method</title>
		<link>http://feeds.feedburner.com/~r/BlackBeltCoder/~3/346154520/</link>
		<comments>http://blackbeltcoder.net/2008/07/26/happenings-at-method/#comments</comments>
		<pubDate>Sat, 26 Jul 2008 00:27:16 +0000</pubDate>
		<dc:creator>Kris Gray</dc:creator>
		
		<category><![CDATA[development]]></category>

		<guid isPermaLink="false">http://blackbeltcoder.net/?p=158</guid>
		<description><![CDATA[The Ajax Experience

So last year I went and was overwhelmed by how much a conference can help. Last year I was able to talk Daptiv my former company into sending me there as I hadn&#8217;t had a lot of interaction with the AJAX community outside of blogs and such. What took me by surprise was [...]]]></description>
			<content:encoded><![CDATA[<p><strong>The Ajax Experience</strong></p>
<p><a href="http://blackbeltcoder.net/wp-content/uploads/2008/07/logo-ajax-experience.gif" ><img class="alignnone size-medium wp-image-159" title="logo-ajax-experience" src="http://blackbeltcoder.net/wp-content/uploads/2008/07/logo-ajax-experience.gif" alt="" width="289" height="74" /></a></p>
<p>So last year I went and was overwhelmed by how much a conference can help. Last year I was able to talk Daptiv my former company into sending me there as I hadn&#8217;t had a lot of interaction with the AJAX community outside of blogs and such. What took me by surprise was that after the conference it wasn&#8217;t the knowledge that I gained so much as the excitement and energy that I felt after words. It was like a mini generator for my programming spirit.</p>
<p>So I get to go again this year, really exited, yup. I was hoping it would be here in San Francisco as that&#8217;s where I am now, but well, they basically eliminated it in favor of Boston, so that is where I will be Sept 29th - Oct 2nd.</p>
<p><strong>Flash Training</strong></p>
<p>Before coming to Method I had no great interest in learning Flash, but now seeing what <a href="http://method.com/#/work/all/detail/CaseStudy/12/" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/method.com');">they do with it here,</a> well, I&#8217;m stoked. Next week, I&#8217;ll be spending 3 days at <a href="http://www.academyx.com/" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.academyx.com');">AcademyX training</a> learning all about Flash and ActionScript.</p>
<p><strong>Projects</strong></p>
<p>I&#8217;ve been posting up retrospectives of the projects I finish, but usually I can&#8217;t tell you about them when I&#8217;m working on them or about to start as they want to control the press for them. This time I figure I can tell you I&#8217;m going to be cleaning up some of the issues on <a href="http://www.method.com" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.method.com');">Method.com</a>. Its actually a very nice site to work on as its very simple, only 3-4 actual pages and mostly JavaScript goodness for the rest its pretty self-encompasing.</p>
<p><strong>Process</strong></p>
<p><img class="alignnone" src="http://managinghumans.com/assets/cover-medium.jpg" alt="" width="263" height="400" /></p>
<p>I just finished a book called <a href="http://managinghumans.com/" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/managinghumans.com');">Managing Humans</a> it is on my personal list of important books right next to Joel On Software&#8217;s books for understanding business and people. I&#8217;ve been trying to bring some of the wisdom from the book to day to day work here, but adoption is slow.</p>
<p>I&#8217;m finding though that I enjoy process just as much as programming, its refactoring chaos into order and that appeals to my anti-chaos brain very much.</p>
]]></content:encoded>
			<wfw:commentRss>http://blackbeltcoder.net/2008/07/26/happenings-at-method/feed/</wfw:commentRss>
		<feedburner:origLink>http://blackbeltcoder.net/2008/07/26/happenings-at-method/</feedburner:origLink></item>
		<item>
		<title>A quick note on AlphaImageLoader and JavaScript events</title>
		<link>http://feeds.feedburner.com/~r/BlackBeltCoder/~3/329059804/</link>
		<comments>http://blackbeltcoder.net/2008/07/07/a-quick-note-on-alphaimageloader-and-javascript-events/#comments</comments>
		<pubDate>Mon, 07 Jul 2008 17:49:42 +0000</pubDate>
		<dc:creator>Kris Gray</dc:creator>
		
		<category><![CDATA[development]]></category>

		<guid isPermaLink="false">http://blackbeltcoder.net/?p=153</guid>
		<description><![CDATA[The AlphaImageLoader, that wonderful little tool that allows us to do so many different things in our designs using transparency&#8217;s, multi-channel alpha channels and all at decent file sizes.  Not sure what I&#8217;m talking about still?
Try&#8230; ohh, this article from 24 ways. I&#8217;m not really to interested in describing the awesomeness of PNG&#8217;s when so [...]]]></description>
			<content:encoded><![CDATA[<p>The AlphaImageLoader, that wonderful little tool that allows us to do so many different things in our designs using transparency&#8217;s, multi-channel alpha channels and all at decent file sizes.  Not sure what I&#8217;m talking about still?</p>
<p>Try&#8230; ohh, <a href="http://24ways.org/2007/supersleight-transparent-png-in-ie6" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/24ways.org');">this article from 24 ways</a>. I&#8217;m not really to interested in describing the awesomeness of PNG&#8217;s when so many others have done it so well.</p>
<p>It is very important to know though that when using the AlphaImageLoader it will invalidate most if not all mouse events (I haven&#8217;t noticed any it doesn&#8217;t kill) on elements covered by the PNG loaded in the AlphaImageLoader.</p>
<p>The only work-around for this is that transparent regions are immune to this effect. As on the following image below, I made half the box below transparent by cutting out half of the blue gradient.</p>
<p><a href="http://blackbeltcoder.net/wp-content/uploads/2008/07/alphaimageloader.gif" ><img class="alignnone size-medium wp-image-154" title="alphaimageloader" src="http://blackbeltcoder.net/wp-content/uploads/2008/07/alphaimageloader.gif" alt="" width="456" height="210" /></a></p>
<p>In this image, my name is encased in an H1 with an onclick event, but that event will only be fired if you clicked on the last 4 characters (RAY!) as they reside in the transparent portion.</p>
]]></content:encoded>
			<wfw:commentRss>http://blackbeltcoder.net/2008/07/07/a-quick-note-on-alphaimageloader-and-javascript-events/feed/</wfw:commentRss>
		<feedburner:origLink>http://blackbeltcoder.net/2008/07/07/a-quick-note-on-alphaimageloader-and-javascript-events/</feedburner:origLink></item>
		<item>
		<title>IE6 only CSS syntax hack</title>
		<link>http://feeds.feedburner.com/~r/BlackBeltCoder/~3/325025526/</link>
		<comments>http://blackbeltcoder.net/2008/07/02/ie6-only-css-syntax-hack/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 16:43:09 +0000</pubDate>
		<dc:creator>Kris Gray</dc:creator>
		
		<category><![CDATA[development]]></category>

		<guid isPermaLink="false">http://blackbeltcoder.net/?p=152</guid>
		<description><![CDATA[I've talked about how you can use the asterisk to indicate a rule is for IE only but while doing some investigation for another issue I discovered another easy hack that could eliminate the need for things like conditional comments at all.
I was doing some investigation on transparent PNGs and had the following code
PLAIN TEXT
CSS:




.bg [...]]]></description>
			<content:encoded><![CDATA[<p>I've talked about how you can use the <a href="http://blackbeltcoder.net/2008/03/28/quick-and-easy-ie-only-css/" >asterisk to indicate a rule is for IE only</a> but while doing some investigation for another issue I discovered another easy hack that could eliminate the need for things like <a href="http://blackbeltcoder.net/2007/09/01/conditional-comments-just-do-it/" >conditional comments</a> at all.</p>
<p>I was doing some investigation on transparent PNGs and had the following code</p>
<div class="igBar"><span id="lcss-4"><a href="#" onclick="javascript:showPlainTxt('css-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CSS:</span>
<div id="css-4">
<div class="css">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #6666ff;">.bg </span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">float</span>: <span style="color: #000000; font-weight: bold;">left</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">margin</span>: 100px;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">width</span>: 700px;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">height</span>: 400px;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">border</span>: 2px <span style="color: #993333;">solid</span> <span style="color: #993333;">teal</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">background</span>: <span style="color: #993333;">url</span><span style="color: #66cc66;">&#40;</span>alpha2.png<span style="color: #66cc66;">&#41;</span> <span style="color: #993333;">no-repeat</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p><a href="http://www.blackbeltcoder.net/ie6png.html" target="_blank" >Live Example</a></p>
<p>This works in every browser but IE6 since it doesn't support PNG alpha channels without using the DirectX Filter property. So I'll need to turn off the background, and specify a filter property, preferably only applying to IE6. The code I ended up with was...</p>
<div class="igBar"><span id="lcss-5"><a href="#" onclick="javascript:showPlainTxt('css-5'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CSS:</span>
<div id="css-5">
<div class="css">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #6666ff;">.bg </span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">float</span>: <span style="color: #000000; font-weight: bold;">left</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">margin</span>: 100px;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">width</span>: 700px;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">height</span>: 400px;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">border</span>: 2px <span style="color: #993333;">solid</span> <span style="color: #993333;">teal</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">background</span>: <span style="color: #993333;">url</span><span style="color: #66cc66;">&#40;</span>alpha2.png<span style="color: #66cc66;">&#41;</span> <span style="color: #993333;">no-repeat</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">*-<span style="color: #000000; font-weight: bold;">background</span>: <span style="color: #993333;">none</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">*-<span style="color: #000000; font-weight: bold;">border</span>: 10px <span style="color: #993333;">solid</span> <span style="color: #000000; font-weight: bold;">black</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">*-filter:progid:DXImageTransform.Microsoft.AlphaImageLoader<span style="color: #66cc66;">&#40;</span>src=<span style="color: #ff0000;">"alpha2.png"</span>,sizingMethod=<span style="color: #ff0000;">"crop"</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p><a href="http://www.blackbeltcoder.net/ie6png2.html" target="_blank" >Live Example</a></p>
<p>The obvious extra syntax above is <strong>*-</strong> which is the hack to bypass the all the other browsers but IE 6. I'm jus ta lowely web developer not an IE/FF CSS parser expert so I'm not exactly sure why IE6 recognizes this and IE7.</p>
<p>Also, the asterisk isn't even necessary for this to work.</p>
<div class="igBar"><span id="lcss-6"><a href="#" onclick="javascript:showPlainTxt('css-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CSS:</span>
<div id="css-6">
<div class="css">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">-<span style="color: #000000; font-weight: bold;">background</span>: <span style="color: #993333;">none</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>This works just as well, but I thought it prudent to add the asterisk to adhere to the hack used by the Yahoo guys, and prevent any conflicts with the browser specific properties popping up such as <strong>-moz-border-radius: 10px;</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blackbeltcoder.net/2008/07/02/ie6-only-css-syntax-hack/feed/</wfw:commentRss>
		<feedburner:origLink>http://blackbeltcoder.net/2008/07/02/ie6-only-css-syntax-hack/</feedburner:origLink></item>
	</channel>
</rss>
