<?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: Collapsing Navigation in jQuery</title>
	<atom:link href="http://daneomatic.com/wp/2009/02/28/collapsing-navigation-in-jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://daneomatic.com/wp/2009/02/28/collapsing-navigation-in-jquery/</link>
	<description>Like tweets, but with grammar.</description>
	<lastBuildDate>Tue, 28 Dec 2010 06:25:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Dane</title>
		<link>http://daneomatic.com/wp/2009/02/28/collapsing-navigation-in-jquery/comment-page-1/#comment-248</link>
		<dc:creator>Dane</dc:creator>
		<pubDate>Sat, 13 Feb 2010 15:11:22 +0000</pubDate>
		<guid isPermaLink="false">http://daneomatic.com/wp/?p=268#comment-248</guid>
		<description>Also, for anyone who wants to have nested list items, I created an example that works for infinitely nested navigation elements:

&lt;a href=&quot;http://labs.brainsideout.com/jquery/collapsing-nav/basic-infinite-2.html&quot; rel=&quot;nofollow&quot;&gt;Basic Many-At-A-Time Collapsing Navigation &quot;Infinite Depth&quot; Edition&lt;/a&gt;

The green &quot;hyperlink&quot; color is merely diagnostic, and helps to visually distinguish real hyperlinks from navigation controls.</description>
		<content:encoded><![CDATA[<p>Also, for anyone who wants to have nested list items, I created an example that works for infinitely nested navigation elements:</p>
<p><a href="http://labs.brainsideout.com/jquery/collapsing-nav/basic-infinite-2.html" rel="nofollow">Basic Many-At-A-Time Collapsing Navigation &#8220;Infinite Depth&#8221; Edition</a></p>
<p>The green &#8220;hyperlink&#8221; color is merely diagnostic, and helps to visually distinguish real hyperlinks from navigation controls.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dane</title>
		<link>http://daneomatic.com/wp/2009/02/28/collapsing-navigation-in-jquery/comment-page-1/#comment-247</link>
		<dc:creator>Dane</dc:creator>
		<pubDate>Sat, 13 Feb 2010 15:08:10 +0000</pubDate>
		<guid isPermaLink="false">http://daneomatic.com/wp/?p=268#comment-247</guid>
		<description>Hi Kate,

Thanks for the message! Unfortunately the script is pretty simple, so it doesn&#039;t know what page you are on in the site, or how that page would relate to the links in the navigation.

I whipped up a quick example that might work for your purposes:

&lt;a href=&quot;http://labs.brainsideout.com/jquery/collapsing-nav/basic-1-smart.html&quot; rel=&quot;nofollow&quot;&gt;Basic One-At-A-Time Collapsing Navigation &quot;Smart&quot; Edition&lt;/a&gt;
&lt;a href=&quot;http://labs.brainsideout.com/jquery/collapsing-nav/index-smart.html&quot; rel=&quot;nofollow&quot;&gt;Stylized One-At-A-Time Collapsing Navigation &quot;Smart&quot; Edition&lt;/a&gt;

It checks for a class assigned to your &quot;body&quot; element, and sees if that class corresponds to a class assigned to one of the sections in the collapsing navigation. If the class of the &quot;body&quot; and the class of the &quot;li&quot; match one another, it displays that section. Otherwise, it defaults to displaying the first section.

The class I&#039;m using is &quot;section-x&quot;, where x is the number of the section. So, when you&#039;re playing with the code, try changing the class of the body to a different number, to trigger a different section to open by default.

I commented the code in these examples as well, to make it a bit more clear what&#039;s going on.

Hope this helps!</description>
		<content:encoded><![CDATA[<p>Hi Kate,</p>
<p>Thanks for the message! Unfortunately the script is pretty simple, so it doesn&#8217;t know what page you are on in the site, or how that page would relate to the links in the navigation.</p>
<p>I whipped up a quick example that might work for your purposes:</p>
<p><a href="http://labs.brainsideout.com/jquery/collapsing-nav/basic-1-smart.html" rel="nofollow">Basic One-At-A-Time Collapsing Navigation &#8220;Smart&#8221; Edition</a><br />
<a href="http://labs.brainsideout.com/jquery/collapsing-nav/index-smart.html" rel="nofollow">Stylized One-At-A-Time Collapsing Navigation &#8220;Smart&#8221; Edition</a></p>
<p>It checks for a class assigned to your &#8220;body&#8221; element, and sees if that class corresponds to a class assigned to one of the sections in the collapsing navigation. If the class of the &#8220;body&#8221; and the class of the &#8220;li&#8221; match one another, it displays that section. Otherwise, it defaults to displaying the first section.</p>
<p>The class I&#8217;m using is &#8220;section-x&#8221;, where x is the number of the section. So, when you&#8217;re playing with the code, try changing the class of the body to a different number, to trigger a different section to open by default.</p>
<p>I commented the code in these examples as well, to make it a bit more clear what&#8217;s going on.</p>
<p>Hope this helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kate</title>
		<link>http://daneomatic.com/wp/2009/02/28/collapsing-navigation-in-jquery/comment-page-1/#comment-246</link>
		<dc:creator>Kate</dc:creator>
		<pubDate>Fri, 12 Feb 2010 16:36:34 +0000</pubDate>
		<guid isPermaLink="false">http://daneomatic.com/wp/?p=268#comment-246</guid>
		<description>Menu works great! Thank you! however, when I&#039;m, let&#039;s say, on a third page in a second section, the menu still opens the first section, probably because of this line:

$(&quot;#collapsing-nav &gt; li:first&quot;).addClass(&quot;selected&quot;);

(just a guess, I don&#039;t really know JS that well)

I have added IDs to all my  tags, but I don&#039;t know how to call them. 
Can you help?</description>
		<content:encoded><![CDATA[<p>Menu works great! Thank you! however, when I&#8217;m, let&#8217;s say, on a third page in a second section, the menu still opens the first section, probably because of this line:</p>
<p>$(&#8220;#collapsing-nav &gt; li:first&#8221;).addClass(&#8220;selected&#8221;);</p>
<p>(just a guess, I don&#8217;t really know JS that well)</p>
<p>I have added IDs to all my  tags, but I don&#8217;t know how to call them.<br />
Can you help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dane</title>
		<link>http://daneomatic.com/wp/2009/02/28/collapsing-navigation-in-jquery/comment-page-1/#comment-210</link>
		<dc:creator>Dane</dc:creator>
		<pubDate>Tue, 29 Sep 2009 14:32:50 +0000</pubDate>
		<guid isPermaLink="false">http://daneomatic.com/wp/?p=268#comment-210</guid>
		<description>Both examples work for me on Windows XP with Internet Explorer 6 and Internet Explorer 7.</description>
		<content:encoded><![CDATA[<p>Both examples work for me on Windows XP with Internet Explorer 6 and Internet Explorer 7.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bobbi Williams</title>
		<link>http://daneomatic.com/wp/2009/02/28/collapsing-navigation-in-jquery/comment-page-1/#comment-209</link>
		<dc:creator>Bobbi Williams</dc:creator>
		<pubDate>Mon, 28 Sep 2009 21:37:42 +0000</pubDate>
		<guid isPermaLink="false">http://daneomatic.com/wp/?p=268#comment-209</guid>
		<description>One more point: your examples (above “One-At-A-Time” Collapsing Navigation and “Many-At-A-Time” Collapsing Navigation) don&#039;t work for me either.</description>
		<content:encoded><![CDATA[<p>One more point: your examples (above “One-At-A-Time” Collapsing Navigation and “Many-At-A-Time” Collapsing Navigation) don&#8217;t work for me either.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bobbi Williams</title>
		<link>http://daneomatic.com/wp/2009/02/28/collapsing-navigation-in-jquery/comment-page-1/#comment-208</link>
		<dc:creator>Bobbi Williams</dc:creator>
		<pubDate>Mon, 28 Sep 2009 21:34:31 +0000</pubDate>
		<guid isPermaLink="false">http://daneomatic.com/wp/?p=268#comment-208</guid>
		<description>I recently hired a local firm to modify the website above to include a menu with dropdowns [see their demo at: http://clients.sumdes.com/RAI/]. And though it works fine on my older system and my laptop, for some reason they are unable to identify, the dropdowns don&#039;t work on my desktop system [running XP]. I have tried it in IE and in Firefox with no success. Also, I have turned off my firewall, my popup blocker, reinstalled the latest service pack and software updates for IE and reinstalled the latest version of JAVA. But they have thrown up their hands and said &quot;We&#039;ve tested this in Opera, Firefox (windows and mac), Safari, Google Chrome, IE 6, 7, and 8 and even in the iPhone Safari browser. Everything works perfectly.&quot; I finally looked into the code and discovered that they are probably using your Google API, so I wonder if you (or anyone) have any idea what&#039;s wrong.</description>
		<content:encoded><![CDATA[<p>I recently hired a local firm to modify the website above to include a menu with dropdowns [see their demo at: <a href="http://clients.sumdes.com/RAI/" rel="nofollow">http://clients.sumdes.com/RAI/</a>. And though it works fine on my older system and my laptop, for some reason they are unable to identify, the dropdowns don't work on my desktop system [running XP]. I have tried it in IE and in Firefox with no success. Also, I have turned off my firewall, my popup blocker, reinstalled the latest service pack and software updates for IE and reinstalled the latest version of JAVA. But they have thrown up their hands and said &#8220;We&#8217;ve tested this in Opera, Firefox (windows and mac), Safari, Google Chrome, IE 6, 7, and 8 and even in the iPhone Safari browser. Everything works perfectly.&#8221; I finally looked into the code and discovered that they are probably using your Google API, so I wonder if you (or anyone) have any idea what&#8217;s wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew</title>
		<link>http://daneomatic.com/wp/2009/02/28/collapsing-navigation-in-jquery/comment-page-1/#comment-78</link>
		<dc:creator>Drew</dc:creator>
		<pubDate>Wed, 25 Mar 2009 08:47:04 +0000</pubDate>
		<guid isPermaLink="false">http://daneomatic.com/wp/?p=268#comment-78</guid>
		<description>You&#039;re a good man for documenting this. Thanks Dane!</description>
		<content:encoded><![CDATA[<p>You&#8217;re a good man for documenting this. Thanks Dane!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dane</title>
		<link>http://daneomatic.com/wp/2009/02/28/collapsing-navigation-in-jquery/comment-page-1/#comment-77</link>
		<dc:creator>Dane</dc:creator>
		<pubDate>Thu, 12 Mar 2009 04:20:41 +0000</pubDate>
		<guid isPermaLink="false">http://daneomatic.com/wp/?p=268#comment-77</guid>
		<description>Cool! Thanks, Charlie!</description>
		<content:encoded><![CDATA[<p>Cool! Thanks, Charlie!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charlie Barker</title>
		<link>http://daneomatic.com/wp/2009/02/28/collapsing-navigation-in-jquery/comment-page-1/#comment-76</link>
		<dc:creator>Charlie Barker</dc:creator>
		<pubDate>Thu, 12 Mar 2009 03:32:14 +0000</pubDate>
		<guid isPermaLink="false">http://daneomatic.com/wp/?p=268#comment-76</guid>
		<description>Oh I forgot to mention if your using this in a public website you could reference the google jquery.js file. There are two benefits the first is speed as many of the ppl accessing your site will already have a copy of the file in their browsers cache. The second is less bandwidth usage on your site.</description>
		<content:encoded><![CDATA[<p>Oh I forgot to mention if your using this in a public website you could reference the google jquery.js file. There are two benefits the first is speed as many of the ppl accessing your site will already have a copy of the file in their browsers cache. The second is less bandwidth usage on your site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charlie Barker</title>
		<link>http://daneomatic.com/wp/2009/02/28/collapsing-navigation-in-jquery/comment-page-1/#comment-75</link>
		<dc:creator>Charlie Barker</dc:creator>
		<pubDate>Thu, 12 Mar 2009 03:23:52 +0000</pubDate>
		<guid isPermaLink="false">http://daneomatic.com/wp/?p=268#comment-75</guid>
		<description>Works well in the safari browser on the iPhone.</description>
		<content:encoded><![CDATA[<p>Works well in the safari browser on the iPhone.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

