What do you do when you're trying to poll multiple servers and computers for software, and put it in an organized list that is easy to read? The common answer is: Put it in Excel. Well, what if you don't have Excel? Or even worse, what if you're using Internet Explorer 5? Are you doomed to long lists and large tables where you have to deal with all the information at once even though you only want to see maybe 3 fields at a time?
Behold, a plain HTML+CSS solution to this problem. A Table with a scrolling top and left column:
The CSS:
Alot of complex classes, but nothing too in-depth. The one thing that you may notice is a little known fact in internet explorer with css: left: expression(parentNode.parentNode.parentNode.parentNode.scrollLeft) Microsoft extended the specification to allow you to place scripting inside the css statements, giving you ALOT more power over your elements, and with ALOT less code.
The HTML:
So as you can see, the total amount of code really needed to run this table amounts to 2 lines: top: expression(document.getElementById("tbl-container").scrollTop-2); left: expression(parentNode.parentNode.parentNode.parentNode.scrollLeft);