You cant do it directly in Javascript, but you could simply put a 1x1 trans
gif across the width of the table and down the side in a td and reference it
that way.

That will give you height and width of your table.

i.e. : document.images['1x1trans'].width



-----Original Message-----
From: Allan Cliff [mailto:[EMAIL PROTECTED]
Sent: 05 September 2003 12:15
To: CF - List
Subject: [ cf-dev ] OT: javascript


Anyone know how to get the height/width of a table using javascript?

I want to resize the pop up window to the size of the table which hold
dynamic content.


Thanks
Allan

-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to