Thank you. DOMInspector is really a great tool... does it exist an API
to access to the DOMInspector functionality? I need to read the
coordinates of objects from a C++ program which embed mozilla.
Thanks,
Nicola
grayrest wrote:
> Nicola Baldini wrote:
>
>> Hi all,
>>
>> i need to know if it is possible to get the complete list of objects
>> rendered by mozilla layout with their width, height and absolute
>> position in the page (i.e. the rectagle containing a portion of text
>> or an image).
>>
>> If yes where can I find some examples of this?
>>
>> Thanks in advance.
>> Nicola
>>
>
> Tasks>tools>DOMInspector. If you installed the DOM inspector, you can
> get all the info you need to know by firing it up, loading up a page
> (open a browser window, navigate to the page you want, copy/paste the
> url into the DOMInspector URLBar). The objects show up as a tree, you
> can either navigate that tree or click the button just below the file
> menu, which is "jump to whatever is clicked on". Beware clicking on
> links, though, the browser window at the bottom of the window is fully
> functional and there is no way of going back. The upper right pane can
> have its contents changed, the most interesting to you will be "Computed
> Style" and "CSS Style Rules".
>
> grayrest
> "The DOMInspector is the greatest thing since sliced bread."--me
>