On Aug 4, 9:52 am, emilio <[email protected]> wrote:

> how firebug get the dom structure?? and How firebug visualize it ??

Well the mouseover event.target gives the element the user wants; you
can get the path from DOM properties like parentNode. Then Firebug
tries to show just enough of the HTML to help you understand without
expanding the whole tree and confusing you.  This is in html.js and
iobox.js.   Every element has a representation object; every
representation object has a way to be shown in the HTML panel.  This
gets you in to reps.js (object representations); and domplate.js, you
better read 
http://www.softwareishard.com/blog/planet-mozilla/domplate-examples-part-i/

jjb
--~--~---------~--~----~------------~-------~--~----~
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