PDA

View Full Version : YUI MenuBar in BorderLayout


paultyng
12-04-2006, 02:41 PM
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.

jack.slocum
12-05-2006, 08:52 AM
Thanks for posting about this. That is very common issue!

creiht
12-06-2006, 04:08 PM
Would it be possible to give a small example using this. My JS fu is still a bit lacking. Thanks!

vk_phoenixfr
01-23-2007, 11:35 AM
Yes, please help... :roll: