You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(83) |
Nov
(319) |
Dec
(441) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(617) |
Feb
(784) |
Mar
(426) |
Apr
(363) |
May
(489) |
Jun
(396) |
Jul
(405) |
Aug
(146) |
Sep
(97) |
Oct
(146) |
Nov
(348) |
Dec
(99) |
2002 |
Jan
(69) |
Feb
(92) |
Mar
(58) |
Apr
(33) |
May
(29) |
Jun
(45) |
Jul
(72) |
Aug
(71) |
Sep
(47) |
Oct
(19) |
Nov
(48) |
Dec
(55) |
2003 |
Jan
(23) |
Feb
(73) |
Mar
(42) |
Apr
(52) |
May
(64) |
Jun
(155) |
Jul
(169) |
Aug
(103) |
Sep
(113) |
Oct
(118) |
Nov
(46) |
Dec
(30) |
2004 |
Jan
(19) |
Feb
(24) |
Mar
(40) |
Apr
(13) |
May
(35) |
Jun
(1) |
Jul
(23) |
Aug
(3) |
Sep
(31) |
Oct
(31) |
Nov
(26) |
Dec
|
2005 |
Jan
(5) |
Feb
(4) |
Mar
(3) |
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
(23) |
Sep
(9) |
Oct
(5) |
Nov
(2) |
Dec
(1) |
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Pascal B. <pb...@oi...> - 2000-11-22 11:42:15
|
the e.srcElement will point to the layer or an image, as far as I know other html elements don't trigger onmousexx events. The problem with images is being solved in the creation of the layers by adding the lyrobj property to every image in a layer (done with normal dynlayers and inline layers) I just tested (on an older version of the API) with putting text in a layer (dynlayer and inline) and the events mouseout and mouseover triggered correctly without errors. Question for Eric, what was the error you got? (not the location, but the message) Pascal Bestebroer pb...@oi... http://www.oibv.com -----Oorspronkelijk bericht----- Van: dyn...@li... [mailto:dyn...@li...]Namens Guangyi Wu Verzonden: woensdag 22 november 2000 10:54 Aan: 'dyn...@li...' Onderwerp: RE: [Dynapi-Help] Event Problems - dyndoc.id I am afraid the new version has the same problem. Consider the following code in the DynLayer.EventMethod ===== var realsrc=is.ie ? e.srcElement:e.target var which=(is.ie||is.ns5)?e.button:e.which var src=realsrc.lyrobj||dyndoc if (!src) return true ===== if there is html code in the most underlying layer, the e.srcElement points to an element in that layer. Hence, realsrc.lyrobj is undefined and src is assigned to dyndoc, and the original layer and the layer between it and dyndoc cannot get the event. I change the line var src=realsrc.lyrobj||dyndoc to var src=realsrc.lyrobj||this.lyrobj and it works for me in an example file (the label from Dan) to catch the event. But I am not sure if this modification is correct. Another often mentioned workaround is to add a cover layer to catch the events. I come into this problem when I test the Dan's new label, which removes the cover layer. br George > -----Original Message----- > From: Pascal Bestebroer [mailto:pb...@oi...] > Sent: Wednesday, November 22, 2000 9:36 AM > To: dyn...@li... > Subject: RE: [Dynapi-Help] Event Problems - dyndoc.id > > > EventMethod is called on any mouse event on the corresponding layer or > document. > Try upgrading to the latest version, it might fix some > problems with this.. > > I think the problem might be in your code somewhere.. events > should work > normally on inline layers. > > Pascal Bestebroer > pb...@oi... > http://www.oibv.com > > > -----Oorspronkelijk bericht----- > Van: dyn...@li... > [mailto:dyn...@li...]Namens Eric Gravel > Verzonden: woensdag 22 november 2000 8:36 > Aan: dyn...@li... > Onderwerp: [Dynapi-Help] Event Problems - dyndoc.id > > > I'm getting errors in IE 5.0 The first occurence is when I move my > mouse over an inline layer. The second instance is when I click an > image map that is inside a 2 level deep child layer (child layer of > a parent child layer). > > When debugging the code using MS Development Environment, it points > the error as belonging to file core.api.events.js: > > src=DynAPI.getDocument(realsrc.dyndoc.id) > > The line belongs to the following code block: > > var realsrc=is.ie ? e.srcElement:e.target > var which=(is.ie||is.ns5)?e.button:e.which > var src=realsrc.lyrobj > if (!src) { > src=DynAPI.getDocument(realsrc.dyndoc.id) > if (!src) return true > } > > So e.srcElement.lyrobj does not exists. Why? The other question > I have is when does this function, DynLayer.prototype.EventMethod, > gets called? > > If needed, I can provide the whole code. > > > Eric > ______________________________________________________________ > ______________ > _________ > Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com _______________________________________________ Dynapi-Help mailing list Dyn...@li... http://lists.sourceforge.net/mailman/listinfo/dynapi-help _______________________________________________ Dynapi-Help mailing list Dyn...@li... http://lists.sourceforge.net/mailman/listinfo/dynapi-help _______________________________________________ Dynapi-Help mailing list Dyn...@li... http://lists.sourceforge.net/mailman/listinfo/dynapi-help |
From: Guangyi Wu <gua...@al...> - 2000-11-22 09:06:41
|
I am afraid the new version has the same problem. Consider the following code in the DynLayer.EventMethod ===== var realsrc=is.ie ? e.srcElement:e.target var which=(is.ie||is.ns5)?e.button:e.which var src=realsrc.lyrobj||dyndoc if (!src) return true ===== if there is html code in the most underlying layer, the e.srcElement points to an element in that layer. Hence, realsrc.lyrobj is undefined and src is assigned to dyndoc, and the original layer and the layer between it and dyndoc cannot get the event. I change the line var src=realsrc.lyrobj||dyndoc to var src=realsrc.lyrobj||this.lyrobj and it works for me in an example file (the label from Dan) to catch the event. But I am not sure if this modification is correct. Another often mentioned workaround is to add a cover layer to catch the events. I come into this problem when I test the Dan's new label, which removes the cover layer. br George > -----Original Message----- > From: Pascal Bestebroer [mailto:pb...@oi...] > Sent: Wednesday, November 22, 2000 9:36 AM > To: dyn...@li... > Subject: RE: [Dynapi-Help] Event Problems - dyndoc.id > > > EventMethod is called on any mouse event on the corresponding layer or > document. > Try upgrading to the latest version, it might fix some > problems with this.. > > I think the problem might be in your code somewhere.. events > should work > normally on inline layers. > > Pascal Bestebroer > pb...@oi... > http://www.oibv.com > > > -----Oorspronkelijk bericht----- > Van: dyn...@li... > [mailto:dyn...@li...]Namens Eric Gravel > Verzonden: woensdag 22 november 2000 8:36 > Aan: dyn...@li... > Onderwerp: [Dynapi-Help] Event Problems - dyndoc.id > > > I'm getting errors in IE 5.0 The first occurence is when I move my > mouse over an inline layer. The second instance is when I click an > image map that is inside a 2 level deep child layer (child layer of > a parent child layer). > > When debugging the code using MS Development Environment, it points > the error as belonging to file core.api.events.js: > > src=DynAPI.getDocument(realsrc.dyndoc.id) > > The line belongs to the following code block: > > var realsrc=is.ie ? e.srcElement:e.target > var which=(is.ie||is.ns5)?e.button:e.which > var src=realsrc.lyrobj > if (!src) { > src=DynAPI.getDocument(realsrc.dyndoc.id) > if (!src) return true > } > > So e.srcElement.lyrobj does not exists. Why? The other question > I have is when does this function, DynLayer.prototype.EventMethod, > gets called? > > If needed, I can provide the whole code. > > > Eric > ______________________________________________________________ > ______________ > _________ > Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com _______________________________________________ Dynapi-Help mailing list Dyn...@li... http://lists.sourceforge.net/mailman/listinfo/dynapi-help _______________________________________________ Dynapi-Help mailing list Dyn...@li... http://lists.sourceforge.net/mailman/listinfo/dynapi-help |
From: Pascal B. <pb...@oi...> - 2000-11-22 08:35:52
|
EventMethod is called on any mouse event on the corresponding layer or document. Try upgrading to the latest version, it might fix some problems with this.. I think the problem might be in your code somewhere.. events should work normally on inline layers. Pascal Bestebroer pb...@oi... http://www.oibv.com -----Oorspronkelijk bericht----- Van: dyn...@li... [mailto:dyn...@li...]Namens Eric Gravel Verzonden: woensdag 22 november 2000 8:36 Aan: dyn...@li... Onderwerp: [Dynapi-Help] Event Problems - dyndoc.id I'm getting errors in IE 5.0 The first occurence is when I move my mouse over an inline layer. The second instance is when I click an image map that is inside a 2 level deep child layer (child layer of a parent child layer). When debugging the code using MS Development Environment, it points the error as belonging to file core.api.events.js: src=DynAPI.getDocument(realsrc.dyndoc.id) The line belongs to the following code block: var realsrc=is.ie ? e.srcElement:e.target var which=(is.ie||is.ns5)?e.button:e.which var src=realsrc.lyrobj if (!src) { src=DynAPI.getDocument(realsrc.dyndoc.id) if (!src) return true } So e.srcElement.lyrobj does not exists. Why? The other question I have is when does this function, DynLayer.prototype.EventMethod, gets called? If needed, I can provide the whole code. Eric ____________________________________________________________________________ _________ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com _______________________________________________ Dynapi-Help mailing list Dyn...@li... http://lists.sourceforge.net/mailman/listinfo/dynapi-help |
From: Pascal B. <pb...@oi...> - 2000-11-22 07:39:57
|
I've got inline layers working in NS6 correctly I will post a fix for this tonight ( if I don't forget :).. Pascal Bestebroer pb...@oi... http://www.oibv.com -----Oorspronkelijk bericht----- Van: dyn...@li... [mailto:dyn...@li...]Namens David C. Bros Verzonden: woensdag 22 november 2000 8:36 Aan: dyn...@li... Onderwerp: [Dynapi-Help] Inline Layers in Netscape 6 Hi! Is there any method to use inline Layers in Netscape 6? I tried using <DynAPI.document.all["myLayer"]> and this only rules in IE5 and NS4. Thanks! |
From: Dan S. <dy...@fu...> - 2000-11-22 02:18:14
|
Just as a note, I've ported my old GifAnim code to dynapi2 along with building a new/updated animation system. Not quite done yet though, I want to get path animation built into my Sprite widget and make slide animations generate paths. Dan On Tue, Nov 21, 2000 at 11:41:01PM +0100, Joaquin S. wrote: > Hello. I have found a pair of problems on using animated-gif with javascript. > > The first and most important is this: when a script execute, the animation stops. why is this? how can i re-animate them? > > Try it. put a simple animated-gif, and a hyperlink to a script that simply display an alert-box. The gif stop and it remain stopped all the time. > > Y have found a partial-solution to this problem. I reload the image after the sript, but this dont work if the image was preloaded. why? > > This is the other problem... the preload process. I make a "image.onload = function()" in the preload process. This is usefull to make a "load progress bar". But if it is a animated gif, the onload event dont stop. the function is called each time the gif moves. this problem make me mad to discover! > > I have found a solution to this. in the function called, simply put a "image.onload = null", and it will run properly. Example: > > image = new image() > image.onload = myfunction() > image.src = myanimated.gif > > > function myfunction(){ > ... > ... > ... > image.onload = null > } > > I hope this can be usefull for somebody with the same problem. > > Thanks. > Gracias. > > J.S.S. > > |
From: Scott A. L. <sc...@sc...> - 2000-11-22 01:43:17
|
Hi Joaquin, When you use "javascript:" in a hyperlink, animated GIFs will freeze when you click the link. The only workaround I know is to use onclick instead: Bad: <a href="javascript:myFunction();" ...></a> Good: <a href="#" onClick="myFunction(); return false;" ...></a> -- scott andrew lepera ----------------------------------- web stuff: www.scottandrew.com music stuff: www.walkingbirds.com |
From: Kit D. <kd...@cl...> - 2000-11-22 00:57:45
|
Hails, Has anyone had any trouble with having DynAPI in a frame, viewing it with Netscape 4.75 or .76 and it acting like DynAPI.onLoad wasn't even executed? I figure that really it is being run because when I added a document.write() to the function it did display that (and only that and not the rest of the page; well it was in the header.) However, a bunch of the variables which I set within that function that were global to the page were suddenly not available (or changed as the matter was) for anchor (<A>) tag onMouseOver="" calls -- by that I mean that the function called through the onMouseOver couldn't see the changes that should have happened to the global variables in the DynAPI.onLoad= function. This may be more of a Javascript question, but I'm still wondering if anyone has any insight on this. ( In fact I'm about to verify this by attempting to have these changes occur when the page itself is executed by pulling the code out of the onLoad and putting it flush through the bottom level execution. ) This problem does not happen in IE 4.x. Kyt. |
From: Jon <jo...@jo...> - 2000-11-21 23:28:42
|
I have a page that contains 5 inline DIVs. I've accessed each DIV using DynAPI.document.all["<NameOfDiv>"]. For example: generaldiv =3D DynAPI.document.all["generalDiv"]; When I resize the browser in Netscape 4.75, all of my dynamically = created layers are recreated, but the inline layers get hosed. I've tried using = the following code to remove them from the DynAPI.document and then re-add = them, but it doesn't work. Anyone have a similar problem that they were able = to solve? Jon ---Begin Code--- // Recreate embedded DIVs function recreate_divs() { generaldiv.removeFromParent(); generaldiv =3D DynAPI.document.all["generalDiv"]; generaldiv.setVisible( true ); generaldiv.setWidth( 300 ); eraldiv.moveTo(=20 leftpad+rulervert.getWidth()+rulerhor.getWidth(), toppad+rulerhor.getHeight()+myToolbar.getHeight()+5=20 ); this.document.addChild(generaldiv); } ---End Code--- |
From: Joaquin S. <ca...@el...> - 2000-11-21 22:40:34
|
Hello. I have found a pair of problems on using animated-gif with = javascript. The first and most important is this: when a script execute, the = animation stops. why is this? how can i re-animate them? Try it. put a simple animated-gif, and a hyperlink to a script that = simply display an alert-box. The gif stop and it remain stopped all the = time. Y have found a partial-solution to this problem. I reload the image = after the sript, but this dont work if the image was preloaded. why? This is the other problem... the preload process. I make a "image.onload = =3D function()" in the preload process. This is usefull to make a "load = progress bar". But if it is a animated gif, the onload event dont stop. = the function is called each time the gif moves. this problem make me mad = to discover! I have found a solution to this. in the function called, simply put a = "image.onload =3D null", and it will run properly. Example: image =3D new image() image.onload =3D myfunction() image.src =3D myanimated.gif function myfunction(){ ... ... ... image.onload =3D null } I hope this can be usefull for somebody with the same problem. Thanks. Gracias. J.S.S. |
From: Bill W. <bi...@my...> - 2000-11-21 22:10:30
|
Can someone please help me? I am trying to set up some draggable layers using the syntax below. The dragging itself works fine, but when I release the mouse button the mouse won't let go of the dragged layer. Does anyone have any suggestions or comments on this behavior? Thanks in advance. DragEvent.enableDragEvents(me.thumb) DragEvent.setDragBoundary(me.thumb) billw |
From: Eric G. <egr...@ho...> - 2000-11-21 21:59:36
|
I'm getting errors in IE 5.0 The first occurence is when I move my mouse over an inline layer. The second instance is when I click an image map that is inside a 2 level deep child layer (child layer of a parent child layer). When debugging the code using MS Development Environment, it points the error as belonging to file core.api.events.js: src=DynAPI.getDocument(realsrc.dyndoc.id) The line belongs to the following code block: var realsrc=is.ie ? e.srcElement:e.target var which=(is.ie||is.ns5)?e.button:e.which var src=realsrc.lyrobj if (!src) { src=DynAPI.getDocument(realsrc.dyndoc.id) if (!src) return true } So e.srcElement.lyrobj does not exists. Why? The other question I have is when does this function, DynLayer.prototype.EventMethod, gets called? If needed, I can provide the whole code. Eric _____________________________________________________________________________________ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com |
From: David C. B. <da...@em...> - 2000-11-21 20:45:10
|
Hi! Is there any method to use inline Layers in Netscape 6? I tried using <DynAPI.document.all["myLayer"]> and this only rules in = IE5 and NS4. Thanks! |
From: Peter C. <pc...@ca...> - 2000-11-21 19:30:07
|
At 10:17 AM 21/11/00 -0800, "SReindl" <SR...@la...> wrote: >From: "SReindl" <SR...@la...> >To: <dyn...@li...> >Subject: AW: [Dynapi-Help] Re: Problems with DynAPI2 and Dynacore > >It seems that u have to include at least the api package to initialize the >DynDocument. <snip> and "Pascal Bestebroer" <pa...@dy...> wrote: >From: "Pascal Bestebroer" <pa...@dy...> >Subject: RE: [Dynapi-Help] Re: Problems with DynAPI2 and Dynacore > >are you sure you'r using the latest dynapi.js file? > >also make sure to add these lines: > >DynAPI.include('dynacore.api.dynlayer.js') >DynAPI.include('dynacore.api.browser.js') >DynAPI.include('dynacore.api.dyndocument.js') > >which should make sure the DynAPI.document is always available. Stephan and Pascal - thanks again for your response. My last message was silly. I tried to strip the problem down to the smallest possible file, and in the process almost certainly converted it into a different problem with the same symptoms. I'm now going back to a simple version of the original problem. As before, this code work properly in IE5.5, but fails in NS4.73. I am using the 2000.11.07 version of dynapi.js. I assuming in the above includes "dynacore" should not be there - I use "DynAPI.include('dynapi.api.*') " (I tried naming each file explicitly - no difference.) Here is the new code: Demo.htm: ========= [[html]] [[head]] [[title]]Framesets[[/title]] [[/head]] [[frameset rows="100,*" cols="*"]] [[frame src="menubar.htm" name="menu"]] [[frame src="coolpage.htm" name="page"]] [[/frameset]] [[/html]] Coolpage.htm: ============ [[html]] [[head]] [[title]]Cool page[[/title]] [[/head]] [[body]]Cool page[[/body]] [[/html]] Menubar.htm: =========== [[html]] [[head]] [[title]]Demo[[/title]] [[script src="file:///C:/Tools/DynApi2/dynapi/js/dynapi.js"]][[/script]] [[script]] DynAPI.setLibraryPath("C:/Tools/DynApi2/dynapi/js/lib/") DynAPI.include('dynapi.api.*') DynAPI.onLoad=function() { coolpage = new DynDocument(parent.page) } [[/script]] [[/head]] [[body]]Demo[[/body]] [[/html]] In this code, when Demo.htm is loaded into IE, everything works - in NS, an error shows up in the javascript: window. Actually, the same problem occurs even if the onLoad function is completely commented out - the problem appears to be solely in the loading of the dynapi.js stuff into NS. However, I have no idea where things are going wrong at this point. -- Peter Curran Software Developer Casebank Technologies Inc. |
From: Pascal B. <pa...@dy...> - 2000-11-21 18:11:44
|
are you sure you'r using the latest dynapi.js file? also make sure to add these lines: DynAPI.include('dynacore.api.dynlayer.js') DynAPI.include('dynacore.api.browser.js') DynAPI.include('dynacore.api.dyndocument.js') which should make sure the DynAPI.document is always available. Pascal Bestebroer pa...@dy... http://www.dynamic-core.net > -----Oorspronkelijk bericht----- > Van: dyn...@li... > [mailto:dyn...@li...]Namens Peter Curran > Verzonden: dinsdag 21 november 2000 15:44 > Aan: dyn...@li... > Onderwerp: [Dynapi-Help] Re: Problems with DynAPI2 and Dynacore > > > At 12:32 PM 18/11/00 -0800, you wrote: > > >From: "SReindl" <SR...@la...> > >To: <dyn...@li...> > >Subject: AW: [Dynapi-Help] Problems with DynAPI2 and Dynacore > >Date: Sat, 18 Nov 2000 10:20:41 +0100 > > > >Peter, > >you probably solved the problem in the meantime. > >Mostly, the error you mentioned (DynDocument not defined) refers to some > >unclosed braces somwewhere in the code. It is a little bit tricky to find > >the position, since there is almost no relation between the line > (52) of the > >error and the actual position. > >Unclosed braces can be missing ", ', ), ], or } ... > > > >Stephan > > > Stephan - thanks very much for your response. Unfortunately, it hasn't > helped. I have managed to reduce the problem to a much smaller > file - just > one this time. And, in the process, caused it to also appear in IE5.5, as > well as NS4.73 as before. > > Here is my new source file: > > [[html]] > [[head]] > [[title]]Demo[[/title]] > [[script > src="file:///C:/Tools/DynApi2/dynapi/js/dynapi.js"]][[/script]] > [[/head]] > [[body]]Demo[[/body]] > [[/html]] > > (As before, I replaced angle brackets with [[ and ]], to avoid e-mail > problems). > > I have run this through "tidy" (the W3 Consortium's HTML > validator) and it > reports only one warning, that the language type is not specified on the > SCRIPT tag (a deliberate omission, in this case). It also adds a > DTD line, > but that is not a problem here. > > Both IE and NS report the same error - DynDocument not defined on line 52 > of dynapi.js. > > In the original file, which has this code plus a whole lot more, only NS > has a problem - IE handles it correctly. I can't see any > mismatched braces, > or anything else that could be wrong in this code. If there are any, they > would have to be in dynapi.js - in which case, presumably > everyone would be > having problems. > > Peter Curran Software Developer Casebank Technologies Inc. > > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-help > |
From: Pascal B. <pa...@dy...> - 2000-11-21 18:06:45
|
you can invoke events using this code: layer.invokeevent('whatever') which will spawn an: eventlistener.onwhatever event. So if you can execute javascript from within Flash this is probably the way to invoke events. Pascal Bestebroer pa...@dy... http://www.dynamic-core.net > -----Oorspronkelijk bericht----- > Van: dyn...@li... > [mailto:dyn...@li...]Namens Liam Clancy > Verzonden: dinsdag 21 november 2000 13:08 > Aan: dynapi help lists.sourceforge.net > Onderwerp: Re: [Dynapi-Help] How can I capture de mouse coordinates? > > > Is there anyway that this method can be used to capture mouse > events/invoke > event listeners from a flash movie? > > I can get Flash to excecute DynAPI methods using the getURL("javascript:") > protocol so long as they do not need to reference the mouse co-ordinates : > > Eg opening and closing layers, but not dragging / sliding. > > Has anyone been able to achieve this? > > Liam > > > -- > "Everything in moderation ... including moderation" > > Please note my NEW address: met...@ma... > > pgp on request > > > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-help > |
From: SReindl <SR...@la...> - 2000-11-21 17:50:23
|
It seems that u have to include at least the api package to initialize the DynDocument. When I insert the lines <script> DynAPI.setLibraryPath('js/lib/') DynAPI.include('dynapi.api.*') </script> the error disappears ( my path is shorter, I use local, relative path and did not check any further). So, maybe you have to look for TWO errors. One from the missing init of the api package an another one from within your code ... Stephan Stephan - thanks very much for your response. Unfortunately, it hasn't helped. I have managed to reduce the problem to a much smaller file - just one this time. And, in the process, caused it to also appear in IE5.5, as well as NS4.73 as before. Here is my new source file: [[html]] [[head]] [[title]]Demo[[/title]] [[script src="file:///C:/Tools/DynApi2/dynapi/js/dynapi.js"]][[/script]] [[/head]] [[body]]Demo[[/body]] [[/html]] (As before, I replaced angle brackets with [[ and ]], to avoid e-mail problems). I have run this through "tidy" (the W3 Consortium's HTML validator) and it reports only one warning, that the language type is not specified on the SCRIPT tag (a deliberate omission, in this case). It also adds a DTD line, but that is not a problem here. Both IE and NS report the same error - DynDocument not defined on line 52 of dynapi.js. In the original file, which has this code plus a whole lot more, only NS has a problem - IE handles it correctly. I can't see any mismatched braces, or anything else that could be wrong in this code. If there are any, they would have to be in dynapi.js - in which case, presumably everyone would be having problems. Peter Curran Software Developer Casebank Technologies Inc. _______________________________________________ Dynapi-Help mailing list Dyn...@li... http://lists.sourceforge.net/mailman/listinfo/dynapi-help |
From: Peter C. <pc...@ca...> - 2000-11-21 14:45:32
|
At 12:32 PM 18/11/00 -0800, you wrote: >From: "SReindl" <SR...@la...> >To: <dyn...@li...> >Subject: AW: [Dynapi-Help] Problems with DynAPI2 and Dynacore >Date: Sat, 18 Nov 2000 10:20:41 +0100 > >Peter, >you probably solved the problem in the meantime. >Mostly, the error you mentioned (DynDocument not defined) refers to some >unclosed braces somwewhere in the code. It is a little bit tricky to find >the position, since there is almost no relation between the line (52) of the >error and the actual position. >Unclosed braces can be missing ", ', ), ], or } ... > >Stephan Stephan - thanks very much for your response. Unfortunately, it hasn't helped. I have managed to reduce the problem to a much smaller file - just one this time. And, in the process, caused it to also appear in IE5.5, as well as NS4.73 as before. Here is my new source file: [[html]] [[head]] [[title]]Demo[[/title]] [[script src="file:///C:/Tools/DynApi2/dynapi/js/dynapi.js"]][[/script]] [[/head]] [[body]]Demo[[/body]] [[/html]] (As before, I replaced angle brackets with [[ and ]], to avoid e-mail problems). I have run this through "tidy" (the W3 Consortium's HTML validator) and it reports only one warning, that the language type is not specified on the SCRIPT tag (a deliberate omission, in this case). It also adds a DTD line, but that is not a problem here. Both IE and NS report the same error - DynDocument not defined on line 52 of dynapi.js. In the original file, which has this code plus a whole lot more, only NS has a problem - IE handles it correctly. I can't see any mismatched braces, or anything else that could be wrong in this code. If there are any, they would have to be in dynapi.js - in which case, presumably everyone would be having problems. Peter Curran Software Developer Casebank Technologies Inc. |
From: Peter C. <pc...@ca...> - 2000-11-21 14:45:05
|
At 12:45 PM 17/11/00 -0800, you wrote: >From: "Pascal Bestebroer" <pa...@dy...> >Subject: RE: [Dynapi-Help] Problems with DynAPI2 and Dynacore >Date: Fri, 17 Nov 2000 19:41:51 +0100 >Message-ID: <NEB...@dy...> > >Haven't looked at your code yet, but just a fast note that I recently (last >weekend) uploaded a new set of widgets to work with the latest DynAPI >(atleast tested with Dynacore) so if you have older widgets you'll probably >need to update. > >sorry, but that's all for now (haven't got much time :) > >Pascal Bestebroer >pa...@dy... >http://www.dynamic-core.net Thanks a lot for your help. I have just figured out the label widget problem - I wasn't setting the size of the label. I had assumed that since the label widget does not have w/h parameters, and the button widget does, the label widget didn't need the size to be set (presumably figuring out suitable values from the size of the caption). With that added, it seems to work as expected. The other problem (Javascript error from Netscape) does not appear to be releated to the Dynacore widgets. (The error occurs during the evaluation of the first line of the DynAPI.onLoad function, coolpage = new DynDocument(parent.page) I still haven't figured out what is going wrong here.) -- Peter Curran Software Developer Casebank Technologies Inc. |
From: Pascal B. <pb...@oi...> - 2000-11-21 14:08:57
|
that's the trick we used so far, the cover layer catches the events (you could also call it an event layer) Pascal Bestebroer pb...@oi... http://www.oibv.com -----Oorspronkelijk bericht----- Van: dyn...@li... [mailto:dyn...@li...]Namens SReindl Verzonden: dinsdag 21 november 2000 15:03 Aan: dyn...@li... Onderwerp: AW: [Dynapi-Help] Images in a draggable layer = no drag? Just a question: the IBS Button contains a second layer "cover". could this solve the problem, make a sandwich div .. img .. div ? Stephan _______________________________________________ Dynapi-Help mailing list Dyn...@li... http://lists.sourceforge.net/mailman/listinfo/dynapi-help |
From: SReindl <SR...@la...> - 2000-11-21 13:00:45
|
Just a question: the IBS Button contains a second layer "cover". could this solve the problem, make a sandwich div .. img .. div ? Stephan |
From: Liam C. <met...@ma...> - 2000-11-21 12:12:17
|
Is there anyway that this method can be used to capture mouse events/invoke event listeners from a flash movie? I can get Flash to excecute DynAPI methods using the getURL("javascript:") protocol so long as they do not need to reference the mouse co-ordinates : Eg opening and closing layers, but not dragging / sliding. Has anyone been able to achieve this? Liam -- "Everything in moderation ... including moderation" Please note my NEW address: met...@ma... pgp on request |
From: Pascal B. <pb...@oi...> - 2000-11-21 11:39:43
|
you can also add an eventlistener to the dyndocument: myListener=new EventListener(DynAPi.document) myListener.onmousemove=function(e) { var o=e.getTarget() // your code here } DynAPI.document.addEventListener(myListener) Note that once you move the mouse over a dynlayer on the document it will not trigger on the document. Pascal Bestebroer pb...@oi... http://www.oibv.com -----Oorspronkelijk bericht----- Van: dyn...@li... [mailto:dyn...@li...]Namens David C. Bros Verzonden: dinsdag 21 november 2000 12:34 Aan: dyn...@li... Onderwerp: [Dynapi-Help] How can I capture de mouse coordinates? Hi all! I recently begin to use the DynAPI2. I want to make an image that follows the mouse cursor. But I don't know how to capture the mouse coordinates. I tried but I only can add an eventlisenter to a DynLayer, and I want an mouseover event triggered anywhere on the document. Thanks! |
From: David C. B. <da...@em...> - 2000-11-21 11:05:02
|
Hi all! I recently begin to use the DynAPI2. I want to make an image that follows the mouse cursor. But I don't know = how to capture the mouse coordinates. I tried but I only can add an eventlisenter to a DynLayer, and I want an = mouseover event triggered anywhere on the document. Thanks! |
From: Vuksic V. <Vu...@si...> - 2000-11-21 10:30:27
|
hello kit, i've been facing the same problem and the only quick solution i found, is to set some space around the text by dynlayer.setPadding(1) and using the mouseover-event. 1 pixel is aleady enough. hope it helps valentina -----Original Message----- From: Kit Dotson [mailto:kd...@cl...] Sent: Saturday, November 18, 2000 8:04 AM To: 'dyn...@li...' Subject: [Dynapi-Help] Events and setHTML. Hails! I've got an interesting problem/question. I'm using setHTML on a DynLayer and then adding an EventListener to it. I discovered that on the sections that were affected by the setHTML (i.e. the parts where the HTML shows up) do not respond to the listener. I have an onmouseover and an onmouseout. They aren't triggered while they are in the colored section of the layer however when I wander out of them and into the rest of the layer -- that is when they get executed. The way that I tested this was I had the layer double-sized (lengthwise) the mouseover dosn't happen when I enter it from the top or bottom (because that entire side is covered by the setHTML'd parts) but the sides, which are BRIGHT YELLOW (so that I know where the layer is at) do trigger the Event when I move the mouse into them. Anything that I'm doing wrong with this? What I really wanted to do was have the layer vanish when the mouse exited the DynLayer. I only added the onmouseover to see if the Events were being triggered at all. Much appreciated, Kyt. |
From: Pascal B. <pb...@oi...> - 2000-11-21 09:20:02
|
hehe, you just tested in the one browser AND platform that is almost not being tested on :-) Pascal Bestebroer pb...@oi... http://www.oibv.com -----Oorspronkelijk bericht----- Van: dyn...@li... [mailto:dyn...@li...]Namens Roger Johansson Verzonden: dinsdag 21 november 2000 10:18 Aan: dyn...@li... Onderwerp: Re: [Dynapi-Help] Images in a draggable layer = no drag? on 00-11-20 18.55, Pascal Bestebroer at pa...@dy... wrote: > Hmm, just checked the dragging, and it seems to work fine. > > what browser are you using? and which platform? (windows, mac,linux) > I tried it in Netscape 6 on a Mac. I'll check more browsers/platforms. /R -- Roger Johansson Framfab, Lilla Torget 6, SE-403 17 Gothenburg, Sweden Phone +46 31 13 34 44 http://www.framfab.com/ -- _______________________________________________ Dynapi-Help mailing list Dyn...@li... http://lists.sourceforge.net/mailman/listinfo/dynapi-help |