Karsten Düsterloh wrote:
> Onno Ekker aber hob zu reden an und schrieb:
>   
>> Is there an easy way to merge these two menu's from XUL, when the other 
>> one doesn't have an id?
>> And if it can't be done, how and where can I do this from javascript?
>>     
>
> Well, you can do it the evil way:
> - In your XUL file, specify a <script> section inside the <overlay>
> which puts ids on those elements you want to override.
> - Put your overlay XUL markup *after* the above <script> section, using
> the newly added ids.
>
>   
This is the evil way? Is there also a nice way? (besides asking the 
other extension's author to add the id)

The overlay section already starts by adding my own script. Is there any 
place special where I should add this id to ensure the popupmenu has the 
right id (if it's there) before the rest of the XUL is parsed?

Onno
_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners

Reply via email to