From: Michael Br. <mb...@st...> - 2001-02-17 17:07:35
|
i just found out that this breaks something else. after adding the suggested line to events.js, normal links ( <a href=...) don't work anymore. so i'll have to have another look at the problem, hope i (or somebody else) can find a fix for that soon. -- Michael Buerge > From: Michael Buerge <mb...@st...> > Reply-To: dyn...@li... > Date: Fri, 16 Feb 2001 15:29:33 +0100 > To: <dyn...@li...> > Subject: [Dynapi-Dev] mousedown in ns4 /mac > > something from the mac front: > > the mousedown-event couldn't be used in ns4 on the mac, because when the > mouse is held down, ns4 shows the context-menu. > by canceling the browserevent this can be supressed. > the following line in DynLayer.prototype.EventMethod does that: > > // prevents ns4 on the mac from displaying the context-menu when holding > the mouse pressed > if (is.ns4 && (e.type=="mousedown") && is.platform == 'mac') > evt.cancelBrowserEvent(); > > please test this! > this should make it into CVS, as it fixes an important mac-bug. (if it works > as expected in all situations, of course) > > -- > Michael Buerge > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > |