I've been learning some DHTML recently for some web-based database apps for my job,
and I ran across DynAPI. I've enjoyed using it so far, but I've run into a problem
I'm having a hard time solving.
I'm trying to resize a table based on the width of the browser window both when the
page loads and when the window is resized. I figured this would be easy enough, so I
put in this simple code:
DynAPI.onResize = DynAPI.onLoad = function()
{
var table = document.getElementById('my_table');
table.width = DynAPI.document.getWidth() - 25;
}
but it won't resize the table at all. I don't get any JavaScript errors, but nothing
is happening with my table. If anyone can help me out I would really appreciate it
(I've tried researching this myself, but have been unsuccessful and am now banging my
head against the wall). Thanks in advance...
Adam Schlag
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help