<?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>The English Guy Web Design &#187; jquery</title>
	<atom:link href="http://www.theenglishguy.co.uk/tag/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theenglishguy.co.uk</link>
	<description>Web Design, WordPress/Drupal blog design &#38; theming, SEO, css. xhtml, php, coldfusion, jquery and more...</description>
	<lastBuildDate>Tue, 31 Jan 2012 23:47:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Deregister Jquery</title>
		<link>http://www.theenglishguy.co.uk/2010/07/13/deregister-jquery/</link>
		<comments>http://www.theenglishguy.co.uk/2010/07/13/deregister-jquery/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 15:40:15 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[wp_deregister_script]]></category>

		<guid isPermaLink="false">http://www.theenglishguy.co.uk/?p=1969</guid>
		<description><![CDATA[This is more of a techno-geek post than anything, but I wanted to post about this because it had occurred [...]]]></description>
			<content:encoded><![CDATA[<p>This is more of a techno-geek post than anything, but I wanted to post about this because it had occurred and I was scratching my head about it.</p>
<p>For some reason, I think related to WordPress 3.0, the jQuery that was being bundled was interfering with my own google-loaded jQuery. I had deliberately kept that version lower than the official version, because of some of the scripts that were being included.</p>
<p>But after upgrading to WordPress 3.0, it appears that this then started overriding my own version, causing some scripts to really screw up (jQuery.easing mostly).</p>
<p>So after looking around for a fix, I found this post by <a href="http://falcon1986.wordpress.com/2009/07/15/remove-unwanted-wordpress-header-elements/">Falcon1986-Online</a>, and he had written about a solution, which worked well, which was to deregister the script like so:</p>
<blockquote><p>
&lt;?php wp_deregister_script(&#8216;jquery&#8217;); ?&gt;
</p></blockquote>
<p>Put that before the wp_head() call and it fixes the problem. Now only if jQuery.easing would be fixed to work with a higher version of jQuery&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theenglishguy.co.uk/2010/07/13/deregister-jquery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Adding Jquery/Php Controlled Splash Screen</title>
		<link>http://www.theenglishguy.co.uk/2010/04/20/adding-jqueryphp-controlled-splash-screen/</link>
		<comments>http://www.theenglishguy.co.uk/2010/04/20/adding-jqueryphp-controlled-splash-screen/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 10:20:08 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[splash]]></category>

		<guid isPermaLink="false">http://www.theenglishguy.co.uk/?p=1953</guid>
		<description><![CDATA[Today I had a small challenge, which wasn&#8217;t difficult to do as such, but just goes to show how nicely [...]]]></description>
			<content:encoded><![CDATA[<p>Today I had a small challenge, which wasn&#8217;t difficult to do as such, but just goes to show how nicely php and jquery can work together.</p>
<p>On a site I&#8217;ve recently redesigned, <a href="http://www.grssigns.co.uk/">GRS Sign Company</a>, their load times have increased because of more images and more posts. Subsequently they noticed that some of the structural layout was loading before it should, then jquery would take over to reorganize.</p>
<p>So I was asked to add in a splash screen. Straightforward enough.</p>
<p>I created a section in the admin backend functions.php file and let them choose yes/no to add splash screen. Using this I altered the header.php to add in the splash section.</p>
<p>Adding a small section inside the $(document).ready() area of the header, I set the splash css display to &#8216;none&#8217; right at the end after everything had loaded.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theenglishguy.co.uk/2010/04/20/adding-jqueryphp-controlled-splash-screen/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Jquery, addClass &amp; Tracking Toggles</title>
		<link>http://www.theenglishguy.co.uk/2009/05/05/jquery-addclass-tracking-toggles/</link>
		<comments>http://www.theenglishguy.co.uk/2009/05/05/jquery-addclass-tracking-toggles/#comments</comments>
		<pubDate>Tue, 05 May 2009 19:55:36 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[addclass]]></category>
		<category><![CDATA[slidetoggle]]></category>

		<guid isPermaLink="false">http://www.theenglishguy.co.uk/?p=1693</guid>
		<description><![CDATA[When creating a theme recently I had a need to track various div toggling. Perhaps stuck a bit in the [...]]]></description>
			<content:encoded><![CDATA[<p>When creating a theme recently I had a need to track various div toggling. Perhaps stuck a bit in the old JavaScript I used a variable, but then another theme project comes along and I realised there&#8217;s a better method. Actually it was more of a &#8216;Doh what am I doing?&#8217; moment.</p>
<p>Instead of a variable, I am now using a class to keep track of the div&#8217;s toggled status. In the header.php file of the theme, I have this bit of code:</p>
<blockquote><p>
$(document).ready(function() {<br />
&nbsp;$(&#8216;.post-collapse&#8217;).click(function() {<br />
&nbsp;&nbsp;$(this).parent().parent().siblings(&#8216;:eq(0)&#8217;).slideToggle(500);<br />
&nbsp;&nbsp;if ($(this).hasClass(&#8216;slid&#8217;)) {<br />
&nbsp;&nbsp;&nbsp;$(this).css({backgroundPosition:&#8221;top left&#8221;});<br />
&nbsp;&nbsp;&nbsp;$(this).removeClass(&#8216;slid&#8217;);<br />
&nbsp;&nbsp;} else {<br />
&nbsp;&nbsp;&nbsp;$(this).css({backgroundPosition:&#8221;0px -36px&#8221;});<br />
&nbsp;&nbsp;&nbsp;$(this).addClass(&#8216;slid&#8217;);<br />
&nbsp;&nbsp;}<br />
&nbsp;});<br />
});
</p></blockquote>
<p>The <em>post-collapse</em> class is the class attached to a div which is clicked to collapse the main post div. The <strong>jquery</strong> checks for the slid class. This changes the background position of the image in the <em>post-collapse</em> class, for aesthetic purposes exchanging a + mark for a &#8211; mark.</p>
<p>The structure of the html post is as follows:</p>
<blockquote><p>
&lt;div class=&#8221;post&#8221;&gt;<br />
&nbsp;&lt;div class=&#8221;post-title&#8221;&gt;&lt;h2&gt;TITLE&lt;/h2&gt;&lt;div class=&#8221;post-collapse&#8221;&gt;&lt;/div&gt;&lt;/div&gt;<br />
&nbsp;&lt;div class=&#8221;post-content&#8221;&gt;&lt;/div&gt;<br />
&nbsp;&lt;div class=&#8221;post-bottom&#8221;&gt;&lt;/div&gt;<br />
&lt;/div&gt;
</p></blockquote>
<p>But <em>addClass</em> is definately a great way of keeping track of something like this, especially in a <strong>WordPress</strong> environment where there may be many post classes on the page (such as an index page, category page etc.,). </p>
]]></content:encoded>
			<wfw:commentRss>http://www.theenglishguy.co.uk/2009/05/05/jquery-addclass-tracking-toggles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing the Flash Flickr Badge Widget for jQuery</title>
		<link>http://www.theenglishguy.co.uk/2009/02/20/fixing-the-flash-flickr-badge-widget-for-jquery/</link>
		<comments>http://www.theenglishguy.co.uk/2009/02/20/fixing-the-flash-flickr-badge-widget-for-jquery/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 20:50:12 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[flash flickr badge widget]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.theenglishguy.co.uk/?p=1604</guid>
		<description><![CDATA[I installed the Flash Flickr Badge Widget on my personal blog, worked very well. Just a few css alterations and [...]]]></description>
			<content:encoded><![CDATA[<p>I installed the <a href="http://www.erik-rasmussen.com/blog/2006/09/14/flash-flickr-badge-widget-for-wordpress/">Flash Flickr Badge Widget</a> on my personal blog, worked very well. Just a few css alterations and it was ready to go as I wanted it to. Since I&#8217;m using the <a rel="tag" href="http://www.theenglishguy.co.uk/shocking-wordpress-theme/">Shocking WordPress Theme</a> on that blog I didn&#8217;t think there would be much to worry about. I clicked on one of the sidebar headers to collapse the sidebar section and it didn&#8217;t work. Uh oh.</p>
<p>Since that theme uses <strong>jQuery</strong> I thought that the widget was interfering, and sure enough it was. It was including a prototype.js from it&#8217;s own directory. Easy enough to fix though. Edit the flickr-badge-widget.php file and at line 135:</p>
<blockquote><p>
135:&nbsp;function output_fbw($fbw_flickr_id,$fbw_tags,$fbw_rows,<br />
&nbsp;&nbsp;$fbw_cols,$fbw_size,$fbw_transition,$magisterLudi) {<br />
136:&nbsp;&nbsp;&nbsp;echo &#8216;&lt;script type=&#8221;text/javascript&#8221; src=&#8221;&#8216; . get_settings(&#8216;siteurl&#8217;) . &#8216;/wp-content/plugins/flickr-badge-widget/prototype.js&#8221;&gt;&lt;/script&gt;&#8217;;<br />
137:&nbsp;&nbsp;&nbsp;echo &#8216;&lt;script type=&#8221;text/javascript&#8221; src=&#8221;&#8216; . get_settings(&#8216;siteurl&#8217;) . &#8216;/wp-content/plugins/flickr-badge-widget/flickr-badge.js&#8221;&gt;&lt;/script&gt;&#8217;;
</p></blockquote>
<p>After line 136 add this:</p>
<blockquote><p>
&nbsp;&nbsp;&nbsp;echo &#8216;&lt;script src=&#8221;http://jqueryjs.googlecode.com/files/jquery-1.2.6.min.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;&#8217;;
</p></blockquote>
<p>That&#8217;s it, upload the file to the server with the rest and you&#8217;re ready to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theenglishguy.co.uk/2009/02/20/fixing-the-flash-flickr-badge-widget-for-jquery/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Updated GRS Signs Site</title>
		<link>http://www.theenglishguy.co.uk/2009/02/10/updated-grs-signs-site/</link>
		<comments>http://www.theenglishguy.co.uk/2009/02/10/updated-grs-signs-site/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 21:42:37 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[xhtml]]></category>
		<category><![CDATA[grs]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.theenglishguy.co.uk/?p=1602</guid>
		<description><![CDATA[Just wanted to reveal some new updates on the GRS Sign Company website. Over the past week or two there [...]]]></description>
			<content:encoded><![CDATA[<p>Just wanted to reveal some new updates on the <a href="http://www.grssigns.co.uk/" rel="tag">GRS Sign Company</a> website. Over the past week or two there have been small but marked changes in the site. These are generally updates, but also include a few subtle changes that have changed the way the site looks.</p>
<p>First is the sidebar; the main content area on the left had a right grey border. I&#8217;ve removed that now, and instead of a border put definate headers on the sidebar sections, and a small shadowed section on the left side.</p>
<p>Secondly, the menu has been changed a lot. It is now a lot cleaner, and clearer. I separated a lot of the &#8216;signs&#8217; content into it&#8217;s original sections, signs, engraving, and fitting.</p>
<p>Third, the <a href="http://www.grssigns.co.uk/blog/">blog</a> has been updated with both these changes. New datestamps have been put in, and spacing has been drastically removed.</p>
<p>Fourth is the new additions that are added with the jquery, a slide viewer on content pages that let images be put in there shortening the page but without removing the image content.</p>
<p>All in all a lot of the spacing has been tightened up, and it&#8217;s a lot cleaner now. More images put in for the content, and new content sections added. This is a minor update, but still worthy of showing off.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theenglishguy.co.uk/2009/02/10/updated-grs-signs-site/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Shocking WordPress Theme Release</title>
		<link>http://www.theenglishguy.co.uk/2009/01/04/shocking-wordpress-theme/</link>
		<comments>http://www.theenglishguy.co.uk/2009/01/04/shocking-wordpress-theme/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 10:57:51 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress theme]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[xhtml]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[shocking wordpress theme]]></category>
		<category><![CDATA[threaded comments]]></category>
		<category><![CDATA[two columns]]></category>

		<guid isPermaLink="false">http://www.theenglishguy.co.uk/?p=1585</guid>
		<description><![CDATA[While Christmas is a time to relax with friends and family and to celebrate an end of one year and [...]]]></description>
			<content:encoded><![CDATA[<p>While Christmas is a time to relax with friends and family and to celebrate an end of one year and the approach of another, it&#8217;s also a great time to catch up on <strong>WordPress theme</strong> work (at least it is for me!).</p>
<p>I have been working on this new <strong>wordpress theme</strong> for several weeks now and in the past few days I have had the chance to release it fully. One or two tweaks here and there ensued but it&#8217;s much better now and we&#8217;re already on version 1.0.2.</p>
<p>The new theme &#8216;Shocking&#8217; is a two column theme, with a fixed width. It supports the new threaded comments that was released in WordPress 2.7, and is backwards compatible with previous versions. It has some more premium features in it, such as jquery animated sidebar blocks, and jquery animated boxes for the post information on each post. All of the graphics are pngs, which even work with IE6. This theme is compatible with IE6, IE7, FF, Safari, and Opera.</p>
<p>View the <a href="http://www.theenglishguy.co.uk/shocking-wordpress-theme/" rel="tag">Shocking WordPress Theme</a> page, or <a href="http://www.richarddows.co.uk/">see it in action</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theenglishguy.co.uk/2009/01/04/shocking-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

