adding `parentPanel: "html"` to my Firebug.Panel added the panel under
the right section and implementing `updateSelection: function(element)
` got me access to the currently selected DOM element.

now my main problem is getting access to the page's javascript
environment.  for instance ... maybe the page has a global variable or
I need access to jQuery or Prototype ... possible?

On Dec 21, 2:35 pm, remi <[email protected]> wrote:
> Firebug has a few sub-panels below the HTML panel: Style, Layout, &
> DOM.
>
> I'm trying to add my own HTML sub-panel.  Simple fictional example:
>
> Let's say I'd like a panel called 'Tag' and, when a DOM element is
> selected, it'll merely show the name of the element tag, eg. it'll say
> "a" if an anchor is selected, "div" if a div is selected.
>
> Can someone give me some overall direction?  So far, I've learned
> howto add my own main panels etc via a tutorial [1] but I haven't
> gotten much further, yet.
>
> Thanks!  I promise I'll open-source my extension incase it helps
> anyone, after I can get this panel working (and get access to the
> currently selected/inspected element, with it)
>
> Thanks again.
>
> [1]:http://www.firephp.org/Reference/Developers/ExtendingFirebug.htm
--~--~---------~--~----~------------~-------~--~----~
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