<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Enhance your Blog Design with jQuery II</title>
	<atom:link href="http://www.bloggingtips.com/2008/10/12/enhance-your-blog-design-with-jquery-ii/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bloggingtips.com/2008/10/12/enhance-your-blog-design-with-jquery-ii/</link>
	<description>Blog Themes, Blog Design &#38; Daily Blog Tips</description>
	<lastBuildDate>Wed, 08 Feb 2012 15:16:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Sarah</title>
		<link>http://www.bloggingtips.com/2008/10/12/enhance-your-blog-design-with-jquery-ii/#comment-270912</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Mon, 27 Oct 2008 15:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=3382#comment-270912</guid>
		<description>Hey Doug. The reason why you see the content initially is because the JavaScript doesn&#039;t activate until the page is loaded as it&#039;s browser side not client side. You can prevent it from showing by using CSS to not display the (eventually) hidden content on page load, however non JS users will not get to see the content at all which of course isn&#039;t a great idea. 
 
It&#039;s unlikely you&#039;ll find any accessible JS solution that will have everything hidden on page load. 
 
As for the Cookie, it&#039;s not too hard to use. If you look in my header.js file on my own site you&#039;ll see how I&#039;ve used it. Feel free to grab the code and have a play :) I didn&#039;t go into that here as I just felt it a bit too advanced. </description>
		<content:encoded><![CDATA[<p>Hey Doug. The reason why you see the content initially is because the JavaScript doesn&#39;t activate until the page is loaded as it&#39;s browser side not client side. You can prevent it from showing by using CSS to not display the (eventually) hidden content on page load, however non JS users will not get to see the content at all which of course isn&#39;t a great idea.</p>
<p>It&#39;s unlikely you&#39;ll find any accessible JS solution that will have everything hidden on page load.</p>
<p>As for the Cookie, it&#39;s not too hard to use. If you look in my header.js file on my own site you&#39;ll see how I&#39;ve used it. Feel free to grab the code and have a play <img src='http://www.bloggingtips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I didn&#39;t go into that here as I just felt it a bit too advanced.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://www.bloggingtips.com/2008/10/12/enhance-your-blog-design-with-jquery-ii/#comment-270899</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Mon, 27 Oct 2008 14:46:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=3382#comment-270899</guid>
		<description>Hi Sarah--  
 
Thanks for the tutorial. I&#039;m trying to add expandable sidebar sections to my wordpress blog, and have been comparing the various jquery + mootools techniques. 
 
I&#039;ve noticed that some techniques --like the one in use on stuffbysarah.net (same as this tutorial, yes?)-- display the hidden content while the page is loading and then snap it shut ... it&#039;s as if the js instructions to hide the content aren&#039;t loaded until the end. I&#039;m wondering if this glitch concerns you and if you have any solutions.  
 
I&#039;m looking for a technique that 1) doesn&#039;t have this glitch; i.e. hides hidden content from the very beginning of page load, 2) is lightweight, 3) works with nested lists, 4) is not true accordion (i.e. open a section doesn&#039;t close another open section; user must close section). ideally i&#039;d add persistent states to the list but i&#039;m not sure how to use the jquery cookie plugin. 
 
--D </description>
		<content:encoded><![CDATA[<p>Hi Sarah&#8211; </p>
<p>Thanks for the tutorial. I&#39;m trying to add expandable sidebar sections to my wordpress blog, and have been comparing the various jquery + mootools techniques.</p>
<p>I&#39;ve noticed that some techniques &#8211;like the one in use on stuffbysarah.net (same as this tutorial, yes?)&#8211; display the hidden content while the page is loading and then snap it shut &#8230; it&#39;s as if the js instructions to hide the content aren&#39;t loaded until the end. I&#39;m wondering if this glitch concerns you and if you have any solutions. </p>
<p>I&#39;m looking for a technique that 1) doesn&#39;t have this glitch; i.e. hides hidden content from the very beginning of page load, 2) is lightweight, 3) works with nested lists, 4) is not true accordion (i.e. open a section doesn&#39;t close another open section; user must close section). ideally i&#39;d add persistent states to the list but i&#39;m not sure how to use the jquery cookie plugin.</p>
<p>&#8211;D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sarah</title>
		<link>http://www.bloggingtips.com/2008/10/12/enhance-your-blog-design-with-jquery-ii/#comment-262135</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Mon, 13 Oct 2008 14:04:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=3382#comment-262135</guid>
		<description>Si, I didn&#039;t actually do each individual one on my site if you check my source, but considering the post is designed for newbies to jQuery I wouldn&#039;t want to go into complex stuff like the stuff you wrote, considering I don&#039;t get it ;) I was also aiming to not change the markup, just to show how jQuery can be used without interfering with the original markup. 
 
But the additional code is always good for those who want to take it further :) </description>
		<content:encoded><![CDATA[<p>Si, I didn&#39;t actually do each individual one on my site if you check my source, but considering the post is designed for newbies to jQuery I wouldn&#39;t want to go into complex stuff like the stuff you wrote, considering I don&#39;t get it <img src='http://www.bloggingtips.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  I was also aiming to not change the markup, just to show how jQuery can be used without interfering with the original markup.</p>
<p>But the additional code is always good for those who want to take it further <img src='http://www.bloggingtips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Si Philp</title>
		<link>http://www.bloggingtips.com/2008/10/12/enhance-your-blog-design-with-jquery-ii/#comment-262044</link>
		<dc:creator>Si Philp</dc:creator>
		<pubDate>Mon, 13 Oct 2008 09:33:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=3382#comment-262044</guid>
		<description>doh! and add the onclick=&quot;Showthis(object)&quot; to the h3 element or just the [+] :) </description>
		<content:encoded><![CDATA[<p>doh! and add the onclick=&quot;Showthis(object)&quot; to the h3 element or just the [+] <img src='http://www.bloggingtips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Si Philp</title>
		<link>http://www.bloggingtips.com/2008/10/12/enhance-your-blog-design-with-jquery-ii/#comment-261891</link>
		<dc:creator>Si Philp</dc:creator>
		<pubDate>Mon, 13 Oct 2008 03:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=3382#comment-261891</guid>
		<description>Rather than adding each onclick event why not just create a function like: 
&lt;code&gt; 
function Showthis(object) 
{ 
var inputObject = document.getElementById(object); 
var undefined; 
if(inputObject != undefined) 
{ 
$(inputObject).slideToggle(&#039;slow&#039;); 
} 
} 
&lt;/code&gt; 
 
Then something like 
&lt;code&gt;           
             Recent Posts &lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;[+]&lt;/a&gt; 
              
             &lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;Post 1&lt;/a&gt; 
             &lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;Post 2&lt;/a&gt;          
              
&lt;/code&gt; </description>
		<content:encoded><![CDATA[<p>Rather than adding each onclick event why not just create a function like:</p>
<p>&lt;code&gt;</p>
<p>function Showthis(object)</p>
<p>{</p>
<p>var inputObject = document.getElementById(object);</p>
<p>var undefined;</p>
<p>if(inputObject != undefined)</p>
<p>{</p>
<p>$(inputObject).slideToggle(&#39;slow&#39;);</p>
<p>}</p>
<p>}</p>
<p>&lt;/code&gt;</p>
<p>Then something like</p>
<p>&lt;code&gt;          </p>
<p>             Recent Posts <a href="#" rel="nofollow">[+]</a></p>
<p>             <a href="#" rel="nofollow">Post 1</a></p>
<p>             <a href="#" rel="nofollow">Post 2</a>         </p>
<p>&lt;/code&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TechZoomIn</title>
		<link>http://www.bloggingtips.com/2008/10/12/enhance-your-blog-design-with-jquery-ii/#comment-261496</link>
		<dc:creator>TechZoomIn</dc:creator>
		<pubDate>Sun, 12 Oct 2008 11:07:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=3382#comment-261496</guid>
		<description>Hey Sarah, 
 
Good to see all these.... 
I have to plan my time to experiment on this. 
Ofcourse i saw ur personal site .Good looking dude :) </description>
		<content:encoded><![CDATA[<p>Hey Sarah,</p>
<p>Good to see all these&#8230;.</p>
<p>I have to plan my time to experiment on this.</p>
<p>Ofcourse i saw ur personal site .Good looking dude <img src='http://www.bloggingtips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

