[Project_owners] how to move up in contentAreaContextMenu

Amin Eft... amin.eft at gmail.com
Tue Jun 5 00:28:33 PDT 2007


it is standard id
it is id of step before properties
i test other ids too,but dont work !!

On 6/5/07, Eric H. Jung <eric.jung at yahoo.com> wrote:
>
> Where did you get the id "context-sep-properties"? You must use an ID
> that already exists in the XUL being overlaid.
>
>
>
> --- "Amin Eft..." <amin.eft at gmail.com> wrote:
>
> > what is the problem with this code
> > it is shown in down of the list
> >
> >
> >          <popup id="contentAreaContextMenu">
> >                   <menuitem
> >                                              id="context-PH1"
> >
> > insertafter="context-sep-properties"
> >                                              label="1"
> >                   "/>
> >                   <menuitem
> >                                              id="context-PH2"
> >
> > insertafter="context-sep-properties"
> >                                              label="2"
> >
> >                   "/>
> >          </popup>
> >
> >
> > On 6/2/07, Michael Vincent van Rantwijk <mv_van_rantwijk at yahoo.com>
> > wrote:
> > >
> > > InBasic wrote:
> > > > in my extension there is one item that overlay to
> > contentAreaContextMenu
> > > >
> > > > but after running i see that it is the last item in context menu
> > , how
> > > > can i
> > > > move it upper ?
> > >
> > > Use the 'insertbefore' attribute like this: insertbefore="targetid"
> > >
> > > Make sure to bookmark these two links:
> > >
> > > http://www.xulplanet.com/
> > > http://developer.mozilla.org/en/docs/Main_Page
> > >
> > > _______________________________________________
> > > Project_owners mailing list
> > > Project_owners at mozdev.org
> > > http://mozdev.org/mailman/listinfo/project_owners
> > >
> > > _______________________________________________
> > Project_owners mailing list
> > Project_owners at mozdev.org
> > http://mozdev.org/mailman/listinfo/project_owners
> >
>
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/project_owners/attachments/20070605/72e89665/attachment.html 


More information about the Project_owners mailing list