• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need Testers - Scrollable Table with Static Header

 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Many ranchers ask for this script, so I normally give them links to scripts that require a lot of work. Most people do not have the HTML and JavaScript knowledge to do it efficiently so I came up with this.

The Table Script

This one is a three step process: Download - Add js reference - function call!

I was hoping that you can test my example page and maybe run some test of your own on different tables. I want to find the errors. There is about 6 hours of work in this since IE and Mozilla would not agree!

I am working on this to integrate with ASP.NET's datagrids because we have picklists that have a bunch of columns and over 100+ rows. People can not remember what the columns are by the time they get to the bottom!

Thanks A Bunch!
Eric
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I get 404 when trying to get the script.
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With Firefox 1.0 the example table is full size, that is, got no scroll bars.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having no problems with the link, hmmm. I am wondering if brinkster is blocking the content, would not surprise me!

Firefox works fine on my C drive and my localhost, I still can not figure out why it dies on brinkster.

hmmm

Eric
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I get very different results in IE 6.0.28 and Opera 7.53:

table in Opera:

table in IE:
[ December 16, 2004: Message edited by: Jessica Sant ]
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hmmmm...opera is off since the table borders are not there

no idea why IE is having problems...

This is not fun!

LOL

Eric
 
Marilyn de Queiroz
Sheriff
Posts: 9063
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Firefox/Linux looks like Jessica's Opera version and I did not have any problems accessing it online.

Netscape 7/WinXP looks like IE6/WinXP
[ December 16, 2004: Message edited by: Marilyn de Queiroz ]
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm getting



with

 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I really need to go test it with my browser at home with sp2

Thanks so far!

Eric
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I updated the page a bit, but there were no major changes to the code.

Eric
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay - I just got it tested with the following:

XP SP2
-IE6 - Good
-Mozilla - Good
-AOL - Good

Win 2K
-IE6 - Good
-Mozilla - Good
-FireFox - Good

Seems to be good on my part...LOL

Eric
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is one with 2: 2 Tables

Eric
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using Win 98, FireFox 1.0 - Looks good to me. I could scroll both tables.
The only difference I could find is that in Working Example 1, the 'Test' header was centered and in the Example 2, it was left justified. Not sure if your JS had to do anything with this or not. (I am guessing this has to do with the 'th' and 'td' tags and not your JS). The other difference between the two Examples was that the height of Example 2 was less than that of Example 1.

Hope this helps.

- m
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Both the 1 table demo and 2 table demo are now working corectly with Firefox 1.0 on XP SP2
(Minor problem:the vertical column separator lines in the header and data portion of the table were accumulating line-up errors so there was about a 0.7mm difference on the RHS)


With Internet Exterminator (XP, latest SP2) I get 404 for all the links to demo tables.
[ December 16, 2004: Message edited by: Barry Gaunt ]
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Madhav Lakkapragada:
Using Win 98, FireFox 1.0 - Looks good to me. I could scroll both tables.
The only difference I could find is that in Working Example 1, the 'Test' header was centered and in the Example 2, it was left justified. Not sure if your JS had to do anything with this or not. (I am guessing this has to do with the 'th' and 'td' tags and not your JS). The other difference between the two Examples was that the height of Example 2 was less than that of Example 1.

Hope this helps.

- m


The td tag centers the text auto.
And I have the height set smaller on the second one.

Eric
 
chen jiawei
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i just wang to study.thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic