<?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: Tab Navigation with Smooth Horizontal Sliding Using jQuery</title>
	<atom:link href="http://www.learningjquery.com/2009/09/tab-navigation-with-smooth-horizontal-sliding-using-jquery/feed" rel="self" type="application/rss+xml" />
	<link>http://www.learningjquery.com/2009/09/tab-navigation-with-smooth-horizontal-sliding-using-jquery</link>
	<description>Tips, techniques, and tutorials for the jQuery JavaScript library</description>
	<lastBuildDate>Wed, 08 Feb 2012 13:50:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: JQUERY TAB AND MENU TUTORIALS &#124; A1Tutorials</title>
		<link>http://www.learningjquery.com/2009/09/tab-navigation-with-smooth-horizontal-sliding-using-jquery/comment-page-1#comment-84604</link>
		<dc:creator>JQUERY TAB AND MENU TUTORIALS &#124; A1Tutorials</dc:creator>
		<pubDate>Sun, 23 Oct 2011 05:04:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=896#comment-84604</guid>
		<description>[...]   J-QUERY HORIZONTALLY NAVIGATION MENU Navigation Menu [...]</description>
		<content:encoded><![CDATA[<p>[...]   J-QUERY HORIZONTALLY NAVIGATION MENU Navigation Menu [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://www.learningjquery.com/2009/09/tab-navigation-with-smooth-horizontal-sliding-using-jquery/comment-page-1#comment-84340</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Wed, 24 Aug 2011 11:01:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=896#comment-84340</guid>
		<description>Hi all,

First of all, thanks for sharing Karl, it&#039;s a very valuable ressource for jquery beginners.

I&#039;m looking for the same setup as Doug, any idea how to implement that  ?

cheers</description>
		<content:encoded><![CDATA[<p>Hi all,</p>
<p>First of all, thanks for sharing Karl, it&#8217;s a very valuable ressource for jquery beginners.</p>
<p>I&#8217;m looking for the same setup as Doug, any idea how to implement that  ?</p>
<p>cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phet</title>
		<link>http://www.learningjquery.com/2009/09/tab-navigation-with-smooth-horizontal-sliding-using-jquery/comment-page-1#comment-84307</link>
		<dc:creator>Phet</dc:creator>
		<pubDate>Wed, 10 Aug 2011 20:28:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=896#comment-84307</guid>
		<description>Had the same issue. I referred to another Tut that Karl wrote : http://www.learningjquery.com/2009/02/slide-elements-in-different-directions

BUT, I only have a 1 row menu.

You can see it here : http://www.prohockeylife.com/media

Hop this help!
Phet</description>
		<content:encoded><![CDATA[<p>Had the same issue. I referred to another Tut that Karl wrote : <a href="http://www.learningjquery.com/2009/02/slide-elements-in-different-directions" rel="nofollow">http://www.learningjquery.com/2009/02/slide-elements-in-different-directions</a></p>
<p>BUT, I only have a 1 row menu.</p>
<p>You can see it here : <a href="http://www.prohockeylife.com/media" rel="nofollow">http://www.prohockeylife.com/media</a></p>
<p>Hop this help!<br />
Phet</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Missy</title>
		<link>http://www.learningjquery.com/2009/09/tab-navigation-with-smooth-horizontal-sliding-using-jquery/comment-page-1#comment-84028</link>
		<dc:creator>Missy</dc:creator>
		<pubDate>Wed, 27 Jul 2011 16:05:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=896#comment-84028</guid>
		<description>This is really nice, however there&#039;s a huge problem.  

Let&#039;s say I have a centered page and I want to use this menu on the right-hand side so that the items slide in over the content (pretty much as per your example).

The positioning of the containers means that any hyperlink in the content can&#039;t be clicked - even all the containers of the nav have a transparent background.

Anyone know of a solution to this?</description>
		<content:encoded><![CDATA[<p>This is really nice, however there&#8217;s a huge problem.  </p>
<p>Let&#8217;s say I have a centered page and I want to use this menu on the right-hand side so that the items slide in over the content (pretty much as per your example).</p>
<p>The positioning of the containers means that any hyperlink in the content can&#8217;t be clicked &#8211; even all the containers of the nav have a transparent background.</p>
<p>Anyone know of a solution to this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryce</title>
		<link>http://www.learningjquery.com/2009/09/tab-navigation-with-smooth-horizontal-sliding-using-jquery/comment-page-1#comment-83658</link>
		<dc:creator>Bryce</dc:creator>
		<pubDate>Tue, 26 Apr 2011 20:02:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=896#comment-83658</guid>
		<description>Awesome menu! Thank you for posting. I was wondering how to make this menu function so it slides out on hover instead of click. I am using the left to right version of the JS/CSS posted by Phet.

Thanks!</description>
		<content:encoded><![CDATA[<p>Awesome menu! Thank you for posting. I was wondering how to make this menu function so it slides out on hover instead of click. I am using the left to right version of the JS/CSS posted by Phet.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phet</title>
		<link>http://www.learningjquery.com/2009/09/tab-navigation-with-smooth-horizontal-sliding-using-jquery/comment-page-1#comment-83458</link>
		<dc:creator>Phet</dc:creator>
		<pubDate>Thu, 10 Feb 2011 17:28:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=896#comment-83458</guid>
		<description>Hope this help...

CSS:
&lt;pre&gt;&lt;code&gt;&lt;style type=&quot;text/css&quot;&gt;
html, body {
margin: 0; 
padding: 0; 
border-width: 0;
}
body {
font: 14px/1.4 Helvetica, Verdana, Arial, sans-serif;
text-align: center;
}

.container-menu {
width: 800px;
margin: 40px auto;
text-align: left;
background-color:#F00;
}


/*THE MENU*/
/*Container for the menu*/
.tab-nav {
width: 800px;
overflow: hidden; /*The wrapper&#039;s overflow declaration is significant, as it hides the list items when they&#039;re sticking out to the right, but the rest is &quot;window dressing.&quot;*/
background: #ccc url(tab-slide.png) no-repeat 0 0;
}
/*Tab-background*/
.tab-nav ul {
position: relative;
float: right; 
width: 1600px;
margin-right: 725px; 
padding-right: 0;
list-style-type: none;
background:#0F0/*GREEN*/;
}
/*Menu item list*/
.tab-nav li { 
float: right;
clear: right; 
}


/*HANGING TAB*/
/*Style for the hanging tab, when close menu*/
.tab-nav a {
display: block;
width: 74px;
border-right: 1px solid #ddd;
height: 50px;
line-height: 49px;
float: right;
text-align: center;
text-decoration: none;
color: #F0F/*PINK*/;
background: #06F url(tab-slide.png) no-repeat 2px -180px;
}
/*Style for the hanging tab, when open menu*/
.tab-nav a.expanded {
background-position: 2px -230px;
}



/*Second level menu style (part of the menu that is hidden when closed*/
.tab-nav ul ul { float: right; background-color: #333; width: auto; margin-right: 0;}
.tab-nav li li { clear: none;}
.tab-nav li li a { color: #fff; width: 100px; background-image: none;}
&lt;/style&gt;
&lt;/code&gt;&lt;/pre&gt;

Javasript:
&lt;pre&gt;&lt;code&gt;
$(document).ready(function() {
  $(&#039;#tab-nav-1 &gt; ul &gt; li &gt; a&#039;).click(function() {
    var $parentItem = $(this).parent(),
        slideAmt = $(this).next().width(),
        direction;

    if (parseInt($parentItem.css(&#039;marginRight&#039;), 10) &lt; 0) {
      direction = &#039;+=&#039;;
      $(this).removeClass(&#039;expanded&#039;);
    } else {
      $(this).addClass(&#039;expanded&#039;);
      direction = &#039;-=&#039;;
    }
    $parentItem
      .animate({marginRight: direction + slideAmt}, 400);
    return false;
  });
 
});

$(document).ready(function() {
  var $topLinks2 = $(&#039;#tab-nav-2 &gt; ul &gt; li &gt; a&#039;);
  $topLinks2.click(function() {
    var $parentItem = $(this).parent(),
        slideAmt = $(this).next().width(),
        direction;
    $topLinks2.removeClass(&#039;expanded&#039;);
    if (parseInt($parentItem.css(&#039;marginRight&#039;), 10) &lt; 0) {
      direction = &#039;+=&#039;;
    } else {
      $(this).addClass(&#039;expanded&#039;);
      direction = &#039;-=&#039;;
    }
    $parentItem
      .animate({marginRight: direction + slideAmt}, 400)
        .siblings()
        .animate({marginRight: &#039;0&#039;}, 150);
    return false;
  });
});


$(document).ready(function() {
  var closeAll,
      $topLinks3 = $(&#039;#tab-nav-3 &gt; ul &gt; li &gt; a&#039;);

  $(&#039;#tab-nav-3 ul ul&#039;).css(&#039;opacity&#039;, &#039;0.5&#039;);
  
  setTabIndex();
  
  $topLinks3.click(function() {
    var $parentItem = $(this).parent(),
        slideAmt = $(this).next().width(),
        direction;
    $topLinks3.removeClass(&#039;expanded&#039;);
    if (parseInt($parentItem.css(&#039;marginRight&#039;), 10) &lt; 0) {
      direction = &#039;+=&#039;;
    } else {
      $(this).addClass(&#039;expanded&#039;);
      direction = &#039;-=&#039;;
    }
    $parentItem
    .animate({marginRight: direction + slideAmt}, 400)
      .siblings()
      .animate({marginRight: &#039;0&#039;}, 150);
        
    setTabIndex();
    
    return false;
  });
  
  $(&#039;#tab-nav-3&#039;)
  .mouseleave(function() {
    closeAll = setTimeout(function() {
      $topLinks3.removeClass(&#039;expanded&#039;).parent().animate({marginRight: &#039;0&#039;}, 150);
    }, 1000);
  }).mouseenter(function() {
    clearTimeout(closeAll);
  });

  function setTabIndex() {
    $topLinks3.each(function(index) {
      if ($(this).is(&#039;.expanded&#039;)) {
        $(this).next().find(&#039;a&#039;).removeAttr(&#039;tabIndex&#039;);
      } else {
        $(this).next().find(&#039;a&#039;).attr({tabIndex: &#039;-1&#039;});
      }
    });
  }

  
});
&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Hope this help&#8230;</p>
<p>CSS:</p>
<pre><code>&lt;style type="text/css"&gt;
html, body {
margin: 0;
padding: 0;
border-width: 0;
}
body {
font: 14px/1.4 Helvetica, Verdana, Arial, sans-serif;
text-align: center;
}

.container-menu {
width: 800px;
margin: 40px auto;
text-align: left;
background-color:#F00;
}

/*THE MENU*/
/*Container for the menu*/
.tab-nav {
width: 800px;
overflow: hidden; /*The wrapper's overflow declaration is significant, as it hides the list items when they're sticking out to the right, but the rest is "window dressing."*/
background: #ccc url(tab-slide.png) no-repeat 0 0;
}
/*Tab-background*/
.tab-nav ul {
position: relative;
float: right;
width: 1600px;
margin-right: 725px;
padding-right: 0;
list-style-type: none;
background:#0F0/*GREEN*/;
}
/*Menu item list*/
.tab-nav li {
float: right;
clear: right;
}

/*HANGING TAB*/
/*Style for the hanging tab, when close menu*/
.tab-nav a {
display: block;
width: 74px;
border-right: 1px solid #ddd;
height: 50px;
line-height: 49px;
float: right;
text-align: center;
text-decoration: none;
color: #F0F/*PINK*/;
background: #06F url(tab-slide.png) no-repeat 2px -180px;
}
/*Style for the hanging tab, when open menu*/
.tab-nav a.expanded {
background-position: 2px -230px;
}

/*Second level menu style (part of the menu that is hidden when closed*/
.tab-nav ul ul { float: right; background-color: #333; width: auto; margin-right: 0;}
.tab-nav li li { clear: none;}
.tab-nav li li a { color: #fff; width: 100px; background-image: none;}
&lt;/style&gt;
</code></pre>
<p>Javasript:</p>
<pre><code>
$(document).ready(function() {
  $('#tab-nav-1 &gt; ul &gt; li &gt; a').click(function() {
    var $parentItem = $(this).parent(),
        slideAmt = $(this).next().width(),
        direction;

    if (parseInt($parentItem.css('marginRight'), 10) &lt; 0) {
      direction = '+=';
      $(this).removeClass('expanded');
    } else {
      $(this).addClass('expanded');
      direction = '-=';
    }
    $parentItem
      .animate({marginRight: direction + slideAmt}, 400);
    return false;
  });

});

$(document).ready(function() {
  var $topLinks2 = $('#tab-nav-2 &gt; ul &gt; li &gt; a');
  $topLinks2.click(function() {
    var $parentItem = $(this).parent(),
        slideAmt = $(this).next().width(),
        direction;
    $topLinks2.removeClass('expanded');
    if (parseInt($parentItem.css('marginRight'), 10) &lt; 0) {
      direction = '+=';
    } else {
      $(this).addClass('expanded');
      direction = '-=';
    }
    $parentItem
      .animate({marginRight: direction + slideAmt}, 400)
        .siblings()
        .animate({marginRight: '0'}, 150);
    return false;
  });
});

$(document).ready(function() {
  var closeAll,
      $topLinks3 = $('#tab-nav-3 &gt; ul &gt; li &gt; a');

  $('#tab-nav-3 ul ul').css('opacity', '0.5');

  setTabIndex();

  $topLinks3.click(function() {
    var $parentItem = $(this).parent(),
        slideAmt = $(this).next().width(),
        direction;
    $topLinks3.removeClass('expanded');
    if (parseInt($parentItem.css('marginRight'), 10) &lt; 0) {
      direction = '+=';
    } else {
      $(this).addClass('expanded');
      direction = '-=';
    }
    $parentItem
    .animate({marginRight: direction + slideAmt}, 400)
      .siblings()
      .animate({marginRight: '0'}, 150);

    setTabIndex();

    return false;
  });

  $('#tab-nav-3')
  .mouseleave(function() {
    closeAll = setTimeout(function() {
      $topLinks3.removeClass('expanded').parent().animate({marginRight: '0'}, 150);
    }, 1000);
  }).mouseenter(function() {
    clearTimeout(closeAll);
  });

  function setTabIndex() {
    $topLinks3.each(function(index) {
      if ($(this).is('.expanded')) {
        $(this).next().find('a').removeAttr('tabIndex');
      } else {
        $(this).next().find('a').attr({tabIndex: '-1'});
      }
    });
  }

});
</code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: baylock</title>
		<link>http://www.learningjquery.com/2009/09/tab-navigation-with-smooth-horizontal-sliding-using-jquery/comment-page-1#comment-82953</link>
		<dc:creator>baylock</dc:creator>
		<pubDate>Fri, 22 Oct 2010 19:45:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=896#comment-82953</guid>
		<description>Nice script, thank you! I&#039;m the fourth, and hopefully the last user to ask: what must we do in order to make the menu slide from left to right? It has been asked many times but there is no answer yet. Of course, you are not obliged to answer as you already did a lot, but it will really be nice of you.
I tried to change the &quot;direction&quot; and the &quot;marginLeft&quot; in the js file but with no success...</description>
		<content:encoded><![CDATA[<p>Nice script, thank you! I&#8217;m the fourth, and hopefully the last user to ask: what must we do in order to make the menu slide from left to right? It has been asked many times but there is no answer yet. Of course, you are not obliged to answer as you already did a lot, but it will really be nice of you.<br />
I tried to change the &#8220;direction&#8221; and the &#8220;marginLeft&#8221; in the js file but with no success&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gowranga Chintapatra</title>
		<link>http://www.learningjquery.com/2009/09/tab-navigation-with-smooth-horizontal-sliding-using-jquery/comment-page-1#comment-81946</link>
		<dc:creator>Gowranga Chintapatra</dc:creator>
		<pubDate>Mon, 27 Sep 2010 17:40:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=896#comment-81946</guid>
		<description>Hi Karl,
Really good job. Can you suggest some idea so that I can have horizontal parent tab with same features.
Thanks</description>
		<content:encoded><![CDATA[<p>Hi Karl,<br />
Really good job. Can you suggest some idea so that I can have horizontal parent tab with same features.<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Affordable Web Solutions</title>
		<link>http://www.learningjquery.com/2009/09/tab-navigation-with-smooth-horizontal-sliding-using-jquery/comment-page-1#comment-81855</link>
		<dc:creator>Affordable Web Solutions</dc:creator>
		<pubDate>Mon, 13 Sep 2010 16:06:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=896#comment-81855</guid>
		<description>Nice menu. Is to possible to slide above instead of side..</description>
		<content:encoded><![CDATA[<p>Nice menu. Is to possible to slide above instead of side..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl Swedberg</title>
		<link>http://www.learningjquery.com/2009/09/tab-navigation-with-smooth-horizontal-sliding-using-jquery/comment-page-1#comment-81425</link>
		<dc:creator>Karl Swedberg</dc:creator>
		<pubDate>Fri, 06 Aug 2010 12:12:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=896#comment-81425</guid>
		<description>Hard to know without seeing it. Does the same problem occur on this entry&#039;s example above? Which version of IExplorer did you test?</description>
		<content:encoded><![CDATA[<p>Hard to know without seeing it. Does the same problem occur on this entry&#8217;s example above? Which version of IExplorer did you test?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced (User agent is rejected)
Database Caching 8/22 queries in 0.007 seconds using disk: basic
Object Caching 371/380 objects using disk: basic
Content Delivery Network via learningjquery.kswedberg.netdna-cdn.com

Served from: www.learningjquery.com @ 2012-02-08 18:01:48 -->
