<?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: Tabs plugin update: Support for (unobtrusive) Ajax</title>
	<atom:link href="http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/</link>
	<description>We are reasonable people.</description>
	<lastBuildDate>Sat, 10 Oct 2009 18:43:56 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Norman Khine</title>
		<link>http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/comment-page-3/#comment-86095</link>
		<dc:creator>Norman Khine</dc:creator>
		<pubDate>Wed, 17 Oct 2007 19:59:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/#comment-86095</guid>
		<description>Hello Klaus,
I am sorry to bother you, but I am having a small problem implementing the tabs to work with cookies so that on a page refresh the tab being open is remembered.

Tried to follow the comment http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/#comment-25582

but with no luck, perhaps it is outdated?

I have 3 tabs and within each tab I have a batch that lists the next 5 items on the list, but everytime I click on the next 5, then the first tab is shown. If I pass the #fragment-x to the URI this works, but then I would have to change my batch control for each tab. Maybe there is a slicker way to do this.

Can you please do a demo utilising this.

Here is the code I am working from:

&lt;code&gt;






            
            var TABS_COOKIE = &#039;tabs_cookie&#039;;
            $(&quot;#container-1 ul&quot;).tabs((parseInt($.cookie(TABS_COOKIE)) &#124;&#124; 1,{
                 onClick: function(clicked){
                       var lastTab = $ (clicked).parents(&quot;ul&quot;).find(&quot;li&quot;).index( clicked.parentNode) + 1;
                       $.cookie(TABS_COOKIE, lastTab);},
             fxSlide: true,
             fxFade:  true,
             fxSpeed: &quot;normal&quot;

               });       
              
        
            
                &lt;a href=&quot;#fragment-1&quot; rel=&quot;nofollow&quot;&gt;News&lt;/a&gt;
                &lt;a href=&quot;#fragment-2&quot; rel=&quot;nofollow&quot;&gt;Jobs&lt;/a&gt;
                &lt;a href=&quot;#fragment-3&quot; rel=&quot;nofollow&quot;&gt;Branches&lt;/a&gt;
            
            
              {news}
            
            
              ${jobs}
            
            
              ${branches}
            
        
&lt;/code&gt;

Many thanks

