Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Mike Addesa on Sep 09, 2007 04:22
open dhtmlx forum
I am using context menu created solely through JavaScript, how do I set the tooltips with JS. Also the mouseover color changes on the context menu do not occur if the menu was built from script instead of loaded from XML.


Answer posted by Stanislav on Sep 10, 2007 14:13
>>how do I set the tooltips with
the menu mostly purposed to be used with XML so no all functionality directly available through API, you can use next way of init

var item = new dhtmlXMenuItemObject({
    tagName='MenuItem',
    id:'some_id',
    name:'menu_item_name',
    tooltip:'some_tooltip',
    width:'100px'
});

>>Also the mouseover color changes
Problem is not reconstructable locally - please provide any kind of sample ( please be sure that you uses latest version of dhtmlxMenu )