<?xml version="1.0" encoding="utf-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: JavaScript tabbifier v1.7 new features</title>
	<link>http://www.barelyfitz.com/blog/archives/2006/04/10/314/</link>
	<description>Patrick Fitzgerald of BarelyFitz Designs</description>
	<pubDate>Wed, 19 Nov 2008 15:26:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>By: Jb</title>
		<link>http://www.barelyfitz.com/blog/archives/2006/04/10/314/#comment-25850</link>
		<dc:creator>Jb</dc:creator>
		<pubDate>Tue, 02 Sep 2008 15:41:08 +0000</pubDate>
		<guid>http://www.barelyfitz.com/blog/archives/2006/04/10/314/#comment-25850</guid>
		<description>Awesome script.  Easy to integrate and worked great the first time.  

I am having a hard time getting images to show up in the tab title though.  Any help would be much appreciated.</description>
		<content:encoded><![CDATA[<p>Awesome script.  Easy to integrate and worked great the first time.  </p>
<p>I am having a hard time getting images to show up in the tab title though.  Any help would be much appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dean</title>
		<link>http://www.barelyfitz.com/blog/archives/2006/04/10/314/#comment-25835</link>
		<dc:creator>Dean</dc:creator>
		<pubDate>Thu, 28 Aug 2008 02:48:20 +0000</pubDate>
		<guid>http://www.barelyfitz.com/blog/archives/2006/04/10/314/#comment-25835</guid>
		<description>Hi how would i have the tab load to a PHP page instead of a HTML page extension, i tried changing it to .php but just hangs and says loading all the time, any ideas

Thanks, Nice script BTW</description>
		<content:encoded><![CDATA[<p>Hi how would i have the tab load to a PHP page instead of a HTML page extension, i tried changing it to .php but just hangs and says loading all the time, any ideas</p>
<p>Thanks, Nice script BTW</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kees</title>
		<link>http://www.barelyfitz.com/blog/archives/2006/04/10/314/#comment-25812</link>
		<dc:creator>Kees</dc:creator>
		<pubDate>Tue, 05 Aug 2008 04:47:31 +0000</pubDate>
		<guid>http://www.barelyfitz.com/blog/archives/2006/04/10/314/#comment-25812</guid>
		<description>I love this script. I have a question though. I want on another page a a href link to a page with tabbertab and go to a specific tab. Another page has to link to another tab etc. I am no Javascript expert, so I’m kinda lost here.

An example would be really appreciated.</description>
		<content:encoded><![CDATA[<p>I love this script. I have a question though. I want on another page a a href link to a page with tabbertab and go to a specific tab. Another page has to link to another tab etc. I am no Javascript expert, so I’m kinda lost here.</p>
<p>An example would be really appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Server Herder</title>
		<link>http://www.barelyfitz.com/blog/archives/2006/04/10/314/#comment-25806</link>
		<dc:creator>Server Herder</dc:creator>
		<pubDate>Mon, 28 Jul 2008 21:40:30 +0000</pubDate>
		<guid>http://www.barelyfitz.com/blog/archives/2006/04/10/314/#comment-25806</guid>
		<description>I see a few questions on here about how to dynamically add tabs.  Here is  a prototype addtab() function that will allow for the programmatic creation of additional tabs within Javascript along with a calling function

I basically ripped this off from the init() function 


tabberObj.prototype.addtab = function ( obj )
{
    if(obj.className &#38;&#38;
       obj.className.match(this.REclassTab)) {
      t = new Object();
      t.div = obj;
      this.tabs[this.tabs.length] = t;
      if (obj.className.match(this.REclassTabDefault)) {
        defaultTab = this.tabs.length-1;
      }
    }
    t.headingText = t.div.title;
    if (this.removeTitle) { t.div.title = ''; }
      for (i2=0; i2&#60;this.titleElements.length; i2++) {
        headingElement = t.div.getElementsByTagName(this.titleElements[i2])[0];
        if (headingElement) {
          t.headingText = headingElement.innerHTML;
          if (this.titleElementsStripHTML) {
            t.headingText.replace(//gi," ");
            t.headingText = t.headingText.replace(/]+&#62;/g,"");
          }
          break;
        }
      }
    DOM_li = document.createElement("li");
    t.li = DOM_li;
    DOM_a = document.createElement("a");
    DOM_a.appendChild(document.createTextNode(t.headingText));
    DOM_a.href = "javascript:void(null);";
    DOM_a.title = t.headingText;
    DOM_a.onclick = this.navClick;
    DOM_a.tabber = this;
    DOM_a.tabberIndex = this.tabs.length - 1;
    if (this.addLinkId &#38;&#38; this.linkIdFormat) {
     aId = this.linkIdFormat;
      aId = aId.replace(//gi, this.id);
      aId = aId.replace(//gi, i);
      aId = aId.replace(//gi, i+1);
      aId = aId.replace(//gi, t.headingText.replace(/[^a-zA-Z0-9\-]/gi, ''));

      DOM_a.id = aId;
    }
    DOM_li.appendChild(DOM_a);

    var DOM_ul = this.ul;
    DOM_ul.appendChild(DOM_li);
    DOM_a = document.createElement("a");
    DOM_a.appendChild(document.createTextNode(t.headingText));
    DOM_a.href = "javascript:void(null);";
    DOM_a.title = t.headingText;
    DOM_a.onclick = this.navClick;
}


//Calling function 
var divid = 4;
function addtab() {
// Get ahold of the tabber we're trying to add to
        var ni = document.getElementById('mainnav');
// Create a new div 
        var newdiv = document.createElement('div');
// SEt the ID 
        newdiv.setAttribute('id', 'mynewdiv' + divid);
// Set the title and content 
        newdiv.innerHTML = 'Tab '+ divid + 
			'  Here is new div' + divid + '!! ';
// set the tab class to be hidden so it doesn't show up while we're adding it 
        newdiv.className = 'tabbertab tabbertabhide';
// add our new div to our menu 
        ni.appendChild(newdiv);
// and finally add the new tab to the menu
        ni.tabber.addtab(newdiv);
// increment our variable
        divid++;
}</description>
		<content:encoded><![CDATA[<p>I see a few questions on here about how to dynamically add tabs.  Here is  a prototype addtab() function that will allow for the programmatic creation of additional tabs within Javascript along with a calling function</p>
<p>I basically ripped this off from the init() function </p>
<p>tabberObj.prototype.addtab = function ( obj )<br />
{<br />
    if(obj.className &amp;&amp;<br />
       obj.className.match(this.REclassTab)) {<br />
      t = new Object();<br />
      t.div = obj;<br />
      this.tabs[this.tabs.length] = t;<br />
      if (obj.className.match(this.REclassTabDefault)) {<br />
        defaultTab = this.tabs.length-1;<br />
      }<br />
    }<br />
    t.headingText = t.div.title;<br />
    if (this.removeTitle) { t.div.title = &#8221;; }<br />
      for (i2=0; i2&lt;this.titleElements.length; i2++) {<br />
        headingElement = t.div.getElementsByTagName(this.titleElements[i2])[0];<br />
        if (headingElement) {<br />
          t.headingText = headingElement.innerHTML;<br />
          if (this.titleElementsStripHTML) {<br />
            t.headingText.replace(//gi,&#8221; &#8220;);<br />
            t.headingText = t.headingText.replace(/]+&gt;/g,&#8221;");<br />
          }<br />
          break;<br />
        }<br />
      }<br />
    DOM_li = document.createElement(&#8221;li&#8221;);<br />
    t.li = DOM_li;<br />
    DOM_a = document.createElement(&#8221;a&#8221;);<br />
    DOM_a.appendChild(document.createTextNode(t.headingText));<br />
    DOM_a.href = &#8220;javascript:void(null);&#8221;;<br />
    DOM_a.title = t.headingText;<br />
    DOM_a.onclick = this.navClick;<br />
    DOM_a.tabber = this;<br />
    DOM_a.tabberIndex = this.tabs.length - 1;<br />
    if (this.addLinkId &amp;&amp; this.linkIdFormat) {<br />
     aId = this.linkIdFormat;<br />
      aId = aId.replace(//gi, this.id);<br />
      aId = aId.replace(//gi, i);<br />
      aId = aId.replace(//gi, i+1);<br />
      aId = aId.replace(//gi, t.headingText.replace(/[^a-zA-Z0-9\-]/gi, &#8221;));</p>
<p>      DOM_a.id = aId;<br />
    }<br />
    DOM_li.appendChild(DOM_a);</p>
<p>    var DOM_ul = this.ul;<br />
    DOM_ul.appendChild(DOM_li);<br />
    DOM_a = document.createElement(&#8221;a&#8221;);<br />
    DOM_a.appendChild(document.createTextNode(t.headingText));<br />
    DOM_a.href = &#8220;javascript:void(null);&#8221;;<br />
    DOM_a.title = t.headingText;<br />
    DOM_a.onclick = this.navClick;<br />
}</p>
<p>//Calling function<br />
var divid = 4;<br />
function addtab() {<br />
// Get ahold of the tabber we&#8217;re trying to add to<br />
        var ni = document.getElementById(&#8217;mainnav&#8217;);<br />
// Create a new div<br />
        var newdiv = document.createElement(&#8217;div&#8217;);<br />
// SEt the ID<br />
        newdiv.setAttribute(&#8217;id&#8217;, &#8216;mynewdiv&#8217; + divid);<br />
// Set the title and content<br />
        newdiv.innerHTML = &#8216;Tab &#8216;+ divid +<br />
			&#8216;  Here is new div&#8217; + divid + &#8216;!! &#8216;;<br />
// set the tab class to be hidden so it doesn&#8217;t show up while we&#8217;re adding it<br />
        newdiv.className = &#8216;tabbertab tabbertabhide&#8217;;<br />
// add our new div to our menu<br />
        ni.appendChild(newdiv);<br />
// and finally add the new tab to the menu<br />
        ni.tabber.addtab(newdiv);<br />
// increment our variable<br />
        divid++;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: leeuniverse</title>
		<link>http://www.barelyfitz.com/blog/archives/2006/04/10/314/#comment-25800</link>
		<dc:creator>leeuniverse</dc:creator>
		<pubDate>Wed, 23 Jul 2008 06:59:10 +0000</pubDate>
		<guid>http://www.barelyfitz.com/blog/archives/2006/04/10/314/#comment-25800</guid>
		<description>Don't quote me, but I believe there is a printing script out there in which you can tell it to print a certain "section" such as a particular DIV/Table or whatever.

I don't know, that's the only thing I could think of at the moment.</description>
		<content:encoded><![CDATA[<p>Don&#8217;t quote me, but I believe there is a printing script out there in which you can tell it to print a certain &#8220;section&#8221; such as a particular DIV/Table or whatever.</p>
<p>I don&#8217;t know, that&#8217;s the only thing I could think of at the moment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clive</title>
		<link>http://www.barelyfitz.com/blog/archives/2006/04/10/314/#comment-25768</link>
		<dc:creator>Clive</dc:creator>
		<pubDate>Wed, 11 Jun 2008 16:33:46 +0000</pubDate>
		<guid>http://www.barelyfitz.com/blog/archives/2006/04/10/314/#comment-25768</guid>
		<description>Hi, this script is fantastic - it does what it says on the tin and I'm well chuffed with it.

I have a question - can I rig up something to 'print the active tab'?  when a webpage is printed it (correctly) strips out the JS and dumps everything on the page.  What I would like is to have a link/button just below the tab title to print the active tab.

I've been thinking about it, but it seems like it might be a bit of a job... any thoughts would be greatly appreciated.

Thanks again for a nifty script!
Clive</description>
		<content:encoded><![CDATA[<p>Hi, this script is fantastic - it does what it says on the tin and I&#8217;m well chuffed with it.</p>
<p>I have a question - can I rig up something to &#8216;print the active tab&#8217;?  when a webpage is printed it (correctly) strips out the JS and dumps everything on the page.  What I would like is to have a link/button just below the tab title to print the active tab.</p>
<p>I&#8217;ve been thinking about it, but it seems like it might be a bit of a job&#8230; any thoughts would be greatly appreciated.</p>
<p>Thanks again for a nifty script!<br />
Clive</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ubiquitous_tom</title>
		<link>http://www.barelyfitz.com/blog/archives/2006/04/10/314/#comment-25665</link>
		<dc:creator>ubiquitous_tom</dc:creator>
		<pubDate>Fri, 02 May 2008 10:00:55 +0000</pubDate>
		<guid>http://www.barelyfitz.com/blog/archives/2006/04/10/314/#comment-25665</guid>
		<description>here's the link sorry
http://student58.tangostudents.com/tab.html</description>
		<content:encoded><![CDATA[<p>here&#8217;s the link sorry<br />
<a href="http://student58.tangostudents.com/tab.html" rel="nofollow">http://student58.tangostudents.com/tab.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RV</title>
		<link>http://www.barelyfitz.com/blog/archives/2006/04/10/314/#comment-25651</link>
		<dc:creator>RV</dc:creator>
		<pubDate>Mon, 21 Apr 2008 20:37:45 +0000</pubDate>
		<guid>http://www.barelyfitz.com/blog/archives/2006/04/10/314/#comment-25651</guid>
		<description>Hi Patrick &#38; thanks for your efforts!

Q: any suggestions on modifying your scripts to use images as the tabs instead of text?</description>
		<content:encoded><![CDATA[<p>Hi Patrick &amp; thanks for your efforts!</p>
<p>Q: any suggestions on modifying your scripts to use images as the tabs instead of text?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: westy808</title>
		<link>http://www.barelyfitz.com/blog/archives/2006/04/10/314/#comment-25626</link>
		<dc:creator>westy808</dc:creator>
		<pubDate>Thu, 10 Apr 2008 18:38:54 +0000</pubDate>
		<guid>http://www.barelyfitz.com/blog/archives/2006/04/10/314/#comment-25626</guid>
		<description>"Can automatically set a unique id for each tab navigation link, which allows you to individually style each tab."

How is this done? That would be great to use with my 'color coded theme.' Thanks in advance!</description>
		<content:encoded><![CDATA[<p>&#8220;Can automatically set a unique id for each tab navigation link, which allows you to individually style each tab.&#8221;</p>
<p>How is this done? That would be great to use with my &#8216;color coded theme.&#8217; Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MPB</title>
		<link>http://www.barelyfitz.com/blog/archives/2006/04/10/314/#comment-25607</link>
		<dc:creator>MPB</dc:creator>
		<pubDate>Thu, 03 Apr 2008 09:07:39 +0000</pubDate>
		<guid>http://www.barelyfitz.com/blog/archives/2006/04/10/314/#comment-25607</guid>
		<description>Working great. Would love to turn off the "title" popup when you mouseover the tabs. Can't find anything in the js to turn it off though, it seems to want to create a title for the tab no matter what :)

Thanks for a very useful bit of work.</description>
		<content:encoded><![CDATA[<p>Working great. Would love to turn off the &#8220;title&#8221; popup when you mouseover the tabs. Can&#8217;t find anything in the js to turn it off though, it seems to want to create a title for the tab no matter what <img src='http://www.barelyfitz.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks for a very useful bit of work.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
