Try "document.popupNode"

Honza

On Apr 27, 10:49 am, Olivier <[email protected]> wrote:
> Sorry
> the question is how to get the target information, I was using
> gContextMenu.target, but the element returned is not containing any
> information that can be used to identify this element in the dom like
> IDs or CSS. I only know element's type and some other stuff I maybe
> don't know how to use.
>
> regards
>
> Olivier
>
> On Apr 27, 10:03 am, Jan Honza Odvarko <[email protected]> wrote:
>
>
>
>
>
>
>
> > On Apr 27, 9:56 am, Olivier <[email protected]> wrote:> Hi,
>
> > > I am working on a firefox extension and I aims to get the Dom target
> > > on right click. The final goal will be to let designer select a DOM
> > > element in page and let customize it using our custom engine. So my
> > > extension is supposed to be on contextual menu, on right click
> > > determine the target in the DOM, retrieve the applied CSS on this
> > > element and send to a server the CSS rules in order to display a list
> > > of possible changes the designer could apply.
> > > So I am asking the question here because of the similarity with
> > > "inspect element" firebug menu.
>
> > So, what is the question?
>
> > If you asking how Firebug implements the context menu 
> > see:http://code.google.com/p/fbug/source/browse/branches/firebug1.8/conte...
>
> > Honza
>
> > > Does someone can help ?
>
> > > thanks & regards
>
> > > Olivier

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