From: Michael B. <mb...@st...> - 2001-02-16 14:29:27
|
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 |
From: Richard E. <emb...@co...> - 2001-02-16 15:14:46
|
In the file dynapi.js a DynDocument is created: DynAPI.document=new DynDocument(self); As far as I can tell this is the only place in the code base or examples where a DynDocument is created. In the file dyndocument.js the DynDocument object has the attributes: DynDocument.dyndocs = []; DynDocument.dyndocsID = []; which seems to imply that there can be more than one DynDocument. Is there any example of such an occurance? Thanks. Richard Emberson |
From: Michael P. <mp...@ph...> - 2001-02-16 15:23:35
|
Frames. Richard Emberson wrote: > In the file dynapi.js a DynDocument is created: > > DynAPI.document=new DynDocument(self); > > As far as I can tell this is the only place in the code base or examples where > a DynDocument is created. In the file dyndocument.js the DynDocument object has > the attributes: > > DynDocument.dyndocs = []; > DynDocument.dyndocsID = []; > > which seems to imply that there can be more than one DynDocument. Is there any > example of such an occurance? > > Thanks. > > Richard Emberson > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev -- Michael Pemberton mp...@ph... ICQ: 12107010 |
From: Richard E. <emb...@co...> - 2001-02-16 15:36:54
|
Michael Pemberton wrote: > Frames. Any examples? > > > Richard Emberson wrote: > > > In the file dynapi.js a DynDocument is created: > > > > DynAPI.document=new DynDocument(self); > > > > As far as I can tell this is the only place in the code base or examples where > > a DynDocument is created. In the file dyndocument.js the DynDocument object has > > the attributes: > > > > DynDocument.dyndocs = []; > > DynDocument.dyndocsID = []; > > > > which seems to imply that there can be more than one DynDocument. Is there any > > example of such an occurance? > > > > Thanks. > > > > Richard Emberson > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > -- > Michael Pemberton > mp...@ph... > ICQ: 12107010 > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev |
From: Michael P. <mp...@ph...> - 2001-02-16 15:45:49
|
I found the attched code as part of an old dynacore release (2000.11.12). It may need a bit or tweaking to make it work with the latest dynapi release. (just check the method names etc.) If you have any problems, I can look into it further for you. Richard Emberson wrote: > Michael Pemberton wrote: > > > Frames. > > Any examples? > > > > > > > Richard Emberson wrote: > > > > > In the file dynapi.js a DynDocument is created: > > > > > > DynAPI.document=new DynDocument(self); > > > > > > As far as I can tell this is the only place in the code base or examples where > > > a DynDocument is created. In the file dyndocument.js the DynDocument object has > > > the attributes: > > > > > > DynDocument.dyndocs = []; > > > DynDocument.dyndocsID = []; > > > > > > which seems to imply that there can be more than one DynDocument. Is there any > > > example of such an occurance? > > > > > > Thanks. > > > > > > Richard Emberson > > > > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > > > -- > > Michael Pemberton > > mp...@ph... > > ICQ: 12107010 > > > > _______________________________________________ > > 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 -- Michael Pemberton mp...@ph... ICQ: 12107010 |
From: Michael P. <mp...@ph...> - 2001-02-17 14:12:37
Attachments:
dynacore.api.frames.zip
|
I found the attched code as part of an old dynacore release (2000.11.12). It may need a bit or tweaking to make it work with the latest dynapi release. (just check the method names etc.) If you have any problems, I can look into it further for you. Richard Emberson wrote: > Michael Pemberton wrote: > > > Frames. > > Any examples? > > > > > > > Richard Emberson wrote: > > > > > In the file dynapi.js a DynDocument is created: > > > > > > DynAPI.document=new DynDocument(self); > > > > > > As far as I can tell this is the only place in the code base or examples where > > > a DynDocument is created. In the file dyndocument.js the DynDocument object has > > > the attributes: > > > > > > DynDocument.dyndocs = []; > > > DynDocument.dyndocsID = []; > > > > > > which seems to imply that there can be more than one DynDocument. Is there any > > > example of such an occurance? > > > > > > Thanks. > > > > > > Richard Emberson > > > > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > > > -- > > Michael Pemberton > > mp...@ph... > > ICQ: 12107010 > > > > _______________________________________________ > > 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 -- Michael Pemberton mp...@ph... ICQ: 12107010 |
From: Richard B. <ma...@ri...> - 2001-02-18 02:01:35
|
You can see this example live here: Pascal_Bestebroer_Dynacore_Examples http://www.richardinfo.com/?menu=examples&node=1 ----- Original Message ----- From: "Michael Pemberton" <mp...@ph...> To: <dyn...@li...> Sent: Saturday, February 17, 2001 2:59 PM Subject: Re: [Dynapi-Dev] new DynDocument (again) > I found the attched code as part of an old dynacore release > (2000.11.12). It may need > a bit or tweaking to make it work with the latest dynapi release. (just > check the > method names etc.) > > If you have any problems, I can look into it further for you. > > Richard Emberson wrote: > > > Michael Pemberton wrote: > > > > > Frames. > > > > Any examples? > > > > > > > > > > > Richard Emberson wrote: > > > > > > > In the file dynapi.js a DynDocument is created: > > > > > > > > DynAPI.document=new DynDocument(self); > > > > > > > > As far as I can tell this is the only place in the code base or examples where > > > > a DynDocument is created. In the file dyndocument.js the DynDocument object has > > > > the attributes: > > > > > > > > DynDocument.dyndocs = []; > > > > DynDocument.dyndocsID = []; > > > > > > > > which seems to imply that there can be more than one DynDocument. Is there any > > > > example of such an occurance? > > > > > > > > Thanks. > > > > > > > > Richard Emberson > > > > > > > > _______________________________________________ > > > > Dynapi-Dev mailing list > > > > Dyn...@li... > > > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > > > > > -- > > > Michael Pemberton > > > mp...@ph... > > > ICQ: 12107010 > > > > > > _______________________________________________ > > > 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 > > -- > Michael Pemberton > mp...@ph... > ICQ: 12107010 |
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 > |
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 |