<?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>Sean Hayes - professional WordPress consulting &#187; jquery</title>
	<atom:link href="http://www.seanhayes.biz/tag/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.seanhayes.biz</link>
	<description></description>
	<lastBuildDate>Mon, 26 Dec 2011 19:53:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Integrating WordPress and Google-hosted jQuery 1.4</title>
		<link>http://www.seanhayes.biz/2010/integrating-wordpress-and-google-hosted-jquery-1-4/</link>
		<comments>http://www.seanhayes.biz/2010/integrating-wordpress-and-google-hosted-jquery-1-4/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 19:15:04 +0000</pubDate>
		<dc:creator>sean</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[1.4]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.seanhayes.biz/?p=312</guid>
		<description><![CDATA[The release of jQuery 1.4 brings many javascript improvements in performance, better handling of attributes, manipulation of DOM events and many more. Head over to the jQuery site for more details and a breakdown of the new features and improvements. That&#8217;s great and we all like speed and flexibility improvements. Now, how would you like [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_317" class="wp-caption alignright" style="width: 160px"><a href="http://www.seanhayes.biz/wp-content/uploads/2010/01/wordpress-heart-jquery.png"><img class="size-thumbnail wp-image-317" title="wordpress-heart-jquery" src="http://www.seanhayes.biz/wp-content/uploads/2010/01/wordpress-heart-jquery-150x150.png" alt="WordPress &amp; jQuery" width="150" height="150" /></a><p class="wp-caption-text">WordPress &amp; jQuery</p></div>
<p>The release of jQuery 1.4 brings many javascript improvements in performance, better handling of attributes, manipulation of DOM events and many more. Head over to the<a rel="nofollow" title="jQuery 1.4 New features and more information" href="http://www.seanhayes.biz/goto/_jQuery/312/2" target="_blank"> jQuery</a> site for more details and a breakdown of the new features and improvements.</p>
<p>That&#8217;s great and we all like speed and flexibility improvements. Now, how would you like these in your blog from today? Well a very quick and easy modification to your theme can have you utilizing the latest version of jQuery from Google&#8217;s CDN servers. I took the code block from the source site below, inserted it in my functions.php but replaced the jQuery version number. Check out the adjusted code block below:</p>
<pre class="brush: php; highlight: [3]; title: ; notranslate">
if( !is_admin()){
   wp_deregister_script('jquery');
   wp_register_script('jquery', (&quot;http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js&quot;), false, '');
   wp_enqueue_script('jquery');
}
</pre>
<p>See where I just put &#8220;..jquery/1/jquery&#8230;&#8221; &#8211; by referencing the &#8220;1&#8243; instead of &#8220;1.3.2&#8243; we will get the latest version of jQuery loaded on the site. A quick look at the source code and we can see that the inserted javascript source is indeed via Google&#8217;s CDN and by clicking on the source code we see it&#8217;s version 1.4. To use simple terms in this code we are telling WordPress to &#8220;forget&#8221; it&#8217;s usual jQuery source / script setting, then preparing WordPress for the new settings (please load jQuery from Google&#8217;s CDN) and then serving up the new information for WordPress to use.</p>
<p>A quick and easy way to give your blog / site the benefits of the recent jQuery updates and improvements. If you encounter an issue with your site or  jQuery after this change you can easily revert to the previous version (1.3.2) by either removing the code block you added or, to keep jQuery hosted by Google&#8217;s CDN, adjusting the version number from &#8220;1&#8243; to &#8220;1.3.2&#8243;. For those more familiar with jQuery coding <a rel="nofollow" title="jQuery backwards incompatible changes" href="http://www.seanhayes.biz/goto/there_s_a_list_of_backwards_incompatible_changes/312/3" target="_blank">there&#8217;s a list of &#8220;backwards incompatible&#8221; changes</a> settings on the jQuery site.</p>
<p>If you&#8217;ve changed your site over to jQuery 1.4 how did it work out? As smoothly as mine did? Leave me a comment.</p>
<p>Source: <a rel="nofollow" href="http://www.seanhayes.biz/goto/http_digwp_com_2009_06_use_google_hosted_javascript_libraries_still_the_right_way_/312/4">http://digwp.com/2009/06/use-google-hosted-javascript-libraries-still-the-right-way/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seanhayes.biz/2010/integrating-wordpress-and-google-hosted-jquery-1-4/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>WordPress and jQuery</title>
		<link>http://www.seanhayes.biz/2009/wordpress-and-jquery/</link>
		<comments>http://www.seanhayes.biz/2009/wordpress-and-jquery/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 16:00:39 +0000</pubDate>
		<dc:creator>sean</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.seanhayes.biz/?p=123</guid>
		<description><![CDATA[A recent client project increased my exposure to integrating jQuery with WordPress. For this client I had to design a filter interface enabling the user to choose a category and then pick a time range to search for rated posts (if not all time) and then finally the resultant posts are sorted by ratings. For [...]]]></description>
			<content:encoded><![CDATA[<p>A recent client project increased my exposure to integrating jQuery with WordPress.</p>
<p>For this client I had to design a filter interface enabling the user to choose a category and then pick a time range to search for rated posts (if not all time) and then finally the resultant posts are sorted by ratings. For the ratings the site already used the excellent plugin WP-Post ratings from Lester Chan. I made minor tweeks to this plugin so it could search for rated posts based on the date they were posted (rather than the date they were rated). </p>
<p>I utilised jQuery to perform the category highlighting, date selection and to inject the results in the page without a page refresh. Very neat and visually appealing I know, like most other developers that jQuery will be used more and more.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.seanhayes.biz/2009/wordpress-and-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using apc (User agent is rejected)
Database Caching 1/13 queries in 0.010 seconds using apc
Object Caching 304/338 objects using apc

Served from: www.seanhayes.biz @ 2012-02-06 13:51:58 -->
