Hi folks, I'm tring to use the htmlmenu widget, but I have some problems ... the menu's items doesn't respect the assigned height. This i the code:
t = '<center><table border="0"><tr><td width="600">[EMAIL PROTECTED]</td></tr></table></center>'; var tp = new Template(null,10,10,600,30,''); tp.addChild(new HTMLMenu(),'mnu'); var mbar; mbar= tp.mnu.createMenuBar('mother', 80, 20); mbar.addItem(null, 'tbl', 'tbl', null, 56); mbar.addItem(null, 'adm', 'adm', null, 120); mbar.addItem(null, 'edit', 'edit', null, 32); mbar.addItem(null, 'tools', 'tools', null, 40); mbar.addItem(null, 'logout', 'logout', null, 48); mbar= tp.mnu.createMenuBar('edit', 80, 20); mbar.addItem(null, 'save', 'save', null, 32); mbar.addItem(null, 'reset', 'reset', null, 40); mbar= tp.mnu.createMenuBar('tools', 80, 20); mbar.addItem(null, 'password', 'password', null, 120); mbar.addItem(null, 'data', 'data', null, 136); dynapi.document.addChild(tp); dynapi.onLoad(function(){ tp.setHTML(t); }) In other words the items password or data or save or reset (the items which are sons) have an height that is not the right height ... it seems that it enlarge in relation with the number of words of the item's text where I'm wrong? Any help? Really thanks Antonio ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help