<?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: Floating Table Titles</title>
	<atom:link href="http://stansight.com/WordPress/2008/07/29/floating-table-titles/feed/" rel="self" type="application/rss+xml" />
	<link>http://stansight.com/WordPress/2008/07/29/floating-table-titles/</link>
	<description>Coding for the Web - A JavaScript Resource</description>
	<lastBuildDate>Mon, 06 Dec 2010 16:29:21 -0500</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Francois</title>
		<link>http://stansight.com/WordPress/2008/07/29/floating-table-titles/comment-page-1/#comment-1422</link>
		<dc:creator>Francois</dc:creator>
		<pubDate>Sun, 19 Sep 2010 17:15:17 +0000</pubDate>
		<guid isPermaLink="false">http://stansight.com/WordPress/2008/07/29/floating-table-titles/#comment-1422</guid>
		<description>I got the same problem than bartD.
By sustracting 3 px (!!) on line 134 :

titleTableCells[i].style.width = (tableCells[i].clientWidth-3)+ &#039;px&#039;;

It works better (tested on firefox). I suppose this is in relation with the style 	cellspacing: 1px; and border-spacing: 1px; I use for the table.

I have to investigate more as this is a poor solution.</description>
		<content:encoded><![CDATA[<p>I got the same problem than bartD.<br />
By sustracting 3 px (!!) on line 134 :</p>
<p>titleTableCells[i].style.width = (tableCells[i].clientWidth-3)+ &#8216;px&#8217;;</p>
<p>It works better (tested on firefox). I suppose this is in relation with the style 	cellspacing: 1px; and border-spacing: 1px; I use for the table.</p>
<p>I have to investigate more as this is a poor solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BartD</title>
		<link>http://stansight.com/WordPress/2008/07/29/floating-table-titles/comment-page-1/#comment-1420</link>
		<dc:creator>BartD</dc:creator>
		<pubDate>Mon, 26 Jul 2010 12:53:41 +0000</pubDate>
		<guid isPermaLink="false">http://stansight.com/WordPress/2008/07/29/floating-table-titles/#comment-1420</guid>
		<description>This script works really well, especially with the tips in the comments as well. However, the floating table&#039;s columns are not aligned correctly with the data  table columns &amp; header. They start off pretty correct, but in the middle of the table it goes off by a long way, and by the end it&#039;s almost correct again. Anyone knows how to fix that?</description>
		<content:encoded><![CDATA[<p>This script works really well, especially with the tips in the comments as well. However, the floating table&#8217;s columns are not aligned correctly with the data  table columns &amp; header. They start off pretty correct, but in the middle of the table it goes off by a long way, and by the end it&#8217;s almost correct again. Anyone knows how to fix that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Belac</title>
		<link>http://stansight.com/WordPress/2008/07/29/floating-table-titles/comment-page-1/#comment-1416</link>
		<dc:creator>Belac</dc:creator>
		<pubDate>Thu, 22 Apr 2010 20:41:30 +0000</pubDate>
		<guid isPermaLink="false">http://stansight.com/WordPress/2008/07/29/floating-table-titles/#comment-1416</guid>
		<description>Great script, thanks so much.

I had the same problem as Phil did the the border collapse style skewing the titles to the right.  It&#039;s an easy fix though, just add:

titleTableObj.style.borderCollapse = &quot;collapse&quot;; 

around line 124.</description>
		<content:encoded><![CDATA[<p>Great script, thanks so much.</p>
<p>I had the same problem as Phil did the the border collapse style skewing the titles to the right.  It&#8217;s an easy fix though, just add:</p>
<p>titleTableObj.style.borderCollapse = &#8220;collapse&#8221;; </p>
<p>around line 124.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arun</title>
		<link>http://stansight.com/WordPress/2008/07/29/floating-table-titles/comment-page-1/#comment-1415</link>
		<dc:creator>Arun</dc:creator>
		<pubDate>Tue, 06 Apr 2010 12:11:07 +0000</pubDate>
		<guid isPermaLink="false">http://stansight.com/WordPress/2008/07/29/floating-table-titles/#comment-1415</guid>
		<description>Can you please try this, i have requirement where the first 3 columns in a table should be freezed during horizontall scroll. I tried a lot but coudn’t acheive this. Can you please help with this?</description>
		<content:encoded><![CDATA[<p>Can you please try this, i have requirement where the first 3 columns in a table should be freezed during horizontall scroll. I tried a lot but coudn’t acheive this. Can you please help with this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stan Slaughter</title>
		<link>http://stansight.com/WordPress/2008/07/29/floating-table-titles/comment-page-1/#comment-1395</link>
		<dc:creator>Stan Slaughter</dc:creator>
		<pubDate>Thu, 11 Feb 2010 22:50:13 +0000</pubDate>
		<guid isPermaLink="false">http://stansight.com/WordPress/2008/07/29/floating-table-titles/#comment-1395</guid>
		<description>Mahesh - just post a link to the page having the problem.</description>
		<content:encoded><![CDATA[<p>Mahesh &#8211; just post a link to the page having the problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mahesh Pinnamaneni</title>
		<link>http://stansight.com/WordPress/2008/07/29/floating-table-titles/comment-page-1/#comment-1394</link>
		<dc:creator>Mahesh Pinnamaneni</dc:creator>
		<pubDate>Thu, 11 Feb 2010 18:45:20 +0000</pubDate>
		<guid isPermaLink="false">http://stansight.com/WordPress/2008/07/29/floating-table-titles/#comment-1394</guid>
		<description>Hi Stan,

I have a table that I want to float the headers within couple of tables. But he issue is the floating header is moving to the right and the not aligning with the actual table header. I have n&#039;t seen this behaviour with other tables where I have used. I can send you my code if I can get your email.
Thanks,
Mahesh</description>
		<content:encoded><![CDATA[<p>Hi Stan,</p>
<p>I have a table that I want to float the headers within couple of tables. But he issue is the floating header is moving to the right and the not aligning with the actual table header. I have n&#8217;t seen this behaviour with other tables where I have used. I can send you my code if I can get your email.<br />
Thanks,<br />
Mahesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://stansight.com/WordPress/2008/07/29/floating-table-titles/comment-page-1/#comment-1383</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Sat, 28 Nov 2009 06:44:39 +0000</pubDate>
		<guid isPermaLink="false">http://stansight.com/WordPress/2008/07/29/floating-table-titles/#comment-1383</guid>
		<description>This is a great script.  Thanks Stan!
I was having a problem with a centered table (margin-left:auto; margin-right:auto;).  As soon as the header started floating, it would jump to the left edge of the containing div.  I fixed it by adding the a line of code in floatTitleLoop(), just after titleObj gets defined:

     // Make sure we&#039;re aligned properly left-to-right.
      titleObj.style.left = tablePos[0] + &quot;px&quot;;		

... works great now.
Also, there&#039;s a line in the for loop in createTitleObj() that reads:

	  titleTableCells[i].style.cursor = &#039;normal&#039;;
which was throwing nuisance errors because &#039;normal&#039; isn&#039;t a valid value for the cursor property.  I changed it to:

	  titleTableCells[i].style.cursor = &#039;auto&#039;;	

which stopped the complaining.</description>
		<content:encoded><![CDATA[<p>This is a great script.  Thanks Stan!<br />
I was having a problem with a centered table (margin-left:auto; margin-right:auto;).  As soon as the header started floating, it would jump to the left edge of the containing div.  I fixed it by adding the a line of code in floatTitleLoop(), just after titleObj gets defined:</p>
<p>     // Make sure we&#8217;re aligned properly left-to-right.<br />
      titleObj.style.left = tablePos[0] + &#8220;px&#8221;;		</p>
<p>&#8230; works great now.<br />
Also, there&#8217;s a line in the for loop in createTitleObj() that reads:</p>
<p>	  titleTableCells[i].style.cursor = &#8216;normal&#8217;;<br />
which was throwing nuisance errors because &#8216;normal&#8217; isn&#8217;t a valid value for the cursor property.  I changed it to:</p>
<p>	  titleTableCells[i].style.cursor = &#8216;auto&#8217;;	</p>
<p>which stopped the complaining.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thao Nguyen</title>
		<link>http://stansight.com/WordPress/2008/07/29/floating-table-titles/comment-page-1/#comment-124</link>
		<dc:creator>Thao Nguyen</dc:creator>
		<pubDate>Sun, 19 Jul 2009 11:02:49 +0000</pubDate>
		<guid isPermaLink="false">http://stansight.com/WordPress/2008/07/29/floating-table-titles/#comment-124</guid>
		<description>That&#039;s really nice. Thank you very much for this post!!!</description>
		<content:encoded><![CDATA[<p>That&#8217;s really nice. Thank you very much for this post!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Heinz Stapff</title>
		<link>http://stansight.com/WordPress/2008/07/29/floating-table-titles/comment-page-1/#comment-123</link>
		<dc:creator>Heinz Stapff</dc:creator>
		<pubDate>Sat, 18 Jul 2009 20:31:52 +0000</pubDate>
		<guid isPermaLink="false">http://stansight.com/WordPress/2008/07/29/floating-table-titles/#comment-123</guid>
		<description>HI STAN I&#039;VE BEEN TRYING TO GET THE ONLY TABLE HEADER TO CHANGE FROM ABSOLUTE POSITION TO FIXED WITH A TWIST. MY WEBSITE HAS TWO IFRAMES &quot;DISPLAY&quot; &amp; &quot;REGISTER&quot;. I WANT A BUTTON IN &quot;DISPLAY DOCUMENT&quot; TO CHANGE THE THEAD STYLE POSITION IN &quot;REGISTER DOCUMENT&quot; AND GET THE ADDED ROWS TO SCROLL BELLOW IT. THE &quot;REGISTER&quot; FRAME IS ONLY TWO ROWS IN HEIGHT. WHEN THE CLIENT CHECKS OUT HE CLICKS ON THE &#039;CHECKOUT&#039; BUTTON ON THE LEFT OF THE TWO IFRAMES IN THE INDEX/HOME PAGE AND THE TABLE LOADS TO THE &quot;DISPLAY&quot; IFRAME GRANTING THEM LOGIN AND PAYMENT OPTIONS WICH MEANS THE TFOOT HAS TO ARIVE AT THE TOP AND THE THEAD CAN NO LONGER &#039;FLOAT&#039;. I&#039;VE GOT ALL THE PAGES LOADING PROPERLY EXEPT THAT I&#039;VE SPENT THE LAST TWO WEEKS TRYING TO GET THE BUTTON IN &quot;DISPLAY&quot; TO ACCESS THE HEADER STYLE IN &quot;REGISTER&quot; IE8 MSDN SYNTAX ISN&#039;T CLEARLY DEMONSTRATED FOR THIS PARTICULAR SITUATION. COULD USE SOME DIRECTION FOR THE SYNTAX OF JAVASCRIPT TO COMUNICATE FROM ONE IFRAME TO THE OTHER. ALREADY HAVE SCROLLTO AFFECTING THE &quot;REGISTER&quot; WITH THE BUTTON BUT SETTING THE SECOND FUNCTION ONCLICK=&quot;SCROLLFUNCTION(); STYLEFUNCTION();&quot; HAS DRIVEN ME INSANE. ANY HELP WOULD BE GREATLY APPRECIATED.</description>
		<content:encoded><![CDATA[<p>HI STAN I&#8217;VE BEEN TRYING TO GET THE ONLY TABLE HEADER TO CHANGE FROM ABSOLUTE POSITION TO FIXED WITH A TWIST. MY WEBSITE HAS TWO IFRAMES &#8220;DISPLAY&#8221; &amp; &#8220;REGISTER&#8221;. I WANT A BUTTON IN &#8220;DISPLAY DOCUMENT&#8221; TO CHANGE THE THEAD STYLE POSITION IN &#8220;REGISTER DOCUMENT&#8221; AND GET THE ADDED ROWS TO SCROLL BELLOW IT. THE &#8220;REGISTER&#8221; FRAME IS ONLY TWO ROWS IN HEIGHT. WHEN THE CLIENT CHECKS OUT HE CLICKS ON THE &#8216;CHECKOUT&#8217; BUTTON ON THE LEFT OF THE TWO IFRAMES IN THE INDEX/HOME PAGE AND THE TABLE LOADS TO THE &#8220;DISPLAY&#8221; IFRAME GRANTING THEM LOGIN AND PAYMENT OPTIONS WICH MEANS THE TFOOT HAS TO ARIVE AT THE TOP AND THE THEAD CAN NO LONGER &#8216;FLOAT&#8217;. I&#8217;VE GOT ALL THE PAGES LOADING PROPERLY EXEPT THAT I&#8217;VE SPENT THE LAST TWO WEEKS TRYING TO GET THE BUTTON IN &#8220;DISPLAY&#8221; TO ACCESS THE HEADER STYLE IN &#8220;REGISTER&#8221; IE8 MSDN SYNTAX ISN&#8217;T CLEARLY DEMONSTRATED FOR THIS PARTICULAR SITUATION. COULD USE SOME DIRECTION FOR THE SYNTAX OF JAVASCRIPT TO COMUNICATE FROM ONE IFRAME TO THE OTHER. ALREADY HAVE SCROLLTO AFFECTING THE &#8220;REGISTER&#8221; WITH THE BUTTON BUT SETTING THE SECOND FUNCTION ONCLICK=&#8221;SCROLLFUNCTION(); STYLEFUNCTION();&#8221; HAS DRIVEN ME INSANE. ANY HELP WOULD BE GREATLY APPRECIATED.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stan Slaughter</title>
		<link>http://stansight.com/WordPress/2008/07/29/floating-table-titles/comment-page-1/#comment-122</link>
		<dc:creator>Stan Slaughter</dc:creator>
		<pubDate>Fri, 12 Jun 2009 12:21:35 +0000</pubDate>
		<guid isPermaLink="false">http://stansight.com/WordPress/2008/07/29/floating-table-titles/#comment-122</guid>
		<description>Syam,

There is no onload needed in the body tag.  That is taken care of in line 249 with the statement:

 window.onload = startFloatTitle;  

If it is not working for you then it could be that you are doing something to over ride this assignment in another piece of code.</description>
		<content:encoded><![CDATA[<p>Syam,</p>
<p>There is no onload needed in the body tag.  That is taken care of in line 249 with the statement:</p>
<p> window.onload = startFloatTitle;  </p>
<p>If it is not working for you then it could be that you are doing something to over ride this assignment in another piece of code.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.738 seconds -->

