EE wrote:

> Philip Taylor wrote:
>>
>> EE (<[email protected]>) wrote:
>>
>>>    Now if I could get it to tell me the element name of a dialog box,
>>> that would be great.  It will give an analysis of whatever is selected
>>> by default when the box opens, but not the name of the box itself.
>>
>> Is a dialogue box an element ?  I would be very surprised if it were.
>> Philip Taylor
>>
> Someone told me that the name of the Preferences/Options window was
> #prefDialog.  Is that not an element?

We may be talking at cross-purposes.  I was speaking of a dialogue
box invoked by (e.g.,) a form in a web page; you (I think) are
speaking of a dialogue box invoked by a browser as a result of
a user interaction that is not related to any web page.  If this
hypothesis is correct, that it is by no means impossible that within
the BOM ("Browser Object Model") as opposed to the DOM ("Document
Object Model"), a dialogue box may be represented as an element.

However (and this is getting picky), it is unlikely (but not
impossible, since I know nothing about the BOM) that the /name/
of the Preferences/Options window is "#prefDialog"; it is possible
that the name is "prefDialog", but if it is to referenced as
"#prefDialog" then it is more likely that its ID is "prefDialog".

Philip Taylor
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to