paultyng
4 Dec 2006, 11:41 AM
I created my own Menu and MenuBar with corresponding items to handle the rendering issue when used in a BorderLayout, they can be found on this thread:
http://www.yui-ext.com/forum/viewtopic.php?t=298&start=30
Basically they just override render in the submenus to make them render to document.body instead of the container of the MenuBar. The additional classes are used for proper instantiation of children created only through config data instead of consumer instantiation.
A little faster than attaching to all your submenus click and over events iteratively and only occurs once on the item render.
http://www.yui-ext.com/forum/viewtopic.php?t=298&start=30
Basically they just override render in the submenus to make them render to document.body instead of the container of the MenuBar. The additional classes are used for proper instantiation of children created only through config data instead of consumer instantiation.
A little faster than attaching to all your submenus click and over events iteratively and only occurs once on the item render.