|
I would like to be able to dynamicly resize a table's columns by dragging the border. Is this posible? If so could you please suggest how I should try to go about this... I dont need a solution but I need to know where to start.
|
|
|
Obviously this is not standard functionality to expect in a browser, so you are looking at some relatively advanced DHTML scripting. Take a look at this page http://www.deadbeef.com/dhtml/split.htm
Also, a thread here discussing this concept. http://www.short-media.com/forum/archive/index.php/t-11568.html
Getting a solution that works perfectly in all browsers or at least the current versions of both IE and Mozilla/Netscape will be difficult. You may not need to worry about both browsers for your application -- if you are lucky!
|
|
|
|
|
Troy,
Thanks for the deadbeef link - it is nice and simple. Would you have any suggestions on how to include a background image as well that resizes with the page size? What I want to do is to put links across a web page using an invisible table to force the links to float in the correct locations. The aspect of the background image is not important, but the relative position of the table cells is important. I have found some code examples for resizing a background image that work but when I combine with the table resizing code, it all breaks because I don't know enough to put them together correctly. Here is what I have for resizing the background image. How do I add the resizing table and get it all to work? *THANKS!* Note that I removed the quotes from the code text below for posting.
<html>
<body style=margin: 0px; padding: 0px;>
<div style=width: 100%; height: 100%; left: 0px; top: 0px; position: absolute; z-index: 0;>
<img src=mybackgroundpicture.jpg style=width: 100%; height: 100%;>
</div>
<div style=z-index: 1; position: absolute;>
</div>
</body>
</html>
|
|
|
|
|
|
|
|