Re: Tag from page

2005-01-16 Thread cbull

Michal Ceresna [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 On Saturday 15 January 2005 21:37, cbull wrote:
 Hello,

 For example, DOM inspector has this functionality.

Well it tells me nothing. Could you give me some links or examples?

Tomasz




 
  I would like to develop a program, where user would be able to select an
  element on a page (table, paragraph or any other tag) and then the
program
  would do something with the selected element. Is it possible with
Mozilla
  API?. Could you give me a clue at which interfaces I should look at.
  Especially these linking visual elements with document structure.
 
  Thanks in advance,
  Tomasz
 
 
  ___
  mozilla-embedding mailing list
  mozilla-embedding@mozilla.org
  http://mail.mozilla.org/listinfo/mozilla-embedding



___
mozilla-embedding mailing list
mozilla-embedding@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-embedding


Re: Tag from page

2005-01-16 Thread Boris Zbarsky
cbull wrote:
Could you give me a clue at which interfaces I should look at.
Especially these linking visual elements with document structure.
Isn't it sufficient to just catch the click events generated when a user clicks 
on the page?  Those have a .target property that gives you the DOM node clicked on.

That's certainly what DOM inspector does.
-Boris
___
mozilla-embedding mailing list
mozilla-embedding@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-embedding


Re: Tag from page

2005-01-16 Thread cbull

Boris Zbarsky [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 cbull wrote:
 Could you give me a clue at which interfaces I should look at.
 Especially these linking visual elements with document structure.

 Isn't it sufficient to just catch the click events generated when a user
clicks
 on the page?  Those have a .target property that gives you the DOM node
clicked on.

Please, I'm a newbie to this topic. Could you give me a link to the
documentation I should look at?

Tomasz


___
mozilla-embedding mailing list
mozilla-embedding@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-embedding


Re: Tag from page

2005-01-16 Thread Boris Zbarsky
cbull wrote:
Please, I'm a newbie to this topic. Could you give me a link to the
documentation I should look at?
http://w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/events.html
-Boris
___
mozilla-embedding mailing list
mozilla-embedding@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-embedding