<?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>Steve Reynolds Blog &#187; Case Study</title>
	<atom:link href="http://www.reynoldsftw.com/category/case-study/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.reynoldsftw.com</link>
	<description>Being Generalist.</description>
	<lastBuildDate>Fri, 03 Sep 2010 19:00:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Case Study: How WordPress uses jQuery</title>
		<link>http://www.reynoldsftw.com/2009/02/case-study-how-wordpress-uses-jquery/</link>
		<comments>http://www.reynoldsftw.com/2009/02/case-study-how-wordpress-uses-jquery/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 08:00:37 +0000</pubDate>
		<dc:creator>Steve Reynolds</dc:creator>
				<category><![CDATA[Case Study]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.reynoldsftw.com/?p=514</guid>
		<description><![CDATA[If you&#8217;ve been living under a shell for the past, I dunno 5 years &#8211; WordPress is an open source blog posting application. With the advent of version 2.7, the admin section got a great makeover with functionality plus usability enhancements by the bucket load. In this article I will describe where WordPress is using [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.reynoldsftw.com%2F2009%2F02%2Fcase-study-how-wordpress-uses-jquery%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.reynoldsftw.com%2F2009%2F02%2Fcase-study-how-wordpress-uses-jquery%2F&amp;source=SteveReynolds&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>If you&#8217;ve been living under a shell for the past, I dunno 5 years &#8211; <a href="http://wordpress.org" target="_blank">WordPress</a> is an open source blog posting application. With the advent of version 2.7, the admin section got a great makeover with functionality plus usability enhancements by the bucket load. In this article I will describe where WordPress is using jQuery and the plugins involved.</p>
<h3>Thickbox</h3>
<p><object width="504" height="310" data="http://vimeo.com/moogaloop.swf?clip_id=3223287&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=3223287&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /></object></p>
<p>The first plugin I would like to talk about is <a href="http://jquery.com/demo/thickbox/" target="_blank">Thickbox</a>. Thickbox is a modal window plugin bringing focus to a seemingly popped up window or photo within a page, and removing focus from the page behind it. The most obvious example of this is the &#8220;Add Media&#8221; functionality within the Add/Edit posts section. What&#8217;s great about this implementation is the fact that all your uploading, attribute setting and inserting functionality is handled in one thickbox modal window, no page refreshes. Once complete, the window closes and your blog post has been updated with the new media inserted, again without a page refresh. Thank you ajax!</p>
<p>Thickbox can also be seen in use within WordPress when previewing plugin information, or previewing a new theme before you activate it. Again, ajaxified to the hilt for ultimate usability. Good work guys!</p>
<h3>hoverIntent</h3>
<p><a href="http://cherne.net/brian/resources/jquery.hoverIntent.html" target="_blank"><img class="aligncenter size-full wp-image-515" title="hoverIntent" src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/intent.png" alt="hoverIntent" width="137" height="116" /></a><a href="http://cherne.net/brian/resources/jquery.hoverIntent.html" target="_blank">HoverIntent</a>  is quite a good plugin actually, it simply tries to guess the user&#8217;s intent on where they are trying to hover and initiating a callback, rather than the built in javascript hover function which initiates a callback instantly. It does this by waiting for the mouse pointer to slow down and assumes &#8220;Right, this is the place I need to run my callback!&#8221;.</p>
<p>To see it in action, hover over the &#8220;New Post&#8221; dropdown at the top of the admin page. A better demo however is on the <a href="http://cherne.net/brian/resources/jquery.hoverIntent.html" target="_blank">hoverIntent download page</a> which shows you why it&#8217;s powerful.</p>
<h3>jQuery.color</h3>
<p><a href="http://plugins.jquery.com/project/color" target="_blank"><img class="aligncenter size-full wp-image-516" title="jQuery Color Plugin" src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/color.png" alt="jQuery Color Plugin" width="348" height="53" /></a></p>
<p>Next up, we have the <a href="http://plugins.jquery.com/project/color" target="_blank">jQuery.color plugin</a> which enables you to animate between colors using jQuery. Think transitioning from red to yellow for example. You can see this in action when you hit the &#8220;Approve&#8221; button on a comment &#8211; you will see the background color transition from yellow to white. Lovely!</p>
<p><img class="aligncenter size-full wp-image-521" title="Edit Comments" src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/editcomments.png" alt="Edit Comments" width="400" height="142" /></p>
<p>Whilst we talk about the comments editing page, functionality such as &#8220;Quick Edit&#8221; is also powered by jQuery events and load animations, as well as integrating ajax calls for a seamless experience.</p>
<p><center><script type="text/javascript"><!--
google_ad_client = "pub-6415056921376217";
google_ad_channel = "in-ad-unit-sq";
google_ui_features = "rc:0";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_type = "text_image";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0066CC";
google_color_text = "";
google_color_url = "0066CC";

//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</center></p>
<h3>jQuery UI</h3>
<p>If you don&#8217;t know what <a href="http://jqueryui.com" target="_blank">jQuery UI</a> is, its a library that sits on top of jQuery enabling advanced animations and effects. WordPress is using a number of jQuery UI effects in various places which I&#8217;ll show you below:</p>
<h3>Resizeable</h3>
<p><a href="http://jqueryui.com/demos/resizable/"><img class="aligncenter size-full wp-image-517" title="Resizeable" src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/ui.png" alt="Resizeable" width="397" height="97" /></a><a href="http://jqueryui.com/demos/resizable" target="_blank">Resizeable</a> does what it says on the tin &#8211; it will resize an element based on interaction from the user. A typical example is expanding the size of a box object like the image above. This is being used within the New/Edit Post page enabling you to resize the edit window for your blog post.</p>
<h3>Sortable</h3>
<p><a href="http://jqueryui.com/demos/sortable"><img class="aligncenter size-full wp-image-518" title="Sortable" src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/sortable.png" alt="Sortable" width="410" height="207" /></a><a href="http://jqueryui.com/demos/sortable" target="_blank">Sortable</a> is another effect which easily allows the user to perform drag/drop actions on elements to re-sort them. The most obvious demo of this is on the Admin homepage, where you can move the various &#8220;portlets&#8221; around the page, rearranging them to a view that you prefer. WordPress obviously have to go one step further though and save the new portlet positions to the database so that they are in the same position every time.</p>
<h3>Sidebar</h3>
<p><img class="aligncenter size-full wp-image-519" title="Sidebar" src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/sidebar.png" alt="Sidebar" width="165" height="117" /></p>
<p>The Admin sidebar is another jQuery controlled element. The minimizing and maximizing control as well as the show/hide menu items is all handled. See the postbox.js file for more on this&#8230;</p>
<h3>HotKeys</h3>
<p><a href="http://plugins.jquery.com/project/hotkeys">HotKeys</a> is a plugin which enables you to register key combinations like CTRL+B or whatever in order to carry out functionality. The most obvious example of this is CTRL+B or CMD+B for Apple to make highlighted text bold. Dead easy to implement, and great from a usability perspective.</p>
<h3>Conclusion</h3>
<p>That&#8217;s it for this article. I hope you enjoyed it, and feel free to give your comments and feedback below on WordPress&#8217;s implementation of jQuery, and where you could see improvements.</p>
<h3>Resources to help you learn:</h3>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<thead></thead>
<tbody>
<tr>
<td width="33%" align="center" valign="top">
<div id="attachment_425" class="wp-caption alignnone" style="width: 111px"><a href="http://www.amazon.com/gp/product/1847192505?ie=UTF8&amp;tag=stereyblo-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1847192505"><img class="size-full wp-image-425" title="Learning jQuery" src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/learningjquery.jpg" alt="Learning jQuery" width="101" height="132" /></a><p class="wp-caption-text">Learning jQuery</p></div>
<p><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=stereyblo-20&amp;l=as2&amp;o=1&amp;a=1847192505" border="0" alt="" width="1" height="1" /></td>
<td width="33%" align="center" valign="top">
<div id="attachment_424" class="wp-caption alignnone" style="width: 111px"><a href="http://www.amazon.com/gp/product/1933988355?ie=UTF8&amp;tag=stereyblo-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1933988355"><img class="size-full wp-image-424" title="JQuery In Action" src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/jqueryinaction.jpg" alt="JQuery In Action" width="101" height="132" /></a><p class="wp-caption-text">JQuery In Action</p></div>
<p><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=stereyblo-20&amp;l=as2&amp;o=1&amp;a=1933988355" border="0" alt="" width="1" height="1" /></td>
<td width="33%" align="center" valign="top">
<div id="attachment_426" class="wp-caption alignnone" style="width: 111px"><a href="http://www.amazon.com/gp/product/1847193811?ie=UTF8&amp;tag=stereyblo-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1847193811"><img class="size-full wp-image-426" title="jQuery Reference Guide" src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/jqueryreferenceguide.jpg" alt="jQuery Reference Guide" width="101" height="132" /></a><p class="wp-caption-text">jQuery Reference Guide</p></div>
<p><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=stereyblo-20&amp;l=as2&amp;o=1&amp;a=1847193811" border="0" alt="" width="1" height="1" /></td>
</tr>
</tbody>
</table>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.reynoldsftw.com%2F2009%2F02%2Fcase-study-how-wordpress-uses-jquery%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.reynoldsftw.com%2F2009%2F02%2Fcase-study-how-wordpress-uses-jquery%2F&amp;source=SteveReynolds&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://www.reynoldsftw.com/2009/02/case-study-how-wordpress-uses-jquery/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Case Study: How Boxee.tv uses jQuery</title>
		<link>http://www.reynoldsftw.com/2009/02/case-study-jquery-on-boxee-dot-tv/</link>
		<comments>http://www.reynoldsftw.com/2009/02/case-study-jquery-on-boxee-dot-tv/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 08:00:04 +0000</pubDate>
		<dc:creator>Steve Reynolds</dc:creator>
				<category><![CDATA[Case Study]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.reynoldsftw.com/?p=345</guid>
		<description><![CDATA[If you haven&#8217;t heard of Boxee, it&#8217;s a piece of software that enables you to manage your images, music and video files on your computer, whilst integrating with social networks and the web to bring in reviews about your content, and allowing you to shout out to the likes of Twitter about the stuff you&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.reynoldsftw.com%2F2009%2F02%2Fcase-study-jquery-on-boxee-dot-tv%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.reynoldsftw.com%2F2009%2F02%2Fcase-study-jquery-on-boxee-dot-tv%2F&amp;source=SteveReynolds&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>If you haven&#8217;t heard of <a href="http://www.boxee.tv" target="_blank">Boxee</a>, it&#8217;s a piece of software that enables you to manage your images, music and video files on your computer, whilst integrating with social networks and the web to bring in reviews about your content, and allowing you to shout out to the likes of Twitter about the stuff you&#8217;re into. Whilst the app is cool, we&#8217;re interested in the website, and their use of jQuery &#8211; so let&#8217;s check it out!</p>
<h3>BlockUI</h3>
<p><a href="http://malsup.com/jquery/block/#overview"><img class="aligncenter size-full wp-image-346" title="BlockUI" src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/blockui.png" alt="BlockUI" width="378" height="74" /></a></p>
<p>The main jQuery plugin that Boxee.tv is using is <a href="http://malsup.com/jquery/block/#overview">BlockUI</a>. The key point to BlockUI is simple, it stops user interaction with your web application whilst your code is simulating synchronous ajax calls. Why do you need this? Well, if you don&#8217;t use it, the browser becomes locked whilst the ajax calls happen, and that&#8217;s <span style="text-decoration: underline;">not a good user experience</span>.</p>
<p>BlockUI works by bringing modal windows up front to the user whilst behind the scenes, the neat stuff is happening. Boxee utilise this in many ways:</p>
<ul>
<li>When validating new user accounts</li>
<li>Recovering Passwords</li>
<p><img class="aligncenter size-full wp-image-348" title="boxeerecoverpassword" src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/boxeerecoverpassword.png" alt="boxeerecoverpassword" width="300" height="122" /></p>
<li>When updating your account preferences</li>
<li>When adding friends</li>
<li>General user feedback</li>
</ul>
<p>BlockUI is extremely flexible, and also includes some great documentation. Their <a href="http://malsup.com/jquery/block/#demos" target="_blank">demo page</a> is also a great place to go to see how you can utilise this plugin&#8230;</p>
<p><center><script type="text/javascript"><!--
google_ad_client = "pub-6415056921376217";
google_ad_channel = "in-ad-unit-sq";
google_ui_features = "rc:0";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_type = "text_image";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0066CC";
google_color_text = "";
google_color_url = "0066CC";

//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</center></p>
<h3>Corner Plugin</h3>
<p><a href="http://www.malsup.com/jquery/corner/"><img class="aligncenter size-full wp-image-352" title="Corner Plugin" src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/cornerplugin.png" alt="Corner Plugin" width="85" height="87" /></a>For UI lovelyness, Boxee.tv has opted for the <a href="http://www.malsup.com/jquery/corner/">Corner Plugin</a>. The plugin is very simple, it allows you to give custom corners to DIV elements, such as rounded, or notched. There are loads to choose from, and implementation is dead simple.</p>
<h3>Autocomplete</h3>
<p><a href="http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/"><img class="aligncenter size-full wp-image-353" title="autocomplete" src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/autocomplete.png" alt="autocomplete" width="341" height="73" /></a>Jörn Zaefferer&#8217;s <a href="http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/" target="_blank">Autocomplete plugin</a> isn&#8217;t working in Boxee.tv as far as I can tell, however it is included in their &#8220;Find Friends&#8221; page. I assume when typing in friends names, live matches would appear, but it either doesn&#8217;t work for me, or is not fully implemented. To be clear, the plugin does work for me elsewhere, just not on Boxee.tv.</p>
<h3>Other Plugins</h3>
<p>Boxee.tv are also using the Dimensions plugin which gives you greater flexibility and cross browser compatibility for element positioning and obviously, dimensions <img src='http://www.reynoldsftw.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> . Dimensions is now included as part of the jQuery core, so no need to download it as a plugin. Just get the latest version of jQuery.</p>
<p><a href="http://plugins.jquery.com/project/bgiframe" target="_blank">BGIframe</a> is also being used to &#8220;ease the pain&#8221; of IE CSS z-index issues.</p>
<h3>General Stuff</h3>
<p>So what else? The guys at Boxee.tv are using alot of jQuery CSS property setting code &#8211; for example:</p>
<pre class="brush: jscript;">
$('.field').blur(function()
{
this.style.backgroundImage = '';
this.style.backgroundColor = '#ffffff';
})</pre>
<p>They&#8217;re also registering various .click() events for their BlockUI modal windows. Nothing too much to talk about there really!</p>
<h3>Conclusion</h3>
<p>I hope you found this short article a nice insight on how these guys are using jQuery. I hope to add more as we go along, so feel free to suggest any that you&#8217;d be interested in seeing by leaving me a comment.</p>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<thead>
<h3>Some books to help you learn:</h3>
</thead>
<tr>
<td align="center" valign="top" width="33%"><div id="attachment_425" class="wp-caption alignnone" style="width: 111px"><a href="http://www.amazon.com/gp/product/1847192505?ie=UTF8&#038;tag=stereyblo-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=1847192505"><img src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/learningjquery.jpg" alt="Learning jQuery" title="Learning jQuery" width="101" height="132" class="size-full wp-image-425" /></a><p class="wp-caption-text">Learning jQuery</p></div><img src="http://www.assoc-amazon.com/e/ir?t=stereyblo-20&#038;l=as2&#038;o=1&#038;a=1847192505" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></td>
<td align="center" valign="top" width="33%"><div id="attachment_424" class="wp-caption alignnone" style="width: 111px"><a href="http://www.amazon.com/gp/product/1933988355?ie=UTF8&amp;tag=stereyblo-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1933988355"><img src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/jqueryinaction.jpg" alt="JQuery In Action" title="JQuery In Action" width="101" height="132" class="size-full wp-image-424" /></a><p class="wp-caption-text">JQuery In Action</p></div><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=stereyblo-20&amp;l=as2&amp;o=1&amp;a=1933988355" border="0" alt="" width="1" height="1" /></td>
<td align="center" valign="top" width="33%"><div id="attachment_426" class="wp-caption alignnone" style="width: 111px"><a href="http://www.amazon.com/gp/product/1847193811?ie=UTF8&#038;tag=stereyblo-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=1847193811"><img src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/jqueryreferenceguide.jpg" alt="jQuery Reference Guide" title="jQuery Reference Guide" width="101" height="132" class="size-full wp-image-426" /></a><p class="wp-caption-text">jQuery Reference Guide</p></div><img src="http://www.assoc-amazon.com/e/ir?t=stereyblo-20&#038;l=as2&#038;o=1&#038;a=1847193811" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></td>
</tr>
</table>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.reynoldsftw.com%2F2009%2F02%2Fcase-study-jquery-on-boxee-dot-tv%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.reynoldsftw.com%2F2009%2F02%2Fcase-study-jquery-on-boxee-dot-tv%2F&amp;source=SteveReynolds&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://www.reynoldsftw.com/2009/02/case-study-jquery-on-boxee-dot-tv/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>jQuery on Whitehouse.gov &#8211; A Closer look</title>
		<link>http://www.reynoldsftw.com/2009/02/jquery-on-whitehousegov-a-closer-look/</link>
		<comments>http://www.reynoldsftw.com/2009/02/jquery-on-whitehousegov-a-closer-look/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 10:14:17 +0000</pubDate>
		<dc:creator>Steve Reynolds</dc:creator>
				<category><![CDATA[Case Study]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.reynoldsftw.com/?p=269</guid>
		<description><![CDATA[Some bigger news to come out last week other than the inauguration of President Obama was that the new White House.gov website uses jQuery! Below is a deeper a look into how they&#8217;re using it, and what plugins they are using so that you can use them too! Navigation The White House has employed the Superfish jQuery plugin [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.reynoldsftw.com%2F2009%2F02%2Fjquery-on-whitehousegov-a-closer-look%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.reynoldsftw.com%2F2009%2F02%2Fjquery-on-whitehousegov-a-closer-look%2F&amp;source=SteveReynolds&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Some bigger news to come out last week other than the inauguration of President Obama was that the new <a href="http://www.whitehouse.gov/" target="_blank">White House.gov</a> website uses jQuery! Below is a deeper a look into how they&#8217;re using it, and what plugins they are using so that you can use them too!</p>
<h3>Navigation</h3>
<p><img class="aligncenter size-full wp-image-273" title="White House Navigation" src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/navigation.png" alt="White House Navigation" width="400" height="116" /></p>
<p>The White House has employed the <a href="http://users.tpg.com.au/j_birch/plugins/superfish/#examples" target="_blank">Superfish jQuery plugin</a> to achieve their nice hover over navigational elements. From their website: <em>&#8220;Superfish is an enhanced Suckerfish-style menu jQuery plugin that takes an existing pure CSS drop-down menu&#8221;.</em></p>
<h3>jQuery Carousel</h3>
<p><a href="http://www.whitehouse.gov/slideshows/presidents/" target="_blank"><img class="aligncenter size-full wp-image-270" title="White House Carosel" src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/carosel.png" alt="White House Carosel" width="400" height="179" /></a></p>
<p>Next up we have a nice implementation of a jQuery carousel and slideshow on the White House&#8217;s &#8220;Presidents&#8221; page. They&#8217;ve got a great navigation going here, allowing you to navigate through via the carousel, the main image, or just watch it auto play through a slideshow. Very cool. They&#8217;ve also got hotkeys registered, so cursor arrows can also be used.</p>
<p>White House.org are using the<a href="http://sorgalla.com/jcarousel/" target="_blank"> jCarousel plugin</a> to achieve the carousel effects. They have integrated that with the javascript <a href="http://devkick.com/lab/galleria/" target="_blank">Galleria plugin</a> which handles the slideshow elements. Discussions on integrating the two can be <a href="http://monc.se/kitchen/151/galleria-jcarousel-true" target="_blank">found here</a> which the White House developers seem to have taken into consideration.</p>
<p><center><script type="text/javascript"><!--
google_ad_client = "pub-6415056921376217";
google_ad_channel = "in-ad-unit-sq";
google_ui_features = "rc:0";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_type = "text_image";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0066CC";
google_color_text = "";
google_color_url = "0066CC";

//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</center></p>
<h3>jQuery Slideshow</h3>
<p><a href="http://www.whitehouse.gov/"><img class="aligncenter size-full wp-image-271" title="Slideshow White House Front Page" src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/slideshowwh.png" alt="Slideshow White House Front Page" width="400" height="161" /></a></p>
<p>Next is the White House homepage. A simple slideshow implementation again which fades 4 pieces of information in and out with accompanying pictures. This piece of functionality is utilizing the <a href="http://malsup.com/jquery/cycle/" target="_blank">jQuery Cycle plugin</a>.</p>
<h3>Utilities</h3>
<p>The White House.org site is using a few add-ons to help fix cross-browser compatibility and enhance basic javascript functionality. First up its using a nicely documented fix by <a href="http://blog.bmn.name/2008/03/jquery-fadeinfadeout-ie-cleartype-glitch/" target="_blank">Benjamin Michael Novakovic</a> for animations with ClearType in IE &#8211; although it doesn&#8217;t credit him.</p>
<p>As part of the slideshow elements, they are also extending the jQuery functionality to include built in timers. Again uncredited, but actually using the <a href="http://jquery.offput.ca/every/" target="_blank">jQuery Every timer</a> functionality.</p>
<p>They&#8217;re also using the <a href="http://ui.jquery.com/" target="_blank">jQueryUI library</a>.</p>
<h3>Finally &#8211; what they&#8217;re not using</h3>
<p><img class="aligncenter size-full wp-image-275" title="thickbox" src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/thickbox.png" alt="thickbox" width="218" height="43" /></p>
<p>Unless hidden somewhere, The White House are including the <a href="http://jquery.com/demo/thickbox/" target="_blank">Thickbox plugin</a> however not using it at this time &#8211; assumingly for future content, or content that is no longer required. They&#8217;re also still using jQuery 1.2.6 which has since been superseded by the new <a href="http://www.jquery.com" target="_blank">jQuery 1.3.1</a> at time of going to press.</p>
<p>Hope you found this insightful&#8230; Comments welcome!</p>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<thead>
<h3>Some books to help you learn:</h3>
</thead>
<tr>
<td align="center" valign="top" width="33%"><div id="attachment_425" class="wp-caption alignnone" style="width: 111px"><a href="http://www.amazon.com/gp/product/1847192505?ie=UTF8&#038;tag=stereyblo-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=1847192505"><img src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/learningjquery.jpg" alt="Learning jQuery" title="Learning jQuery" width="101" height="132" class="size-full wp-image-425" /></a><p class="wp-caption-text">Learning jQuery</p></div><img src="http://www.assoc-amazon.com/e/ir?t=stereyblo-20&#038;l=as2&#038;o=1&#038;a=1847192505" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></td>
<td align="center" valign="top" width="33%"><div id="attachment_424" class="wp-caption alignnone" style="width: 111px"><a href="http://www.amazon.com/gp/product/1933988355?ie=UTF8&amp;tag=stereyblo-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1933988355"><img src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/jqueryinaction.jpg" alt="JQuery In Action" title="JQuery In Action" width="101" height="132" class="size-full wp-image-424" /></a><p class="wp-caption-text">JQuery In Action</p></div><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=stereyblo-20&amp;l=as2&amp;o=1&amp;a=1933988355" border="0" alt="" width="1" height="1" /></td>
<td align="center" valign="top" width="33%"><div id="attachment_426" class="wp-caption alignnone" style="width: 111px"><a href="http://www.amazon.com/gp/product/1847193811?ie=UTF8&#038;tag=stereyblo-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=1847193811"><img src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/jqueryreferenceguide.jpg" alt="jQuery Reference Guide" title="jQuery Reference Guide" width="101" height="132" class="size-full wp-image-426" /></a><p class="wp-caption-text">jQuery Reference Guide</p></div><img src="http://www.assoc-amazon.com/e/ir?t=stereyblo-20&#038;l=as2&#038;o=1&#038;a=1847193811" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></td>
</tr>
</table>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.reynoldsftw.com%2F2009%2F02%2Fjquery-on-whitehousegov-a-closer-look%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.reynoldsftw.com%2F2009%2F02%2Fjquery-on-whitehousegov-a-closer-look%2F&amp;source=SteveReynolds&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://www.reynoldsftw.com/2009/02/jquery-on-whitehousegov-a-closer-look/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
	</channel>
</rss>
