From: Doug M. <do...@cr...> - 2001-02-17 20:12:38
|
How about over-writing the context menu, you can do that right? Use a timer, if the user holds the mouse down for 20 seconds, THEN fire the menu? Just a though (and a loose one at that) ----- Original Message ----- From: "Michael Bürge" <mb...@st...> To: <dyn...@li...> Sent: Saturday, February 17, 2001 9:10 AM Subject: Re: [Dynapi-Dev] mousedown in ns4 /mac > 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 > > > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev --- Outgoing mail is certified Virus Free by AVG Free Edition http://www.grisoft.com/html/us_index.cfm Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01 |