I use js-library JGraph. I change my styles as follows:
var mxPopupMenuShowMenu = mxPopupMenu.prototype.showMenu;
mxPopupMenu.prototype.showMenu = function()
{
mxPopupMenuShowMenu.apply(this, arguments);
var _div = this.div;
_div.style.backgroundColor = 'darkgrey'; // background color
_div.style.border = 'none'; // border
_div.onmouseover = function(){ // over in
console.log('mouse over in popur');
}
_div.onmouseout = function(){ // over out
console.log('mouse over out popur');
}
};
This working, but i want edit background color at hover on submenu, and i want edit font color whole menu. How it making? Thanks.