|
I asked someone why anybody would still use frames, and we couldn't think of a good reason. But now I can.
I want to display a report on one of my pages. It will use an html <table> structure, because I'm reporting tabular data, in tabular format. ( Don't boo me off stage please! ) So far so good, and everything works great.
Only sometimes the report takes more than a page, and people will have to scroll downward to read all of it. When this happens, the table's header row scrolls off the page, upwards. And then the data looses context, becomes a lot harder to make sense of. I'd like to fix the header at the top of the page always, no matter where you are in the report. This is pretty easy to do in Excel, and I think people have come to expect it.
So then how would one accomplish this on a web page? I have a bad feeling javascript is going to have to be involved, and that it would be somewhat complicated, am I right? Would I be better off using an i-frame in this situation? Or am I making things out to be harder than they really are?
|