hi, to get rid of the context-menu poping up on mousedowns
(scrollbar-buttons for example) when holding the mousebutton 
for a while i added 

if (is.ns4 && is.platform=="mac") return false;

line last to DynMouseEvent.EventMethod() in event/mouse.js.
it works, but after the fix, no links in layers will work in ns4,
the link doesn't seem to "get" the click. 

so i made an ugly workaround, changed the line
i added to 

if (is.ns4 && is.platform=="mac" && evt._noMacNsContextMenu) {
        evt._noMacNsContextMenu = false;
        return false;
}

and in the eventlistener for the layers i didn't want 
the context-menu:

listener.onmousedown=function(e) {
        // bla bla bla
        e._noMacNsContextMenu = true;
}

now it works, but i think the solution is a bit to ugly,
does anybody else know an other way to come around it?

/martin


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to