Hi,
i’ve run into weird problem. My page is using context menu
function initMenu()
{
menu = new dhtmlXMenuObject("message");
menu.setIconsPath("js/dhtmlXMenu/imgs/");
menu.renderAsContextMenu();
menu.attachEvent("onClick", onButtonClick);
menu.loadXML("_items.xml");
}
to be displayed over textarea on rightclick.
It works great “code wise” in all three major browsers for our project - IE, FF and Chrome.
But, in Firefox (3.6.) when the textarea contains a lot of text, and is scrolled down, the menu pops up way below mouse pointer.
So, when im in textarea, scrolled up, i rightclick, the menu appears where I clicked. Once i start scrolling in the textarea down, and the mouse pointer stays at the very same position on the screen, when I do rightclick, the menu appears lower on the screen than is the mouse pointer. The more i scroll, the more (as it seems, twice as much) lower I get the menu, after some time it even comes out of the screen
I really dont understand why is this happening, and why exactly in Firefox Anyone has experience with this, or has any idea how to solve this ?
Thank you