Re: How to get dialog elements screen rectangles information

Boris Zbarsky <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
[email protected] wrote:
> In firefox3, nsiframe in unfrozen or internal, so I could not use this
> interface to get the screen details of dialog elements.
> In firefox2, I used to get frame corresponding to elements and used
> frame->GetRect(bounds) API.
> 
> Please suggest me what I can use in case of firefox3 to get same
> results.

This is well documented.  getBoundingClientRect() and company.

-Boris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.