<?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: Making a Fresh Content Accordion</title>
	<atom:link href="http://tutorialzine.com/2009/12/colorful-content-accordion-css-jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://tutorialzine.com/2009/12/colorful-content-accordion-css-jquery/</link>
	<description>Web Development Tutorials &#38; Resources</description>
	<lastBuildDate>Wed, 16 May 2012 02:12:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Igor Jovanovic</title>
		<link>http://tutorialzine.com/2009/12/colorful-content-accordion-css-jquery/#comment-23298</link>
		<dc:creator>Igor Jovanovic</dc:creator>
		<pubDate>Fri, 13 Apr 2012 01:13:09 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=541#comment-23298</guid>
		<description>Hello Martin,
I neеd your help!
I want to add a new submenu to get third level (e.g. Kiwis &gt; Open Grapes Section &gt;   and my new submenu).
Is it hard to do that? My knowledge of this is equal to zero.
Thanks in advance!</description>
		<content:encoded><![CDATA[<p>Hello Martin,<br />
I neеd your help!<br />
I want to add a new submenu to get third level (e.g. Kiwis &gt; Open Grapes Section &gt;   and my new submenu).<br />
Is it hard to do that? My knowledge of this is equal to zero.<br />
Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dorothy</title>
		<link>http://tutorialzine.com/2009/12/colorful-content-accordion-css-jquery/#comment-21604</link>
		<dc:creator>Dorothy</dc:creator>
		<pubDate>Wed, 18 Jan 2012 14:37:53 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=541#comment-21604</guid>
		<description>Hello, thank tou for the tutorial, its great, I used it for my training, It works exellent, though, there is a small problem. I have another new div below with id=&quot;content&quot;, and when I open the accordeon menu, it pushes down the div id=&quot;content&quot;, could please tell me the reason, why it happens.
Thank you in advance.</description>
		<content:encoded><![CDATA[<p>Hello, thank tou for the tutorial, its great, I used it for my training, It works exellent, though, there is a small problem. I have another new div below with id="content", and when I open the accordeon menu, it pushes down the div id="content", could please tell me the reason, why it happens.<br />
Thank you in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mehmet</title>
		<link>http://tutorialzine.com/2009/12/colorful-content-accordion-css-jquery/#comment-19643</link>
		<dc:creator>Mehmet</dc:creator>
		<pubDate>Thu, 22 Sep 2011 11:24:47 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=541#comment-19643</guid>
		<description>Selected element.


Something like this on line 20 of script.js:
&lt;blockquote&gt;
//first element on page load
$(&#039;li.button a&#039;).eq(0).click().addClass(&#039;active&#039;);

//active element
   $(&#039;li.button a&#039;).click(function() {
       $(&#039;li.button a&#039;).removeClass(&#039;active&#039;);
       $(this).addClass(&#039;active&#039;);
   });
&lt;/blockquote&gt;
And in css:
&lt;blockquote&gt;
li.button a.blue.active { color:#fff; }
li.button a.green.active { color:#fff; }
li.button a.orange.active { color:#fff; }
li.button a.red.active { color:#fff; }
&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>Selected element.</p>
<p>Something like this on line 20 of script.js:</p>
<blockquote><p>
//first element on page load<br />
$('li.button a').eq(0).click().addClass('active');</p>
<p>//active element<br />
   $('li.button a').click(function() {<br />
       $('li.button a').removeClass('active');<br />
       $(this).addClass('active');<br />
   });
</p></blockquote>
<p>And in css:</p>
<blockquote><p>
li.button a.blue.active { color:#fff; }<br />
li.button a.green.active { color:#fff; }<br />
li.button a.orange.active { color:#fff; }<br />
li.button a.red.active { color:#fff; }
</p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://tutorialzine.com/2009/12/colorful-content-accordion-css-jquery/#comment-13682</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Wed, 15 Dec 2010 12:27:27 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=541#comment-13682</guid>
		<description>Hey Martin,

Awesome work here, I really appreciate it.

I had a little trouble with the js but after a little googling found replacing line 46 in jquery.easing.1.3.js with this helped:

return $.easing[$.easing.def](x, t, b, c, d);

Thanks again!</description>
		<content:encoded><![CDATA[<p>Hey Martin,</p>
<p>Awesome work here, I really appreciate it.</p>
<p>I had a little trouble with the js but after a little googling found replacing line 46 in jquery.easing.1.3.js with this helped:</p>
<p>return $.easing[$.easing.def](x, t, b, c, d);</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zedgee</title>
		<link>http://tutorialzine.com/2009/12/colorful-content-accordion-css-jquery/#comment-12843</link>
		<dc:creator>zedgee</dc:creator>
		<pubDate>Tue, 16 Nov 2010 15:33:53 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=541#comment-12843</guid>
		<description>@webdev

Firstly - I think this is the wrong place to leave a comment like this. This is a nice piece of javascript for those who want to use it - not a preaching article on why you should use javascript.

People may have wanted to use less javascript 10 years ago - but these days it is more lightweight and more widely useable than flash, silverlight or other plugin requiring code. Clients don&#039;t really give a shit whether the iphone SHOULD have flash - fact is they want animations, they want application style functions and they want interaction on mobile devices (on all mobile devices, not just iphones).

Don&#039;t get me wrong - I think flash is great for what it does - animations, web games, fully actionscripted interaction. Its just not necessary for these small interactions which just work better using jquery.

Im afraid to say you just sound old-fashioned - Jquery works pretty well for these simple elements - and noscript is on the whole, a much easier degradation to implement than some kind of noflash alternative (of course we all know the easiest way to add noflash alternative content is using javascript)</description>
		<content:encoded><![CDATA[<p>@webdev</p>
<p>Firstly - I think this is the wrong place to leave a comment like this. This is a nice piece of javascript for those who want to use it - not a preaching article on why you should use javascript.</p>
<p>People may have wanted to use less javascript 10 years ago - but these days it is more lightweight and more widely useable than flash, silverlight or other plugin requiring code. Clients don't really give a shit whether the iphone SHOULD have flash - fact is they want animations, they want application style functions and they want interaction on mobile devices (on all mobile devices, not just iphones).</p>
<p>Don't get me wrong - I think flash is great for what it does - animations, web games, fully actionscripted interaction. Its just not necessary for these small interactions which just work better using jquery.</p>
<p>Im afraid to say you just sound old-fashioned - Jquery works pretty well for these simple elements - and noscript is on the whole, a much easier degradation to implement than some kind of noflash alternative (of course we all know the easiest way to add noflash alternative content is using javascript)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rollout</title>
		<link>http://tutorialzine.com/2009/12/colorful-content-accordion-css-jquery/#comment-6771</link>
		<dc:creator>Rollout</dc:creator>
		<pubDate>Tue, 22 Jun 2010 16:56:36 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=541#comment-6771</guid>
		<description>Nice Nav tool.  

I am using this for my navigation. Presently, it is configured similar to your sample...when a user clicks on a main heading, the list opens to reveal items below it. No new page loads. The user can now scroll down the list,  click on an item, and be taken to a page.

I would like this behavior instead:  when a user clicks on a main heading, a corresponding page loads AND the list opens to reveal items related to that heading. 

The code in the script.js file makes opening a page when a main heading is clicked possible, but it disables the list opening feature.  I would like both to happen.

Any suggestions?</description>
		<content:encoded><![CDATA[<p>Nice Nav tool.  </p>
<p>I am using this for my navigation. Presently, it is configured similar to your sample...when a user clicks on a main heading, the list opens to reveal items below it. No new page loads. The user can now scroll down the list,  click on an item, and be taken to a page.</p>
<p>I would like this behavior instead:  when a user clicks on a main heading, a corresponding page loads AND the list opens to reveal items related to that heading. </p>
<p>The code in the script.js file makes opening a page when a main heading is clicked possible, but it disables the list opening feature.  I would like both to happen.</p>
<p>Any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devesh Sharma</title>
		<link>http://tutorialzine.com/2009/12/colorful-content-accordion-css-jquery/#comment-5751</link>
		<dc:creator>Devesh Sharma</dc:creator>
		<pubDate>Tue, 25 May 2010 03:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=541#comment-5751</guid>
		<description>Cool accordion! Good job!</description>
		<content:encoded><![CDATA[<p>Cool accordion! Good job!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nico</title>
		<link>http://tutorialzine.com/2009/12/colorful-content-accordion-css-jquery/#comment-5734</link>
		<dc:creator>Nico</dc:creator>
		<pubDate>Mon, 24 May 2010 18:13:25 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=541#comment-5734</guid>
		<description>What a fantastic set of tabs!!

Also a very helpful post!!

I to have one question, how do you display the current state of the selected tab?

THANK YOU in advance for the help</description>
		<content:encoded><![CDATA[<p>What a fantastic set of tabs!!</p>
<p>Also a very helpful post!!</p>
<p>I to have one question, how do you display the current state of the selected tab?</p>
<p>THANK YOU in advance for the help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amjad</title>
		<link>http://tutorialzine.com/2009/12/colorful-content-accordion-css-jquery/#comment-4067</link>
		<dc:creator>Amjad</dc:creator>
		<pubDate>Wed, 24 Mar 2010 19:43:03 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=541#comment-4067</guid>
		<description>Good job.</description>
		<content:encoded><![CDATA[<p>Good job.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iMayne</title>
		<link>http://tutorialzine.com/2009/12/colorful-content-accordion-css-jquery/#comment-3791</link>
		<dc:creator>iMayne</dc:creator>
		<pubDate>Tue, 16 Mar 2010 21:20:47 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=541#comment-3791</guid>
		<description>Can seem to import this in my .php. Too many conflicting css. Damn!!!!</description>
		<content:encoded><![CDATA[<p>Can seem to import this in my .php. Too many conflicting css. Damn!!!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc
Object Caching 355/356 objects using apc
Content Delivery Network via cdn.tutorialzine.com

Served from: tutorialzine.com @ 2012-05-16 18:06:40 -->
