Patches item #415498, was updated on 2001-04-11 12:19 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=305757&aid=415498&group_id=5757 Category: DynAPI 2 API Group: None Status: Open Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: PushPanel fix for NS on Mac Initial Comment: Below is the code that I used to fix the PushPanel for Netscape on the Macintosh platform. Basically, all I did was add the "e.cancelBrowserEvent();" call to both the onmousedown event listeners. While trying to debug this, I discovered that when the mousedown event is fired on NS on the Mac, it immediately fires the onmouseup event, therefore, cancelling any scolling functions. FYI, the debugging of this was very painful. I'm am however relieved to have found a solution. Enjoy! var button0Listener = new EventListener(this); button0Listener.onmousedown = function(e) { e.cancelBrowserEvent(); var o = e.getTarget(); if (o.vertical) o.scrollUp(); else o.scrollLeft(); }; var button1Listener = new EventListener(this); button1Listener.onmousedown = function(e) { e.cancelBrowserEvent(); var o = e.getTarget(); if (o.vertical) o.scrollDown(); else o.scrollRight(); }; ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=305757&aid=415498&group_id=5757 _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/dynapi-dev
