Categories | Question details Back To List | ||||||||||||||
Icon Center Problem in Menu This is my second post. please correct the below code The HTML File is <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Untitled Page</title> <link href="dhtmlxMenu/codebase/skins/dhtmlxmenu_dhx_blue.css" rel="stylesheet" type="text/css" /> <script language ="javascript" type ="text/javascript" src="dhtmlxMenu/codebase/dhtmlxcommon.js"></script> <script language ="javascript" type ="text/javascript" src="dhtmlxMenu/codebase/dhtmlxmenu.js"></script> </head> <body> <div id="menu"/> <script type="text/javascript"> var aMenuBar=new dhtmlXMenuObject("menu"); aMenuBar.setImagePath("dhtmlxMenu/codebase/imgs/"); aMenuBar.setIconsPath("dhtmlxMenu/codebase/icons/"); aMenuBar.loadXML("MenuXML.xml"); </script> </body> </html> MenuXML.xml <?xml version="1.0"?> <menu> <item id="main_file3" text="Controls"> <item id="Layout" text="Layout" img="layoutOpen.gif" imgdis="layoutClosed.gif"/> <item id="Tab" text="Tab" img="tabOpen.gif" imgdis="tabClosed.gif"/> </item> </menu> But the icon of sub menu show in center. Please correct the same. Answer posted by Alex (support) on Jul 06, 2009 01:26 Please, check attached sample. The icons are correctly shown with the same sample code Attachments (1)
Answer posted by Gowdhaman on Jul 06, 2009 02:37 Because of Version Problem. The screen shot also attached. Attachments (1)
Answer posted by Alex (support) on Jul 06, 2009 02:42 So, is the issue solved with the latest menu libraries ? |