[Javascript] Re: Getting frame width and height

Rodney Myers rodney at aflyingstart.net
Thu Jun 14 13:53:46 CDT 2001


In NN4 this alert in the URL window works
javascript:alert("top.shopping.OMAIN.innerHeight =
"+top.shopping.OMAIN.innerHeight)
for a frame called top.shopping.OMAIN
innerWidth would also work

In MSIE 5.5 I was not expecting this to work and it did not
not innerHeight nor height either.

I expect someone else will come up with something though....
Maybe something related to BODY in DHTML??

hth a bit

Rodney

phumes1 at home.com wrote:

> Is there a way to get the coordinates of a specific frames height and width.
>

--
Shop at ssistant Add-ons and Developer Workshops
http://www.aflyingstart.net/addons/

Enquiries regarding Shop at ssistant Classic training :
Call 01256 880770

Rodney Myers
Based in Oxford, England
Technical Director, Shop at ssistant eCommerce Solutions

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010614/9c3df23c/attachment.htm>


More information about the Javascript mailing list