Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Vijay on Feb 11, 2009 20:38
open dhtmlx forum
DHTLX Menu is not working when incorporated in to a portlet

Hi,

The DHTMLX Menu is not working when incorporated in to a portlet. The following is the code which I used to display menus in the portlet.

<div id="objMenu"></div>

<script>
    var objMenu = new dhtmlXMenuObject("objMenu","dhx_blue");
    var xml ="<?xml version='1.0'?><menu><item id='menu' text='Menu'><item id='print' text='Print'/><item id='help' text='Help'/><item id='about' text='About'/></item></menu>";                                    
    objMenu.loadXMLString(xml);
    objMenu.setOpenMode("web");
    objMenu.setWebModeTimeout(2000);                    
</script>    

Thanks in advance for your help.

~Vijay.
Answer posted by Alex (support) on Feb 12, 2009 01:51
There are no known problems with such a way of menu intialization. If problem still persists, please provide the sample where it can be reproduced.