window.resizeTo(document.all['mydiv'].offsetWidth+50,document.all['mydiv'].offsetHeight+50);
worked a treat with <DIV ID="mydiv"> </DIV> around the table. Thanks Allan P.S. Couldn't get the image way to work. 8-( ----- Original Message ----- From: Snake Hollywood To: [EMAIL PROTECTED] Sent: Friday, September 05, 2003 1:25 PM Subject: [cfmail] RE: [ cf-dev ] OT: javascript You can put the table in a <DIV> and specify a height and width for the DIV using a style, then mak ethe table 100% height and width. Then you can get the height and width of the div. Hth Russ Michaels Macromedia/Allaire Certified ColdFusion Developer Satachi Internet Development Phone: 0870 787 3610 Tech Support: 0906 9607800 FAX: 0709 2212 636 http://www.satachi.com email general: [EMAIL PROTECTED] email support: [EMAIL PROTECTED] Join our ColdFusion Developer discussion lists. Send an e-mail to [EMAIL PROTECTED] > -----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]
