<?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: Stereotabs: Tabs with Prototype and Scriptaculous</title>
	<atom:link href="http://stereointeractive.com/blog/code/prototype-tabs/feed/" rel="self" type="application/rss+xml" />
	<link>http://stereointeractive.com/blog</link>
	<description>Development Blog</description>
	<lastBuildDate>Thu, 18 Mar 2010 22:32:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jbonez</title>
		<link>http://stereointeractive.com/blog/code/prototype-tabs/comment-page-2/#comment-548</link>
		<dc:creator>jbonez</dc:creator>
		<pubDate>Wed, 10 Mar 2010 15:38:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/code/prototype-tabs/#comment-548</guid>
		<description>Any tips on how to set this up for wordpress? ive installed plugins and widgets but no idea how to impliment this into my site.</description>
		<content:encoded><![CDATA[<p>Any tips on how to set this up for wordpress? ive installed plugins and widgets but no idea how to impliment this into my site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo</title>
		<link>http://stereointeractive.com/blog/code/prototype-tabs/comment-page-2/#comment-527</link>
		<dc:creator>Pablo</dc:creator>
		<pubDate>Wed, 03 Feb 2010 13:22:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/code/prototype-tabs/#comment-527</guid>
		<description>Dear Scott, I have a suggestion that would improve this (awesome) piec of code. 

Currently, if you click on multiple tabs very fast, all the according panels wil appear instead of just the last one. 

This can be fixed by queueing both the fade and the appear effect to the *end* of the effect queue. E.g. look for the line that says &quot;new Effect.Fade(this.showPanel, [...]);&quot; and change &#039;front&#039; to &#039;end&#039;. 

I think it is even more awesome this way.</description>
		<content:encoded><![CDATA[<p>Dear Scott, I have a suggestion that would improve this (awesome) piec of code. </p>
<p>Currently, if you click on multiple tabs very fast, all the according panels wil appear instead of just the last one. </p>
<p>This can be fixed by queueing both the fade and the appear effect to the *end* of the effect queue. E.g. look for the line that says &#8220;new Effect.Fade(this.showPanel, [...]);&#8221; and change &#8216;front&#8217; to &#8216;end&#8217;. </p>
<p>I think it is even more awesome this way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pritush</title>
		<link>http://stereointeractive.com/blog/code/prototype-tabs/comment-page-2/#comment-519</link>
		<dc:creator>Pritush</dc:creator>
		<pubDate>Tue, 05 Jan 2010 16:38:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/code/prototype-tabs/#comment-519</guid>
		<description>i want to disable fade effect that appears when changing tabs, how to do this ?
and also how to make tab text appear horizontal instead of vertical</description>
		<content:encoded><![CDATA[<p>i want to disable fade effect that appears when changing tabs, how to do this ?<br />
and also how to make tab text appear horizontal instead of vertical</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Developer’s Snacks: Exploration on Web Tab Modules &#124; Onextrapixel - Showcasing Web Treats Without Hitch</title>
		<link>http://stereointeractive.com/blog/code/prototype-tabs/comment-page-2/#comment-506</link>
		<dc:creator>Developer’s Snacks: Exploration on Web Tab Modules &#124; Onextrapixel - Showcasing Web Treats Without Hitch</dc:creator>
		<pubDate>Tue, 10 Nov 2009 16:06:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/code/prototype-tabs/#comment-506</guid>
		<description>[...] Stereointeractive [...]</description>
		<content:encoded><![CDATA[<p>[...] Stereointeractive [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dong</title>
		<link>http://stereointeractive.com/blog/code/prototype-tabs/comment-page-2/#comment-505</link>
		<dc:creator>Dong</dc:creator>
		<pubDate>Tue, 10 Nov 2009 08:38:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/code/prototype-tabs/#comment-505</guid>
		<description>Hi Scott,

I&#039;m sorry I got it right this time. My bad. 

However, a couple of things. I&#039;d like to know how to pre-select the tabs. Also, would it be possible to have the &#039;selected&#039; class appear in the li tag instead of the a tag?

Thanks and more power.</description>
		<content:encoded><![CDATA[<p>Hi Scott,</p>
<p>I&#8217;m sorry I got it right this time. My bad. </p>
<p>However, a couple of things. I&#8217;d like to know how to pre-select the tabs. Also, would it be possible to have the &#8217;selected&#8217; class appear in the li tag instead of the a tag?</p>
<p>Thanks and more power.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dong</title>
		<link>http://stereointeractive.com/blog/code/prototype-tabs/comment-page-2/#comment-504</link>
		<dc:creator>Dong</dc:creator>
		<pubDate>Tue, 10 Nov 2009 04:27:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/code/prototype-tabs/#comment-504</guid>
		<description>Hi Scott,

About comment 68. I tried it but it only seems to fix IE browsers. It still scrolls down in FF 3.5. How can I fix this.

More power!</description>
		<content:encoded><![CDATA[<p>Hi Scott,</p>
<p>About comment 68. I tried it but it only seems to fix IE browsers. It still scrolls down in FF 3.5. How can I fix this.</p>
<p>More power!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benjamin</title>
		<link>http://stereointeractive.com/blog/code/prototype-tabs/comment-page-2/#comment-502</link>
		<dc:creator>Benjamin</dc:creator>
		<pubDate>Sat, 07 Nov 2009 08:57:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/code/prototype-tabs/#comment-502</guid>
		<description>Ok I spoke to soon...

I was missing the \&#039;, event)\&#039; on the first line.  I changed it but a cache issue was stopping me from seeing it.

 Sorry for the post (feel free to delete it).

Thanks again for a great tutorial.</description>
		<content:encoded><![CDATA[<p>Ok I spoke to soon&#8230;</p>
<p>I was missing the \&#8217;, event)\&#8217; on the first line.  I changed it but a cache issue was stopping me from seeing it.</p>
<p> Sorry for the post (feel free to delete it).</p>
<p>Thanks again for a great tutorial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benjamin</title>
		<link>http://stereointeractive.com/blog/code/prototype-tabs/comment-page-2/#comment-501</link>
		<dc:creator>Benjamin</dc:creator>
		<pubDate>Sat, 07 Nov 2009 08:49:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/code/prototype-tabs/#comment-501</guid>
		<description>Hello Again Scott,

Once again, great tutorial.  However I am still having the jump issue.  Maybe it&#039;s a conflict on my end?

I am using this bit of code just as was shown above:

  activate: function(tab, event) {
    var tabName = tab.id.replace(this.options.ids.tab,&#039;&#039;);
    this.currentPanel = this.options.ids.panel+tabName;
    if (this.showPanel == this.currentPanel) {
      return false;
    }
    
    if (this.showPanel) {
      if (this.options.effects) {
        new Effect.Fade(this.showPanel, {queue: &#039;front&#039;});
      } else {
        $(this.currentPanel).hide();
      }
    }
    
    if (this.options.effects) {
      new Effect.Appear(this.currentPanel, {queue: &#039;end&#039;});
    } else {
      $(this.showPanel).show();
    }

    this.tabs.invoke(&#039;removeClassName&#039;, this.options.classNames.tabActive);
    tab.addClassName(this.options.classNames.tabActive);
    this.showPanel = this.currentPanel;
  if (event) {
      Event.stop(event);
    }
  },

I can click to a tab when the page initially loads, but it does nothing when I try to select a second tab.

Thanks in advance for helping out a newbie trying to get his hands dirty!
Benjamin</description>
		<content:encoded><![CDATA[<p>Hello Again Scott,</p>
<p>Once again, great tutorial.  However I am still having the jump issue.  Maybe it&#8217;s a conflict on my end?</p>
<p>I am using this bit of code just as was shown above:</p>
<p>  activate: function(tab, event) {<br />
    var tabName = tab.id.replace(this.options.ids.tab,&#8221;);<br />
    this.currentPanel = this.options.ids.panel+tabName;<br />
    if (this.showPanel == this.currentPanel) {<br />
      return false;<br />
    }</p>
<p>    if (this.showPanel) {<br />
      if (this.options.effects) {<br />
        new Effect.Fade(this.showPanel, {queue: &#8216;front&#8217;});<br />
      } else {<br />
        $(this.currentPanel).hide();<br />
      }<br />
    }</p>
<p>    if (this.options.effects) {<br />
      new Effect.Appear(this.currentPanel, {queue: &#8216;end&#8217;});<br />
    } else {<br />
      $(this.showPanel).show();<br />
    }</p>
<p>    this.tabs.invoke(&#8216;removeClassName&#8217;, this.options.classNames.tabActive);<br />
    tab.addClassName(this.options.classNames.tabActive);<br />
    this.showPanel = this.currentPanel;<br />
  if (event) {<br />
      Event.stop(event);<br />
    }<br />
  },</p>
<p>I can click to a tab when the page initially loads, but it does nothing when I try to select a second tab.</p>
<p>Thanks in advance for helping out a newbie trying to get his hands dirty!<br />
Benjamin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Meves</title>
		<link>http://stereointeractive.com/blog/code/prototype-tabs/comment-page-2/#comment-499</link>
		<dc:creator>Scott Meves</dc:creator>
		<pubDate>Tue, 20 Oct 2009 00:03:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/code/prototype-tabs/#comment-499</guid>
		<description>@Don, I think you can create multiple instances on the same page, you just have to create new instances of the tabs class:

&lt;pre lang=&quot;javascript&quot;&gt;
// first tab set
var tabs = new tabset(&#039;container&#039;); // name of div to crawl for tabs and panels
tabs.autoActivate($(&#039;tab_first&#039;)); // name of tab to auto-select if none exists in the url
// second tab set
var otherTabs = new tabset(&#039;anothercontainer&#039;);
otherTabs.autoActivate($(&#039;tab_first&#039;)); // name of tab to auto-select if none exists in the url
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>@Don, I think you can create multiple instances on the same page, you just have to create new instances of the tabs class:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span class="co1">// first tab set</span>
<span class="kw2">var</span> tabs <span class="sy0">=</span> <span class="kw2">new</span> tabset<span class="br0">&#40;</span><span class="st0">'container'</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="co1">// name of div to crawl for tabs and panels</span>
tabs.<span class="me1">autoActivate</span><span class="br0">&#40;</span>$<span class="br0">&#40;</span><span class="st0">'tab_first'</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="co1">// name of tab to auto-select if none exists in the url</span>
<span class="co1">// second tab set</span>
<span class="kw2">var</span> otherTabs <span class="sy0">=</span> <span class="kw2">new</span> tabset<span class="br0">&#40;</span><span class="st0">'anothercontainer'</span><span class="br0">&#41;</span><span class="sy0">;</span>
otherTabs.<span class="me1">autoActivate</span><span class="br0">&#40;</span>$<span class="br0">&#40;</span><span class="st0">'tab_first'</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="co1">// name of tab to auto-select if none exists in the url</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: Don</title>
		<link>http://stereointeractive.com/blog/code/prototype-tabs/comment-page-2/#comment-498</link>
		<dc:creator>Don</dc:creator>
		<pubDate>Mon, 19 Oct 2009 20:34:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/code/prototype-tabs/#comment-498</guid>
		<description>Great tab script!  Very smooth.  Can two instances of stereo tabs reside on the same web page, or would they conflict?

Don</description>
		<content:encoded><![CDATA[<p>Great tab script!  Very smooth.  Can two instances of stereo tabs reside on the same web page, or would they conflict?</p>
<p>Don</p>
]]></content:encoded>
	</item>
</channel>
</rss>
