<?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: Dynamic JavaScript Tabs</title>
	<atom:link href="http://akrabat.com/dynamic-javascript-tabs/feed/" rel="self" type="application/rss+xml" />
	<link>http://akrabat.com</link>
	<description>Developing PHP software in the Real World, by Rob Allen</description>
	<lastBuildDate>Mon, 06 Feb 2012 14:53:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Heinz</title>
		<link>http://akrabat.com/dynamic-javascript-tabs/#comment-109052</link>
		<dc:creator>Heinz</dc:creator>
		<pubDate>Thu, 19 Jan 2012 18:30:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.akrabat.com/jstabs/#comment-109052</guid>
		<description>Wow, I fixed it, I had mistakenly added an id &quot;id=&#039;tabs&#039;&quot; to the script tag that screwed up the whole program. From now on the script tag id&#039;s will not match any of the html tags! something like &quot;id=&#039;blank&#039;&quot; and &quot;id=&#039;blank1&#039;&quot; and &quot;id=&#039;blank2&#039;&quot;.</description>
		<content:encoded><![CDATA[<p>Wow, I fixed it, I had mistakenly added an id "id='tabs'" to the script tag that screwed up the whole program. From now on the script tag id's will not match any of the html tags! something like "id='blank'" and "id='blank1'" and "id='blank2'".</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Heinz</title>
		<link>http://akrabat.com/dynamic-javascript-tabs/#comment-109031</link>
		<dc:creator>Heinz</dc:creator>
		<pubDate>Thu, 19 Jan 2012 17:33:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.akrabat.com/jstabs/#comment-109031</guid>
		<description>Hey I had everything working fine with the tabs but now I&#039;m getting error: object doesn&#039;t suport this property or method pointing to 
&quot;tabs = getChildElementsByClassName(tabContainer, &#039;tab-item&#039;);&quot; 
I don&#039;t understand why it was working yesterday and today it&#039;s on the fritz. First I thought it was because I moved the html from a file environment to a thumb drive server environment but switching back still drew the new error. I changed the &quot;for(i=0;&quot; to &quot;for(var i=0;&quot; thinking it was an IE8 js platform thing but that didn&#039;t get the error to stop either.
Guess It would be a prity cold day in H-E Double Tooth Picks before I got a responce or suggestion as I have no real way of knowing how I managed to screw it up.</description>
		<content:encoded><![CDATA[<p>Hey I had everything working fine with the tabs but now I'm getting error: object doesn't suport this property or method pointing to<br />
"tabs = getChildElementsByClassName(tabContainer, 'tab-item');"<br />
I don't understand why it was working yesterday and today it's on the fritz. First I thought it was because I moved the html from a file environment to a thumb drive server environment but switching back still drew the new error. I changed the "for(i=0;" to "for(var i=0;" thinking it was an IE8 js platform thing but that didn't get the error to stop either.<br />
Guess It would be a prity cold day in H-E Double Tooth Picks before I got a responce or suggestion as I have no real way of knowing how I managed to screw it up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Heinz</title>
		<link>http://akrabat.com/dynamic-javascript-tabs/#comment-96333</link>
		<dc:creator>Heinz</dc:creator>
		<pubDate>Sun, 18 Dec 2011 18:42:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.akrabat.com/jstabs/#comment-96333</guid>
		<description>Acctualy tab[i].style.display=&#039;none&#039;;
has no affect because it doesn&#039;t overide the display property in BuildTabs(&#039;tab-container-2&#039;). So It looks like I would have to create a reBuildTabsByDate(&#039;tab-cotainer-2&#039;)?</description>
		<content:encoded><![CDATA[<p>Acctualy tab[i].style.display='none';<br />
has no affect because it doesn't overide the display property in BuildTabs('tab-container-2'). So It looks like I would have to create a reBuildTabsByDate('tab-cotainer-2')?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Heinz</title>
		<link>http://akrabat.com/dynamic-javascript-tabs/#comment-96331</link>
		<dc:creator>Heinz</dc:creator>
		<pubDate>Sun, 18 Dec 2011 18:34:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.akrabat.com/jstabs/#comment-96331</guid>
		<description>Hey Rob,
       I&#039;m closer and have added BuildTabs(&#039;tab-container-2&#039;);
ActivateTab(&#039;tab-container-2&#039;, 0); to my viewbydate onclick function but the old tabs remain even though I added tabs[i].parentNode.removeChild(tabs[i]); it still produced 1 active old tab and 2 inactive old tabs, 1 active new tab and 2 inactive new tabs. I&#039;m thinking I&#039;ll have to use style display none but I&#039;d much rather the tabs be gone. Any advice greatly appreciated.</description>
		<content:encoded><![CDATA[<p>Hey Rob,<br />
       I'm closer and have added BuildTabs('tab-container-2');<br />
ActivateTab('tab-container-2', 0); to my viewbydate onclick function but the old tabs remain even though I added tabs[i].parentNode.removeChild(tabs[i]); it still produced 1 active old tab and 2 inactive old tabs, 1 active new tab and 2 inactive new tabs. I'm thinking I'll have to use style display none but I'd much rather the tabs be gone. Any advice greatly appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Heinz</title>
		<link>http://akrabat.com/dynamic-javascript-tabs/#comment-96146</link>
		<dc:creator>Heinz</dc:creator>
		<pubDate>Sun, 18 Dec 2011 02:14:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.akrabat.com/jstabs/#comment-96146</guid>
		<description>Hi Sir,
       Thanks for the script. Genericly it works wonders. I tried to add two spans in a p tag to the tab-container-2 so that when span id=viewbydate is clicked the tabs innerText and title.nodeValue would be fetched from the childNodes of the tabs which happen to be tables placed in the p tags of class=tab-content.
The alerts tabs[i].childNodes[0].outerHTML show up correctly but the html doesn&#039;t change. It looks like I&#039;d have to create a complete reBuildTabs function for the html to change. Since the tabs in tab-container-2 are invoice tables the second span id=viewbynumber would have to rebuild the tabs to. Any advice greatly appreciated. I&#039;m getting the ordernumber from a td in the invoice table via dom childNodes.</description>
		<content:encoded><![CDATA[<p>Hi Sir,<br />
       Thanks for the script. Genericly it works wonders. I tried to add two spans in a p tag to the tab-container-2 so that when span id=viewbydate is clicked the tabs innerText and title.nodeValue would be fetched from the childNodes of the tabs which happen to be tables placed in the p tags of class=tab-content.<br />
The alerts tabs[i].childNodes[0].outerHTML show up correctly but the html doesn't change. It looks like I'd have to create a complete reBuildTabs function for the html to change. Since the tabs in tab-container-2 are invoice tables the second span id=viewbynumber would have to rebuild the tabs to. Any advice greatly appreciated. I'm getting the ordernumber from a td in the invoice table via dom childNodes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob...</title>
		<link>http://akrabat.com/dynamic-javascript-tabs/#comment-89177</link>
		<dc:creator>Rob...</dc:creator>
		<pubDate>Mon, 21 Nov 2011 11:30:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.akrabat.com/jstabs/#comment-89177</guid>
		<description>Hi Jeremy,

I have no idea! Ive never needed more than 4 or 5 tabs.

Regards,

Rob...</description>
		<content:encoded><![CDATA[<p>Hi Jeremy,</p>
<p>I have no idea! Ive never needed more than 4 or 5 tabs.</p>
<p>Regards,</p>
<p>Rob...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://akrabat.com/dynamic-javascript-tabs/#comment-89153</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Mon, 21 Nov 2011 08:41:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.akrabat.com/jstabs/#comment-89153</guid>
		<description>How do I handle the tabs wrapping?  In firefox, it doesn&#039;t seem to handle that very well.  The second row of tabs jump around depending on which tab I made active.

my page will be deployed to different locations and each location will have different amount of tabs based on their location so I have no way to hard code this.  I currently have javascript to create the  tags and the customer just has to populate an array.  I don&#039;t want them to see this menu jump around like this.</description>
		<content:encoded><![CDATA[<p>How do I handle the tabs wrapping?  In firefox, it doesn't seem to handle that very well.  The second row of tabs jump around depending on which tab I made active.</p>
<p>my page will be deployed to different locations and each location will have different amount of tabs based on their location so I have no way to hard code this.  I currently have javascript to create the  tags and the customer just has to populate an array.  I don't want them to see this menu jump around like this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kehnee</title>
		<link>http://akrabat.com/dynamic-javascript-tabs/#comment-83309</link>
		<dc:creator>Kehnee</dc:creator>
		<pubDate>Sun, 16 Oct 2011 15:07:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.akrabat.com/jstabs/#comment-83309</guid>
		<description>iframe and /iframe don&#039;t forget to wrap in .</description>
		<content:encoded><![CDATA[<p>iframe and /iframe don't forget to wrap in .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kehnee</title>
		<link>http://akrabat.com/dynamic-javascript-tabs/#comment-83308</link>
		<dc:creator>Kehnee</dc:creator>
		<pubDate>Sun, 16 Oct 2011 15:06:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.akrabat.com/jstabs/#comment-83308</guid>
		<description>I figured it out...it&#039;s using the  tags. I forgot to close the tabs hence why it wasn&#039;t working before. Don&#039;t forget to close your tags in this case </description>
		<content:encoded><![CDATA[<p>I figured it out...it's using the  tags. I forgot to close the tabs hence why it wasn't working before. Don't forget to close your tags in this case</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kehnee</title>
		<link>http://akrabat.com/dynamic-javascript-tabs/#comment-83178</link>
		<dc:creator>Kehnee</dc:creator>
		<pubDate>Sat, 15 Oct 2011 15:55:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.akrabat.com/jstabs/#comment-83178</guid>
		<description>By the way thanks for creating this tabs. It&#039;s the easiest by far I&#039;ve implemented. Just wondering how versatile it is.</description>
		<content:encoded><![CDATA[<p>By the way thanks for creating this tabs. It's the easiest by far I've implemented. Just wondering how versatile it is.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