Norman</description>
		<content:encoded><![CDATA[<p>Hello Klaus,<br />
I am sorry to bother you, but I am having a small problem implementing the tabs to work with cookies so that on a page refresh the tab being open is remembered.</p>
<p>Tried to follow the comment <a href="http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/#comment-25582" rel="nofollow">http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/#comment-25582</a></p>
<p>but with no luck, perhaps it is outdated?</p>
<p>I have 3 tabs and within each tab I have a batch that lists the next 5 items on the list, but everytime I click on the next 5, then the first tab is shown. If I pass the #fragment-x to the URI this works, but then I would have to change my batch control for each tab. Maybe there is a slicker way to do this.</p>
<p>Can you please do a demo utilising this.</p>
<p>Here is the code I am working from:</p>
<p><code></p>
<p>            var TABS_COOKIE = 'tabs_cookie';<br />
            $("#container-1 ul").tabs((parseInt($.cookie(TABS_COOKIE)) || 1,{<br />
                 onClick: function(clicked){<br />
                       var lastTab = $ (clicked).parents("ul").find("li").index( clicked.parentNode) + 1;<br />
                       $.cookie(TABS_COOKIE, lastTab);},<br />
             fxSlide: true,<br />
             fxFade:  true,<br />
             fxSpeed: "normal"</p>
<p>               });       </p>
<p>                <a href="#fragment-1" rel="nofollow">News</a><br />
                <a href="#fragment-2" rel="nofollow">Jobs</a><br />
                <a href="#fragment-3" rel="nofollow">Branches</a></p>
<p>              {news}</p>
<p>              ${jobs}</p>
<p>              ${branches}</p>
<p></code></p>
<p>Many thanks</p>
<p>Norman</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Klaus</title>
		<link>http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/comment-page-3/#comment-85877</link>
		<dc:creator>Klaus</dc:creator>
		<pubDate>Tue, 16 Oct 2007 15:43:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/#comment-85877</guid>
		<description>Starting with &lt;a href=&quot;http://docs.jquery.com/UI/Tabs&quot; rel=&quot;nofollow&quot;&gt;Tabs 3&lt;/a&gt; mixed tabs are possible, just throw them all in...</description>
		<content:encoded><![CDATA[<p>Starting with <a href="http://docs.jquery.com/UI/Tabs" rel="nofollow">Tabs 3</a> mixed tabs are possible, just throw them all in&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank</title>
		<link>http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/comment-page-3/#comment-85867</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Tue, 16 Oct 2007 11:58:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/#comment-85867</guid>
		<description>Hi,

I am just starting with jquery and also found your awesome tab-solution. I think it will work great for me. I have only one more question. Is it possible to combine static tabs with ajax tabs (i.e. two static tabs and two ajax tabs in one container)?

Thanks for the script anyway it´s a really great piece of code,

Frank</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am just starting with jquery and also found your awesome tab-solution. I think it will work great for me. I have only one more question. Is it possible to combine static tabs with ajax tabs (i.e. two static tabs and two ajax tabs in one container)?</p>
<p>Thanks for the script anyway it´s a really great piece of code,</p>
<p>Frank</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KAIE</title>
		<link>http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/comment-page-3/#comment-84006</link>
		<dc:creator>KAIE</dc:creator>
		<pubDate>Fri, 05 Oct 2007 17:53:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/#comment-84006</guid>
		<description>Hello. 
I will use the tab plug-in. 
Could you help though it is thought that UTF-8 is good to display 2bite character with AJAX though it doesn&#039;t correspond with Shift-jis because of the server and it doesn&#039;t disregard it?

Please teach if there is a method. 

Thx ;-)</description>
		<content:encoded><![CDATA[<p>Hello.<br />
I will use the tab plug-in.<br />
Could you help though it is thought that UTF-8 is good to display 2bite character with AJAX though it doesn&#8217;t correspond with Shift-jis because of the server and it doesn&#8217;t disregard it?</p>
<p>Please teach if there is a method. </p>
<p>Thx ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Soflete</title>
		<link>http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/comment-page-3/#comment-83597</link>
		<dc:creator>Soflete</dc:creator>
		<pubDate>Wed, 03 Oct 2007 14:33:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/#comment-83597</guid>
		<description>I&#039;ve added an onLoad event to your plugin, because I needed to initialize some coontrols after the Ajax call was made. I&#039;ve just made a few fast code additions and worked, perhaps you could implement it in a more elegant way, it would be great.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve added an onLoad event to your plugin, because I needed to initialize some coontrols after the Ajax call was made. I&#8217;ve just made a few fast code additions and worked, perhaps you could implement it in a more elegant way, it would be great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Essa Morty</title>
		<link>http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/comment-page-3/#comment-81120</link>
		<dc:creator>Essa Morty</dc:creator>
		<pubDate>Thu, 20 Sep 2007 00:58:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/#comment-81120</guid>
		<description>you had me suicidal, suicida. Essa Morty.</description>
		<content:encoded><![CDATA[<p>you had me suicidal, suicida. Essa Morty.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jQuery Plugins &#124; Cyberpunk網際叛客</title>
		<link>http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/comment-page-3/#comment-80593</link>
		<dc:creator>jQuery Plugins &#124; Cyberpunk網際叛客</dc:creator>
		<pubDate>Mon, 17 Sep 2007 06:26:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/#comment-80593</guid>
		<description>[...] 另外還有這個Tab看起來也是滿簡單好用的，對於我這種懶人而言實在是相當方便:D [...]</description>
		<content:encoded><![CDATA[<p>[...] 另外還有這個Tab看起來也是滿簡單好用的，對於我這種懶人而言實在是相當方便:D [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roland</title>
		<link>http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/comment-page-3/#comment-80512</link>
		<dc:creator>Roland</dc:creator>
		<pubDate>Sun, 16 Sep 2007 15:50:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/#comment-80512</guid>
		<description>Sorry, didn&#039;t read your documentation properly. It&#039;s now tabsClick(index).</description>
		<content:encoded><![CDATA[<p>Sorry, didn&#8217;t read your documentation properly. It&#8217;s now tabsClick(index).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roland</title>
		<link>http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/comment-page-3/#comment-80511</link>
		<dc:creator>Roland</dc:creator>
		<pubDate>Sun, 16 Sep 2007 15:47:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/#comment-80511</guid>
		<description>$(&quot;#myTabs&quot;).triggerTab(index);

The triggerTab no longer supported in Tab 3 ?</description>
		<content:encoded><![CDATA[<p>$(&#8221;#myTabs&#8221;).triggerTab(index);</p>
<p>The triggerTab no longer supported in Tab 3 ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Klaus</title>
		<link>http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/comment-page-3/#comment-79933</link>
		<dc:creator>Klaus</dc:creator>
		<pubDate>Wed, 12 Sep 2007 10:58:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.stilbuero.de/2007/02/05/tabs-plugin-update-support-for-unobtrusive-ajax/#comment-79933</guid>
		<description>Tabs 3 do not longer require a container, thus you need to initialize with the &lt;code&gt;ul&lt;/code&gt; or &lt;code&gt;ol&lt;/code&gt; element.

For you most probably &lt;code&gt;$(&#039;#myTabs ul&#039;).tabs();&lt;/code&gt; will work.

See section &quot;Sample Code&quot; on top &lt;a href=&quot;http://docs.jquery.com/UI/Tabs#Sample_Code&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.

The reason is that this will give you maximum freedom with your HTML...</description>
		<content:encoded><![CDATA[<p>Tabs 3 do not longer require a container, thus you need to initialize with the <code>ul</code> or <code>ol</code> element.</p>
<p>For you most probably <code>$('#myTabs ul').tabs();</code> will work.</p>
<p>See section &#8220;Sample Code&#8221; on top <a href="http://docs.jquery.com/UI/Tabs#Sample_Code" rel="nofollow">here</a>.</p>
<p>The reason is that this will give you maximum freedom with your HTML&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
