When you click Inspect, Firebug adds mouseover and mousedown listeners on the page. For every mouseover event it picks up the target and selects it in the HTML panel. When the mousedown comes the listeners are removed. Two other parts, highlighting the element in the web page while inspecting and highlighting the element in the web page when mousing over the HTM panel are done by injecting elements into the web page around the element being inspected. This code is in inspector.js
jjb On Aug 4, 3:58 am, emilio <[email protected]> wrote: > Hy Firebug-Guys, this is my first post on this group (I'm Italian, > thus sorry for my english and my stupid question). I'm trying to > learn ho to program a Dom Inspector for educational purposes > (University thesis) but I'm fail to understand how firebug dom > inspetor works. In which file should look? > anyone can give me link where I can Know more? > exist a tutorial , book about this subject ? > I'd love to know more. > > Thanks again and sorry if my question is inappropriate. > > Ps: > I have implemented a first version using x-Path but the code is very > slow. I'm thinking wich the solution is to use xpcom tecologies > right?? > (but, I dont know how to use theme for this purpose) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
