On Nov 26, 11:56 am, G <[email protected]> wrote:
> Hello all,
> I saw that Firebug has this very nice feature that on mouse over
> highlights the HTML element that is underneath the mouse.
>
> this feature also works within iframes, so, I would like to ask how
> did you implement such a thing? (some code or direction to the right
> code will be nice).

Search for onInspectingMouseOver in inspector.js

https://fbug.googlecode.com/svn/branches/firebug1.7/content/firebug/inspector.js

The short version, we addEventListener for each document using event
mouseover, it's easy.

>
> also, I can see that the extension  reacts to the mouse over and show
> it's position on the DOM tree, the displaying is
> not important to me, but, does the 'mousemove' that you use passes the
> elements id to the extension?

It's "mouseover" we use, not mousemove. The event.target has the
element id.

jjb

>
> Thanks in Advance,
> Gal

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en.

Reply via email to