x_goose_x
03-03-2003, 02:53 AM
Ever wanted to have a dynamically resizable table? While working on a database printout recently I figured it would be much easier for the user, if he/she could resize the columns. I looked around and all I could find that would do this was a java applet, which means that the person needs to have java installed. I was about to start the never-ending task of scripting it in javascript, which probably would have taken me weeks to get all the glitches out and make it as cross browser as possible, when something hit me. Why not use a series of frames. This is how I broke it up. For the page that I want to have the table in I put an iframe where I want the table, made it the appropriate size, used css to make custom border,... That iframe targets a frame page. This frame page consists of vertical frames. Each frame holds a different page, which I entered the data for that column. And that's that.
This seems like a lot of work, but it's much shorter than the alternative (scripting). If you're interested, take a look at my example:
Resizable Table (http://pages.infinit.net/mvideos/columns/start.htm)
I thought this was an interesting concept that others may be able to use. Enjoy!
This seems like a lot of work, but it's much shorter than the alternative (scripting). If you're interested, take a look at my example:
Resizable Table (http://pages.infinit.net/mvideos/columns/start.htm)
I thought this was an interesting concept that others may be able to use. Enjoy!