Here is an example from one of my extensions: http://tinyurl.com/2w5zh8 Look at lines 92-118. Do you have this structure in the overlay? <popup id="contentAreaContextMenu"> <menu ...> <menupopup ...> <menuitem ...> <menuitem ...> </menupopup> </menu> </popup>
(menupopup might be optional... if you want a "submenu" of menuitems... but I don't specifically remember without trying it) Does that help? ----- Original Message ---- From: Amin Eft... <[EMAIL PROTECTED]> To: [EMAIL PROTECTED]; Mozdev Project Owners List <[email protected]> Sent: Tuesday, June 5, 2007 3:09:54 PM Subject: Re: [Project_owners] how to move up in contentAreaContextMenu yes but i have had mistake in typing but original problem isn't solved. On 6/5/07, WebTag <[EMAIL PROTECTED] > wrote:It looks like there is a couple extra quotes in there, right before the > end of the menuitem tags. I think the "/> should be just /> On Tuesday 05 June 2007 02:28 am, Amin Eft... wrote: > 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 <[EMAIL PROTECTED]> 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..." <[EMAIL PROTECTED]> 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 < [EMAIL PROTECTED]> > > > > > > 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 > > > > [email protected] > > > > http://mozdev.org/mailman/listinfo/project_owners > > > > > > > > _______________________________________________ > > > > > > Project_owners mailing list > > > [email protected] > > > http://mozdev.org/mailman/listinfo/project_owners > > > > _______________________________________________ > > Project_owners mailing list > > [email protected] > > http://mozdev.org/mailman/listinfo/project_owners _______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners _______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners
_______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners
