NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Web Design Discussion
Reload this Page Stop the table header from scrolling?

Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms.

Advanced Search
9 members in live chat ~  
NamePros Design Contests NamePros Design Contests
Forum Sponsorship
Join in on the FUN! You can start an affordable design contest and pick from entries talented members submit or you can enter a design contest for a chance to win CASH PRIZES! What are you waiting for? Get started in the fun TODAY! - Banners, Logos, Mascots, and MORE! (Please READ the design Contest section rules Prior to starting or entering a contest)



Reply
 
LinkBack Thread Tools
Old 01-23-2011, 01:27 PM THREAD STARTER               #1 (permalink)
NamePros Regular
Join Date: Jul 2010
Posts: 447
domainpush is a jewel in the roughdomainpush is a jewel in the roughdomainpush is a jewel in the rough
 



Stop the table header from scrolling?


I have a scrollable table javascript that I am using. I would like to know how I can keep the header from scrolling out of view. I would like to make it fixed.

How can I do this??
domainpush is online now   Reply With Quote
Old 01-23-2011, 04:23 PM   #2 (permalink)
NamePros Member
Join Date: Nov 2003
Location: Ontario, Canada
Posts: 127
eagle12 will become famous soon enougheagle12 will become famous soon enough
 



A good first step would be to either post a link to the site, or some of the code.
eagle12 is offline   Reply With Quote
Old 01-23-2011, 04:38 PM THREAD STARTER               #3 (permalink)
NamePros Regular
Join Date: Jul 2010
Posts: 447
domainpush is a jewel in the roughdomainpush is a jewel in the roughdomainpush is a jewel in the rough
 



Thanks, here it the basics.
Quote:
<script type="text/javascript" src="tablesort.js"></script>
????: NamePros.com http://www.namepros.com/web-design-discussion/698255-stop-the-table-header-from-scrolling.html

<div STYLE="height: 500px; width: 960px; font-size: 12px; overflow: auto;">

<table id="test1" cellpadding="0" cellspacing="0" border="0" class="sortable-onload-5-6r rowstyle-alt colstyle-alt no-arrow">

<caption>Last Update (2010-12-20)</caption>
<thead>
<tr>
<th class="sortable-numeric">Contact</th>
<th class="sortable-numeric">Phone #</th>
<th class="sortable">Supplier</th>
<th class="sortable-date-dmy">Email</th>
<th class="sortable-currency">City & State</th>
<th class="sortable-numeric">Ships Internationally</th>
<th class="sortable-numeric">eBay Sales</th>
<th class="sortable-currency">Amazon Sales</th>
<th class="sortable-currency">Dropship Fee</th>
</tr>
</thead>
<tbody>

<tr>
<td>wrfrv</td>
<td class="lft"><a href="http://www.frtyyhgty.com">test</a></td>
</tr>

<tr class="alt">
<td>wrfrv</td>
<td class="lft"><a href="http://www.frtyyhgty.com">test</a></td>
</tr>


</tbody>

</table>
</div>
</div>
Here is the exact table I'm using except I have added the scrollable feature. http://www.ajaxdaddy.com/demo-table-sort.html This table also sorts by category. I just need to figure out how to make the header not scroll. Thanks
domainpush is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
i need myspace code help rep added zachary0611 Programming 2 08-26-2006 12:21 PM
Going, Going on Afternic.com AWest For Sale / Advertising Board 0 03-17-2006 11:48 AM
Going, Going on Afternic billinchina For Sale / Advertising Board 47 03-31-2005 07:45 AM

 
All times are GMT -7. The time now is 07:16 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger