<?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>MaggsWeb:7 &#187; JQuery</title>
	<atom:link href="http://www.maggsweb.com/tag/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.maggsweb.com</link>
	<description>www.maggsweb.com</description>
	<lastBuildDate>Sat, 21 Aug 2010 20:50:00 +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>Font-size ReSize with JQuery</title>
		<link>http://www.maggsweb.com/css/font-size-resize-with-jquery/</link>
		<comments>http://www.maggsweb.com/css/font-size-resize-with-jquery/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 11:24:00 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[JQuery]]></category>

		<guid isPermaLink="false">http://www.maggsweb.com/?p=873</guid>
		<description><![CDATA[Ever wondered how to do the Increase/Decrease font sizes without reload&#8230;? ?View Code JAVASCRIPT $(document).ready(function() { $(&#34;a.Styleswitcher&#34;).click(function() { $('link[rel=stylesheet]').attr('href' , $(this).attr('rel')); }); }); Then put the links somewhere prominent, most likely chganged to images. ?View Code HTML &#60;a class=&#34;Styleswitcher&#34; rel=&#34;default.css&#34; href=&#34;#&#34;&#62;Default Theme&#60;/a&#62; &#60;a class=&#34;Styleswitcher&#34; rel=&#34;red.css&#34; href=&#34;#&#34;&#62;Red Theme&#60;/a&#62; &#60;a class=&#34;Styleswitcher&#34; rel=&#34;blue.css&#34; href=&#34;#&#34;&#62;Blue Theme&#60;/a&#62;]]></description>
			<content:encoded><![CDATA[<p>Ever wondered how to do the Increase/Decrease font sizes without reload&#8230;?<br />
<span id="more-873"></span></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?" onclick="pageTracker._trackPageview('/outgoing/www.ericbess.com/ericblog/2008/03/03/wp-codebox/_examples?referer=');"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p873code3'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p8733"><td class="code" id="p873code3"><pre class="javascript" style="font-family:monospace;"> $(document).ready(function() {
    $(&quot;a.Styleswitcher&quot;).click(function() {
        $('link[rel=stylesheet]').attr('href' , $(this).attr('rel'));
    });
});</pre></td></tr></table></div>

<p>
Then put the links somewhere prominent, most likely chganged to images.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?" onclick="pageTracker._trackPageview('/outgoing/www.ericbess.com/ericblog/2008/03/03/wp-codebox/_examples?referer=');"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p873code4'); return false;">View Code</a> HTML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p8734"><td class="code" id="p873code4"><pre class="html" style="font-family:monospace;">    &lt;a class=&quot;Styleswitcher&quot; rel=&quot;default.css&quot; href=&quot;#&quot;&gt;Default Theme&lt;/a&gt;
    &lt;a class=&quot;Styleswitcher&quot; rel=&quot;red.css&quot; href=&quot;#&quot;&gt;Red Theme&lt;/a&gt;
    &lt;a class=&quot;Styleswitcher&quot; rel=&quot;blue.css&quot; href=&quot;#&quot;&gt;Blue Theme&lt;/a&gt;</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.maggsweb.com/css/font-size-resize-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery show/hide DIV &amp; Image</title>
		<link>http://www.maggsweb.com/javascript/jquery-showhide-div-image/</link>
		<comments>http://www.maggsweb.com/javascript/jquery-showhide-div-image/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 08:31:55 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[JQuery]]></category>

		<guid isPermaLink="false">http://www.maggsweb.com/?p=715</guid>
		<description><![CDATA[Show/Hide areas are common place now all over the web and are an easy way to display large amounts of information that may/may not be useful to all readers. The [+] and [-] images are the key, and changing these must be seamless.. Enter jQuery. ?View Code JAVASCRIPT&#160; $(document).ready(function() { &#160; $('.searchItem').hide(); //initial hide &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>Show/Hide areas are common place now all over the web and are an easy way to display large amounts of information that may/may not be useful to all readers.  The [+] and [-] images are the key, and changing these must be seamless..<br />
Enter jQuery.<br />
<span id="more-715"></span></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?" onclick="pageTracker._trackPageview('/outgoing/www.ericbess.com/ericblog/2008/03/03/wp-codebox/_examples?referer=');"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p715code6'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p7156"><td class="code" id="p715code6"><pre class="javascript" style="font-family:monospace;">&nbsp;
    $(document).ready(function() {
&nbsp;
      $('.searchItem').hide();    //initial hide 
&nbsp;
	  $('a#showHideBtn').toggle(
		   function(){ 
				$('.searchItem').show('slow');
				$('#showHideImage').attr('src','../images/hide.gif');
		   }, function() { 
				$('.searchItem').hide('slow');
				$('#showHideImage').attr('src','../images/show.gif');
		   });
&nbsp;
      });</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.maggsweb.com/javascript/jquery-showhide-div-image/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Browser detection with JQuery</title>
		<link>http://www.maggsweb.com/javascript/browser-detection-with-jquery/</link>
		<comments>http://www.maggsweb.com/javascript/browser-detection-with-jquery/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 14:22:46 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[browser detection]]></category>
		<category><![CDATA[JQuery]]></category>

		<guid isPermaLink="false">http://www.maggsweb.com/?p=525</guid>
		<description><![CDATA[Want to determine the browser version for conditional Javascript/JQuery ? Use JQuery then. ?View Code JAVASCRIPT&#160; if( $.browser.safari ) { //Safari } elseif ($.browser.msie &#38;&#38; $.browser.version &#62; 6 ) { //IE v7+ } else if ($.browser.msie &#38;&#38; $.browser.version &#60;= 6 ) { //IE -v7 } elseif ($.browser.mozilla &#38;&#38; $.browser.version &#62;= &#34;1.8&#34; ) { //FF2+ }]]></description>
			<content:encoded><![CDATA[<p>Want to determine the browser version for conditional Javascript/JQuery ?  Use JQuery then.<br />
<span id="more-525"></span></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?" onclick="pageTracker._trackPageview('/outgoing/www.ericbess.com/ericblog/2008/03/03/wp-codebox/_examples?referer=');"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p525code8'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p5258"><td class="code" id="p525code8"><pre class="javascript" style="font-family:monospace;">&nbsp;
if( $.browser.safari ) {
    //Safari
} elseif ($.browser.msie &amp;&amp; $.browser.version &gt; 6 ) {
    //IE v7+
} else if ($.browser.msie &amp;&amp; $.browser.version &lt;= 6 ) {
    //IE  -v7
} elseif ($.browser.mozilla &amp;&amp; $.browser.version &gt;= &quot;1.8&quot; ) {
    //FF2+
}</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.maggsweb.com/javascript/browser-detection-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
