[Javascript] Re: Getting frame height and width

Josiah Gordon jgordon at directfile.com
Thu Jun 14 12:58:33 CDT 2001


Try getting the values of:


IE/NN
<framename>.height
<framename>.width

or IE only
document.all.<frameID>


HTH,

Josiah Gordon

-----Original Message-----
From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
Behalf Of phumes1 at home.com
Sent: Thursday, June 14, 2001 10:42 AM
To: javascript at LaTech.edu
Subject: [Javascript] Re: Getting frame height and width



Hi,

Does anyone know how to go about getting a frames height and width in 
pixels and then output those results to a page?

I have a frameset like

  ----------------------------
|             |                       |
|             |                       |
|     A      |           B         |
|             |                       |
|             |                       |
|             |                       |
  ----------------------------

I would like to find out the size of frame "B" based on the size of the 
users browser window.

Please tell me this can be done!


_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascript


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.261 / Virus Database: 131 - Release Date: 6/6/2001

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.261 / Virus Database: 131 - Release Date: 6/6/2001





More information about the Javascript mailing list