thank you very much jjb for your answer, if is it possible I'd like to
ask you something else:

I have just implemented a first version of my dom inspector using the
same strategy to pick up target element from wich start inspection,
however in my solution  I use x-path dom query to know the dom
structure and finally i put the result in a tree widget to visualize
it,
in this phase the code is too slow even if the algoritm used is quite
efficent (at least is my opinion) thus I wonder:

how firebug get the dom structure?? and How firebug visualize it ??
I don't see this part of code in inspector.js (that's surely my fault
but I don't find it)

(thank you very much again) ^n



On 4 Ago, 16:56, johnjbarton <[email protected]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to