rik rik,
you don't need to include the yui libraries. YuiMenuBar will do that
automatically. Remove them from your html and everything should work


On Nov 30, 2007 3:58 AM, rik rik <[EMAIL PROTECTED]> wrote:
> Hi to all,
> I've downloaded the sources of menu2 from svn, but I'm not able to make it 
> working properly, because the page is not correctly rendered
> My code (very simple) is this
> YuiMenuBar menubar=new YuiMenuBar("menubar","menubar");
> YuiMenuBarItem fileitem=menubar.addMenu("file");
> YuiMenuBarItem edititem=menubar.addMenu("edit");
> add(menubar);
> and this is the html
> <html>
> <head>
> <script src="yahoo-dom-event.js" type="text/javascript"></script>
> <script src="animation.js" type="text/javascript"></script>
> <script src="container.js" type="text/javascript"></script>
> <script src="menu.js" type="text/javascript"></script>
> <link rel="stylesheet" type="text/css" href="menu.css"/>
> </head>
> <div wicket:id="menubar">menu</div>
> </html>
> The js files have been downloaded from the yui site, and they are correctly 
> referenced from the html
> Where am I going wrong?
> Thanks
> Rik
> _________________________________________________________________
> Organizza le tue foto e condividile con i tuoi amici con Raccolta foto di 
> Windows Live!
> http://www.windowslive.it

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to