<?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: Build a Tabbed Box with CSS and jQuery</title> <atom:link href="http://www.cssnewbie.com/build-a-tabbed-box-with-css-and-jquery/feed/" rel="self" type="application/rss+xml" /><link>http://www.cssnewbie.com/build-a-tabbed-box-with-css-and-jquery/</link> <description>Web Development Tutorials, Tips &#38; Techniques</description> <lastBuildDate>Mon, 15 Mar 2010 16:04:42 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: 25 Excellent jQuery Tutorials for Navigation Menu &#171; AcrisDesign &#8211; Web Design Resources and Inspiration</title><link>http://www.cssnewbie.com/build-a-tabbed-box-with-css-and-jquery/comment-page-1/#comment-11262</link> <dc:creator>25 Excellent jQuery Tutorials for Navigation Menu &#171; AcrisDesign &#8211; Web Design Resources and Inspiration</dc:creator> <pubDate>Mon, 01 Mar 2010 11:43:48 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/?p=355#comment-11262</guid> <description>[...] Build a Tabbed Box with CSS and jQuery [...]</description> <content:encoded><![CDATA[<p>[...] Build a Tabbed Box with CSS and jQuery [...]</p> ]]></content:encoded> </item> <item><title>By: 五色六彩</title><link>http://www.cssnewbie.com/build-a-tabbed-box-with-css-and-jquery/comment-page-1/#comment-11231</link> <dc:creator>五色六彩</dc:creator> <pubDate>Mon, 22 Feb 2010 05:02:46 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/?p=355#comment-11231</guid> <description>[...] Build a Tabbed Box with CSS and jQuery [...]</description> <content:encoded><![CDATA[<p>[...] Build a Tabbed Box with CSS and jQuery [...]</p> ]]></content:encoded> </item> <item><title>By: annox</title><link>http://www.cssnewbie.com/build-a-tabbed-box-with-css-and-jquery/comment-page-1/#comment-10763</link> <dc:creator>annox</dc:creator> <pubDate>Mon, 25 Jan 2010 17:46:16 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/?p=355#comment-10763</guid> <description>you need to add a rel tag to each element in the tabs
&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;header1&lt;/a&gt;
&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;header2&lt;/a&gt;
&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;header3&lt;/a&gt;
&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;header4&lt;/a&gt;
Here header1 and header2 will work separate to header3 and header4 as they are &quot;grouped&quot; by the rel value.Also, you need to add the same rel value to each of their tabbed-contents. In this example, box1 for header1 and header2&#039;s content; and box3 for header3 and header4&#039;s.orFinally this javascript should work:var currentTab = 0; // Set to a different number to start on a different tab.
var namesTab = [&quot;box1&quot;, &quot;box2&quot;];function openTab(clickedTab) {
var thisTab = $(&quot;.tabbed-box .tabs a&quot;).index(clickedTab);
var thisRel = clickedTab.attr(&quot;rel&quot;);$(&quot;.tabbed-box .tabs li a[rel=&#039;&quot;+thisRel+&quot;&#039;]&quot;).removeClass(&quot;active&quot;);
$(&quot;.tabbed-box .tabs li a:eq(&quot;+thisTab+&quot;)&quot;).addClass(&quot;active&quot;);
$(&quot;.tabbed-box .tabbed-content[rel=&#039;&quot;+thisRel+&quot;&#039;]&quot;).hide();
$(&quot;.tabbed-box .tabbed-content:eq(&quot;+thisTab+&quot;)&quot;).show();
currentTab = thisTab;
}$(document).ready(function() {
$(&quot;.tabs li:eq(0) a&quot;).css(&quot;border-left&quot;, &quot;none&quot;);
$(&quot;.tabbed-box .tabs li a&quot;).click(function() {
openTab($(this)); return false;
});
for (i=0; i&lt;namesTab.length; i++)
$(&quot;.tabbed-box .tabs li a[rel=&#039;&quot;+namesTab[i]+&quot;&#039;]:eq(&quot;+currentTab+&quot;)&quot;).click()
});</description> <content:encoded><![CDATA[<p>you need to add a rel tag to each element in the tabs<br
/> <a
href="#" rel="nofollow">header1</a><br
/> <a
href="#" rel="nofollow">header2</a><br
/> <a
href="#" rel="nofollow">header3</a><br
/> <a
href="#" rel="nofollow">header4</a><br
/> Here header1 and header2 will work separate to header3 and header4 as they are &#8220;grouped&#8221; by the rel value.</p><p>Also, you need to add the same rel value to each of their tabbed-contents. In this example, box1 for header1 and header2&#8217;s content; and box3 for header3 and header4&#8217;s.</p><p>or</p><p>Finally this javascript should work:</p><p>var currentTab = 0; // Set to a different number to start on a different tab.<br
/> var namesTab = ["box1", "box2"];</p><p>function openTab(clickedTab) {<br
/> var thisTab = $(&#8220;.tabbed-box .tabs a&#8221;).index(clickedTab);<br
/> var thisRel = clickedTab.attr(&#8220;rel&#8221;);</p><p> $(&#8220;.tabbed-box .tabs li a[rel='"+thisRel+"']&#8220;).removeClass(&#8220;active&#8221;);<br
/> $(&#8220;.tabbed-box .tabs li a:eq(&#8220;+thisTab+&#8221;)&#8221;).addClass(&#8220;active&#8221;);<br
/> $(&#8220;.tabbed-box .tabbed-content[rel='"+thisRel+"']&#8220;).hide();<br
/> $(&#8220;.tabbed-box .tabbed-content:eq(&#8220;+thisTab+&#8221;)&#8221;).show();<br
/> currentTab = thisTab;<br
/> }</p><p>$(document).ready(function() {<br
/> $(&#8220;.tabs li:eq(0) a&#8221;).css(&#8220;border-left&#8221;, &#8220;none&#8221;);</p><p> $(&#8220;.tabbed-box .tabs li a&#8221;).click(function() {<br
/> openTab($(this)); return false;<br
/> });</p><p> for (i=0; i&lt;namesTab.length; i++)<br
/> $(&quot;.tabbed-box .tabs li a[rel=&#039;&quot;+namesTab[i]+&quot;&#039;]:eq(&quot;+currentTab+&quot;)&quot;).click()<br
/> });</p> ]]></content:encoded> </item> <item><title>By: web design proposal contracts &#124; WebDesignExpert.Me</title><link>http://www.cssnewbie.com/build-a-tabbed-box-with-css-and-jquery/comment-page-1/#comment-10203</link> <dc:creator>web design proposal contracts &#124; WebDesignExpert.Me</dc:creator> <pubDate>Thu, 07 Jan 2010 14:07:56 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/?p=355#comment-10203</guid> <description>[...] Build a tabbed box with CSS and jQuery &#8211; Link. [...]</description> <content:encoded><![CDATA[<p>[...] Build a tabbed box with CSS and jQuery &#8211; Link. [...]</p> ]]></content:encoded> </item> <item><title>By: Rajinder</title><link>http://www.cssnewbie.com/build-a-tabbed-box-with-css-and-jquery/comment-page-1/#comment-10156</link> <dc:creator>Rajinder</dc:creator> <pubDate>Thu, 17 Dec 2009 20:20:11 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/?p=355#comment-10156</guid> <description>Great Tut,Does anyone have the java code to add multiple tabbed boxes to one page? I am not sure how to add separate functions. (new to java) :)</description> <content:encoded><![CDATA[<p>Great Tut,</p><p>Does anyone have the java code to add multiple tabbed boxes to one page? I am not sure how to add separate functions. (new to java) :)</p> ]]></content:encoded> </item> <item><title>By: Build a Tabbed Box with CSS and jQuery &#171; Jbloo</title><link>http://www.cssnewbie.com/build-a-tabbed-box-with-css-and-jquery/comment-page-1/#comment-10154</link> <dc:creator>Build a Tabbed Box with CSS and jQuery &#171; Jbloo</dc:creator> <pubDate>Wed, 16 Dec 2009 02:03:18 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/?p=355#comment-10154</guid> <description>[...] Build a Tabbed Box with CSS and jQuery  Build a Tabbed Box with CSS and jQuery [...]</description> <content:encoded><![CDATA[<p>[...] Build a Tabbed Box with CSS and jQuery  Build a Tabbed Box with CSS and jQuery [...]</p> ]]></content:encoded> </item> <item><title>By: 42 jQuery Navigation based Techniques &#124; Codrops</title><link>http://www.cssnewbie.com/build-a-tabbed-box-with-css-and-jquery/comment-page-1/#comment-10094</link> <dc:creator>42 jQuery Navigation based Techniques &#124; Codrops</dc:creator> <pubDate>Sun, 22 Nov 2009 22:05:17 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/?p=355#comment-10094</guid> <description>[...] : visit  live demo : [...]</description> <content:encoded><![CDATA[<p>[...] : visit  live demo : [...]</p> ]]></content:encoded> </item> <item><title>By: free style</title><link>http://www.cssnewbie.com/build-a-tabbed-box-with-css-and-jquery/comment-page-1/#comment-10082</link> <dc:creator>free style</dc:creator> <pubDate>Fri, 13 Nov 2009 04:41:44 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/?p=355#comment-10082</guid> <description>cool tab!</description> <content:encoded><![CDATA[<p>cool tab!</p> ]]></content:encoded> </item> <item><title>By: James Lassan</title><link>http://www.cssnewbie.com/build-a-tabbed-box-with-css-and-jquery/comment-page-1/#comment-10058</link> <dc:creator>James Lassan</dc:creator> <pubDate>Tue, 27 Oct 2009 19:45:55 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/?p=355#comment-10058</guid> <description>brilliant idea, just what i was looking for, im not sure that i did the coding right could you perhaps send me the full code? jameslassan@googlemail.com cheers, from, James Lassan</description> <content:encoded><![CDATA[<p>brilliant idea, just what i was looking for, im not sure that i did the coding right could you perhaps send me the full code? <a
href="mailto:jameslassan@googlemail.com">jameslassan@googlemail.com</a> cheers, from, James Lassan</p> ]]></content:encoded> </item> <item><title>By: Susie</title><link>http://www.cssnewbie.com/build-a-tabbed-box-with-css-and-jquery/comment-page-1/#comment-10046</link> <dc:creator>Susie</dc:creator> <pubDate>Tue, 20 Oct 2009 16:34:53 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/?p=355#comment-10046</guid> <description>Problems: The first-child tab indents and the last tab runs off the end, beyond the limits of the box. Can someone help me find a solution to that?
Thank you,
Susie</description> <content:encoded><![CDATA[<p>Problems: The first-child tab indents and the last tab runs off the end, beyond the limits of the box. Can someone help me find a solution to that?<br
/> Thank you,<br
/> Susie</p> ]]></content:encoded> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching using disk

Served from: rhetorclick.com @ 2010-03-15 22:07:17 -->