[Project_owners] Menu Behavior in FF3.0
Neil Deakin
enndeakin at gmail.com
Fri Mar 14 12:50:12 PDT 2008
Jawahar Swaminathan wrote:
> Thanks for the previous help with the getElementById issue.. I have
> another quirk now.
>
> I dynamically create a menu from an XML file as follows:
>
>
>
> In F2.0 once the menu was made on the toolbar, selecting a menuitem
> would persist on the toolbar.. However, with the same piece of code, the
> menubox remains blank. The XUL for this is
> <menulist id="server1" value="msdserver"
> hidden="false" persist="selected" style="width:160px;">
>
There is no selected attribute for menulists, you want to use the value
attribute. In this case though, nothing will happen since you're
menulist doesn't have any items in it.
More information about the Project_owners
mailing list