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: Ed M. <Ed...@to...> - 2000-11-15 16:12:24
|
It looks like I'm going to have to create my layers as inline layers and then try to use DynAPI object wrappers around them. That's not too bad, but I'm most interested in using DynAPI for event handling, and I'm having trouble creating an appropriate object reference to an inline layer. The tutorial (section 5)describes the following usage for using DynAPI methods on inline layers (I'm getting the X coordinate of an inline layer named "mapLayer"): DynAPI.document.all['mapLayer'].getX () and this works fine. However, I can't figure out how to create an object reference to this layer so I can pass it as a parameter when needed - specifically, I need to create an event listener and mapListener = new EventListener (DynAPI.document.all['mapLayer']); doesn't work. Neither does: mapLayer = DynAPI.document.all['mapLayer']; and I can't figure out why. I'm digging through the source, but sage pointers in the right direction would be very much appreciated. I'm in the general position of having to create just about all of my layers as inline layers, but I'd then like to create DynAPI objects that wrap them so I can treat them just as if I had created them as DynLayer objects. Thanks again! - Ed Ed McNierney Executive Vice President and Chief Mapmaker TopoZone.com / Maps a la carte, Inc. 73 Princeton Street, Suite 305 North Chelmsford, MA 01863 (978) 251-4242 ed...@to... www.topozone.com -----Original Message----- From: Sam Douglass [mailto:sa...@eb...] Sent: Tuesday, November 14, 2000 6:59 PM To: dyn...@li... Subject: [Dynapi-Help] Another newbie ? re: setURL() in IE Hi, sorry to post a newbie question here, but I'm trying to load an external HTML file into a dynlayer and am having a problem that I don't think I saw addressed in the list archives available over the Web. I have one simple layer into which I want to load a simple external file: <SCRIPT LANGUAGE="JavaScript"><!-- DynAPI.setLibraryPath('Core/lib2.0/') DynAPI.include('core.api.*') DynAPI.include('core.ext.loadhtml.js') DynAPI.onLoad=function() { testlayer = new DynLayer(null,100,100,143,16,"#ffffff") testlayer.setURL("ext.html") DynAPI.document.addChild(testlayer) } //--></SCRIPT> This works great in Netscape 4.73, but doesn't work in IE 5.0. I think I tracked down the error, but I'm not sure what to do about it. In the file "core.ext.loadhtml.js" there is a property called "DynAPI.setURL.current" which appears to be initialized to null (last line of the file). This is causing an error here on line 18, I think: 15: DynLayer.prototype.onLoad=function(e) { 16: var lyr 17: if (is.ie) { 18: lyr=document.all[DynLayer.prototype.setURL.current].lyrobj 19: lyr.elm.innerHTML=e 20: } else if (is.dom) { I'm getting "document.all[...].lyrobj is not an object" which seems to fit with using a null object as a reference into the document.all[] array. So the "current" propery should be a layer id tag, but which one? Or am I way off on what's happening here? Anyway, if anybody read this far and knows how to make this work in IE, I'd be immensely grateful for any help. If this is a known bug that's being worked on that's not up on SourceForge yet, or if I'm doing something stupid like not including the right files or something, sorry about the dumb post, but I would still appreciate a heads up. Thanks! Sam Douglass PS The API is awesome, and tremendously useful! Thanks to the development team for all the hard work they've put into it. _______________________________________________ Dynapi-Help mailing list Dyn...@li... http://lists.sourceforge.net/mailman/listinfo/dynapi-help |
From: Typo-Team p. <put...@ty...> - 2000-11-15 15:54:05
|
Hello mailinglist! First my thanks to the guys working on this project. You´re doing a really great job!!! Couldn´t find anything on that in the archive so I hope I´m not posting a real dump question.... I´m fiddleing around with drag&drop, used the dynapi.ext.dragdrop. First prob was, there was a call to a hasChild method of the DynLayer obj. Couldn´t find such a method, changed that to this.children.length. Am i doing something wrong or was there a change in the DynLayer obj? Second question: i´ve got two layers, one is dragable the other is fixed and has got the ondrop listener. Is there a way to get acces to the object of the dragable layer in the ondrop function. e.getSource is the source of the event (which is the fixed layer). The idea is to generate layers fed with images from a db. These images should be dragable and if they are positined on 'hotspots' entries in the db should be changed. Therefor I need to know which pic was moved over a 'hotspot' Sorry about writing such a long mail (I´m no native speaker) but I hope someone can offer some help or hit me on the head to understand the API better ;-) Greetings Björn |
From: Mark P. <mar...@hi...> - 2000-11-15 09:08:03
|
Sam, I have encountered this error, but it dissappeared as I continued development on my widget. I think the solution is to not use the setURL method until the layer has been added to the DynAPI.document. By swopping the last 2 lines of your code, all should be OK. e.g DynAPI.onLoad = function ( ) { testlayer = new DynLayer(null,100,100,143,16,"#ffffff"); DynAPI.document.addChild(testlayer); testlayer.setURL("ext.html"); } Good Look Mark Sam Douglass wrote: > Hi, sorry to post a newbie question here, but I'm trying to > load an external HTML file into a dynlayer and am having a problem > that I don't think I saw addressed in the list archives available over > the Web. I have one simple layer into which I want to load a simple > external file: > > <SCRIPT LANGUAGE="JavaScript"><!-- > DynAPI.setLibraryPath('Core/lib2.0/') > > DynAPI.include('core.api.*') > DynAPI.include('core.ext.loadhtml.js') > > DynAPI.onLoad=function() { > testlayer = new DynLayer(null,100,100,143,16,"#ffffff") > testlayer.setURL("ext.html") > DynAPI.document.addChild(testlayer) > } > //--></SCRIPT> > > This works great in Netscape 4.73, but doesn't work in IE 5.0. I think I > tracked down the error, but I'm not sure what to do about it. In the > file > "core.ext.loadhtml.js" there is a property called > "DynAPI.setURL.current" > which appears to be initialized to null (last line of the file). This is > causing an error here on line 18, I think: > > 15: DynLayer.prototype.onLoad=function(e) { > 16: var lyr > 17: if (is.ie) { > 18: lyr=document.all[DynLayer.prototype.setURL.current].lyrobj > 19: lyr.elm.innerHTML=e > 20: } else if (is.dom) { > > I'm getting "document.all[...].lyrobj is not an object" which seems to > fit > with using a null object as a reference into the document.all[] array. > So > the "current" propery should be a layer id tag, but which one? Or am I > way > off on what's happening here? > > Anyway, if anybody read this far and knows how to make this work in > IE, I'd be immensely grateful for any help. If this is a known bug > that's > being worked on that's not up on SourceForge yet, or if I'm doing > something > stupid like not including the right files or something, sorry about the > dumb post, but I would still appreciate a heads up. Thanks! > > Sam Douglass > > PS The API is awesome, and tremendously useful! Thanks to the > development > team for all the hard work they've put into it. > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-help |
From: Sam D. <sa...@eb...> - 2000-11-14 23:54:52
|
Hi, sorry to post a newbie question here, but I'm trying to load an external HTML file into a dynlayer and am having a problem that I don't think I saw addressed in the list archives available over the Web. I have one simple layer into which I want to load a simple external file: <SCRIPT LANGUAGE="JavaScript"><!-- DynAPI.setLibraryPath('Core/lib2.0/') DynAPI.include('core.api.*') DynAPI.include('core.ext.loadhtml.js') DynAPI.onLoad=function() { testlayer = new DynLayer(null,100,100,143,16,"#ffffff") testlayer.setURL("ext.html") DynAPI.document.addChild(testlayer) } //--></SCRIPT> This works great in Netscape 4.73, but doesn't work in IE 5.0. I think I tracked down the error, but I'm not sure what to do about it. In the file "core.ext.loadhtml.js" there is a property called "DynAPI.setURL.current" which appears to be initialized to null (last line of the file). This is causing an error here on line 18, I think: 15: DynLayer.prototype.onLoad=function(e) { 16: var lyr 17: if (is.ie) { 18: lyr=document.all[DynLayer.prototype.setURL.current].lyrobj 19: lyr.elm.innerHTML=e 20: } else if (is.dom) { I'm getting "document.all[...].lyrobj is not an object" which seems to fit with using a null object as a reference into the document.all[] array. So the "current" propery should be a layer id tag, but which one? Or am I way off on what's happening here? Anyway, if anybody read this far and knows how to make this work in IE, I'd be immensely grateful for any help. If this is a known bug that's being worked on that's not up on SourceForge yet, or if I'm doing something stupid like not including the right files or something, sorry about the dumb post, but I would still appreciate a heads up. Thanks! Sam Douglass PS The API is awesome, and tremendously useful! Thanks to the development team for all the hard work they've put into it. |
From: Robert R. <rra...@ya...> - 2000-11-14 21:36:40
|
Try setting the img src to 'javascript:null' in IE 5. \\Robert -- rra...@ya... > Please suspend the hunt <g>! The Netscape problem I saw turned out to be a > red herring, and the problem I'm seeing in IE looks exactly like a known IE > bug :http://support.microsoft.com/support/kb/articles/Q269/8/02.ASP (BUG: > Internet Explorer Stops Responding When You Download Images) in which IE has > trouble when IMG tags are added to a page dynamically after it loads. I'll > pursue the remedies suggested for that problem - in the meantime, I'm going > to assume that that's the trouble. > > Thanks for all the help I got - it's great to know it's out there when it's > needed! > > - Ed > > Ed McNierney > Executive Vice President and Chief Mapmaker > TopoZone.com / Maps a la carte, Inc. > 73 Princeton Street, Suite 305 > North Chelmsford, MA 01863 > (978) 251-4242 > ed...@to... > www.topozone.com > > > -----Original Message----- > From: Richard :o) [mailto:ma...@ri...] > Sent: Monday, November 13, 2000 12:25 PM > To: dyn...@li... > Subject: Re: [Dynapi-Help] Newbie help with broken IMGs > > > hi, > It seems to be working ok, I would recommend pre-loading the images from the > main square before showing it, > and preload the images for east/west etc before showing them, so people > don't see the pictures loading, > and if you use different variable names for all the images, it will be much > faster if you go back to a map you > have seen before. > There is a pre-load object in DynAPI afaik, but I have not used it yet, I do > something like this: > > var mycount=0; > DynAPI.onLoad=function() {preLoad()} > > function preLoad() { > Load=new DynLayer(null,100,100,200,200) > DynAPI.document.addChild(Load) //this is used to write > "please wait" message > > pic1 = new Image(); > pic1.onload = (is.ns4b) ? loadCheck() : loadCheck; > pic1.src = "images/pic1.gif"; > pic2 = new Image(); > pic2.onload = (is.ns4b) ? loadCheck() : loadCheck; > pic2.src = "images/pic2.gif"; > //add first 9 images or so. > } > function loadCheck() { > mycount++; > if(mycount == 2) { > DynAPI.document.deleteChild(Load) > showPage() > } else { > if(mycount < 2) { > Load.setHTML('<h4>Loading the Image '+(mycount)+' of 2 > images...</h4>') > } > } > } > reference the images like this: > picOne.setHTML('<img src="'+pic1.src+'" >') > cheers, > Richard:o) > > > ----- Original Message ----- > From: "Ed McNierney" <Ed...@to...> > To: <dyn...@li...> > Sent: Tuesday, November 14, 2000 4:22 PM > Subject: [Dynapi-Help] Newbie help with broken IMGs > > >> Hi! I'm building an update to my site with DynAPI and it's working very >> nicely to start - nice job! I'm running into a weird behavior with IMG > tags >> in my DynLayers. >> >> I'm doing something very simple. I'm creating a set of DynLayers, and one >> of them is a mosaic of IMG tiles. In the simplest case, it's just a 3x3 >> grid with 9 IMG tags in it, broken into lines with <BR> tags. I'm > creating >> the layer, then using .setHTML once to set the HTML in that layer to a >> string of "<IMG><IMG><IMG><BR><IMG><IMG><IMG><BR><IMG><IMG><IMG>". >> >> In IE 5.0, I frequently get "broken image" symbols showing up instead of > the >> images. I've seen this behavior in NS 4.7, too, but it seems much less >> frequent (but still a serious problem). This behavior is erratic; >> refreshing the page will either fix the problem OR cause different images > to >> be broken. >> >> You can see a sample page at >> > http://140.239.165.86/maptools/dynamap.asp?lat=43.443&lon=-72.3796&s=50&size >> =s - please let me know if you have any trouble with it. >> >> Help is very much appreciated, as I'm about to go deeply down the DynAPI >> path but I need to know if I'm running into a fatal obstacle first - > thanks! >> >> - Ed >> >> Ed McNierney >> Executive Vice President and Chief Mapmaker >> TopoZone.com / Maps a la carte, Inc. >> 73 Princeton Street, Suite 305 >> North Chelmsford, MA 01863 >> (978) 251-4242 >> ed...@to... >> www.topozone.com >> >> _______________________________________________ >> Dynapi-Help mailing list >> Dyn...@li... >> http://lists.sourceforge.net/mailman/listinfo/dynapi-help >> ____________________________________________________________ >> Get your FREE personal .com domain name and >> NAMEzero Personal Portal at: http://www.namezero.com. >> For customer service, mailto:cus...@na.... >> >> > > _______________________________________________ > 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: Ed M. <Ed...@to...> - 2000-11-14 19:39:50
|
Please suspend the hunt <g>! The Netscape problem I saw turned out to be a red herring, and the problem I'm seeing in IE looks exactly like a known IE bug :http://support.microsoft.com/support/kb/articles/Q269/8/02.ASP (BUG: Internet Explorer Stops Responding When You Download Images) in which IE has trouble when IMG tags are added to a page dynamically after it loads. I'll pursue the remedies suggested for that problem - in the meantime, I'm going to assume that that's the trouble. Thanks for all the help I got - it's great to know it's out there when it's needed! - Ed Ed McNierney Executive Vice President and Chief Mapmaker TopoZone.com / Maps a la carte, Inc. 73 Princeton Street, Suite 305 North Chelmsford, MA 01863 (978) 251-4242 ed...@to... www.topozone.com -----Original Message----- From: Richard :o) [mailto:ma...@ri...] Sent: Monday, November 13, 2000 12:25 PM To: dyn...@li... Subject: Re: [Dynapi-Help] Newbie help with broken IMGs hi, It seems to be working ok, I would recommend pre-loading the images from the main square before showing it, and preload the images for east/west etc before showing them, so people don't see the pictures loading, and if you use different variable names for all the images, it will be much faster if you go back to a map you have seen before. There is a pre-load object in DynAPI afaik, but I have not used it yet, I do something like this: var mycount=0; DynAPI.onLoad=function() {preLoad()} function preLoad() { Load=new DynLayer(null,100,100,200,200) DynAPI.document.addChild(Load) //this is used to write "please wait" message pic1 = new Image(); pic1.onload = (is.ns4b) ? loadCheck() : loadCheck; pic1.src = "images/pic1.gif"; pic2 = new Image(); pic2.onload = (is.ns4b) ? loadCheck() : loadCheck; pic2.src = "images/pic2.gif"; //add first 9 images or so. } function loadCheck() { mycount++; if(mycount == 2) { DynAPI.document.deleteChild(Load) showPage() } else { if(mycount < 2) { Load.setHTML('<h4>Loading the Image '+(mycount)+' of 2 images...</h4>') } } } reference the images like this: picOne.setHTML('<img src="'+pic1.src+'" >') cheers, Richard:o) ----- Original Message ----- From: "Ed McNierney" <Ed...@to...> To: <dyn...@li...> Sent: Tuesday, November 14, 2000 4:22 PM Subject: [Dynapi-Help] Newbie help with broken IMGs > Hi! I'm building an update to my site with DynAPI and it's working very > nicely to start - nice job! I'm running into a weird behavior with IMG tags > in my DynLayers. > > I'm doing something very simple. I'm creating a set of DynLayers, and one > of them is a mosaic of IMG tiles. In the simplest case, it's just a 3x3 > grid with 9 IMG tags in it, broken into lines with <BR> tags. I'm creating > the layer, then using .setHTML once to set the HTML in that layer to a > string of "<IMG><IMG><IMG><BR><IMG><IMG><IMG><BR><IMG><IMG><IMG>". > > In IE 5.0, I frequently get "broken image" symbols showing up instead of the > images. I've seen this behavior in NS 4.7, too, but it seems much less > frequent (but still a serious problem). This behavior is erratic; > refreshing the page will either fix the problem OR cause different images to > be broken. > > You can see a sample page at > http://140.239.165.86/maptools/dynamap.asp?lat=43.443&lon=-72.3796&s=50&size > =s - please let me know if you have any trouble with it. > > Help is very much appreciated, as I'm about to go deeply down the DynAPI > path but I need to know if I'm running into a fatal obstacle first - thanks! > > - Ed > > Ed McNierney > Executive Vice President and Chief Mapmaker > TopoZone.com / Maps a la carte, Inc. > 73 Princeton Street, Suite 305 > North Chelmsford, MA 01863 > (978) 251-4242 > ed...@to... > www.topozone.com > > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-help > ____________________________________________________________ > Get your FREE personal .com domain name and > NAMEzero Personal Portal at: http://www.namezero.com. > For customer service, mailto:cus...@na.... > > _______________________________________________ Dynapi-Help mailing list Dyn...@li... http://lists.sourceforge.net/mailman/listinfo/dynapi-help |
From: Ed M. <Ed...@to...> - 2000-11-14 17:58:06
|
Richard - Thanks for the suggestions - it turns out that since the images are large, and there are many of them in each direction, preloading the NEXT set of images is a poor idea (we've been serving these maps on the Web for a year now). There are eight possible navigation directions, and seven of them will be wrong... Again, I do appreciate the input! - Ed Ed McNierney Executive Vice President and Chief Mapmaker TopoZone.com / Maps a la carte, Inc. 73 Princeton Street, Suite 305 North Chelmsford, MA 01863 (978) 251-4242 ed...@to... www.topozone.com -----Original Message----- From: Richard :o) [mailto:ma...@ri...] Sent: Monday, November 13, 2000 12:25 PM To: dyn...@li... Subject: Re: [Dynapi-Help] Newbie help with broken IMGs hi, It seems to be working ok, I would recommend pre-loading the images from the main square before showing it, and preload the images for east/west etc before showing them, so people don't see the pictures loading, and if you use different variable names for all the images, it will be much faster if you go back to a map you have seen before. There is a pre-load object in DynAPI afaik, but I have not used it yet, I do something like this: var mycount=0; DynAPI.onLoad=function() {preLoad()} function preLoad() { Load=new DynLayer(null,100,100,200,200) DynAPI.document.addChild(Load) //this is used to write "please wait" message pic1 = new Image(); pic1.onload = (is.ns4b) ? loadCheck() : loadCheck; pic1.src = "images/pic1.gif"; pic2 = new Image(); pic2.onload = (is.ns4b) ? loadCheck() : loadCheck; pic2.src = "images/pic2.gif"; //add first 9 images or so. } function loadCheck() { mycount++; if(mycount == 2) { DynAPI.document.deleteChild(Load) showPage() } else { if(mycount < 2) { Load.setHTML('<h4>Loading the Image '+(mycount)+' of 2 images...</h4>') } } } reference the images like this: picOne.setHTML('<img src="'+pic1.src+'" >') cheers, Richard:o) ----- Original Message ----- From: "Ed McNierney" <Ed...@to...> To: <dyn...@li...> Sent: Tuesday, November 14, 2000 4:22 PM Subject: [Dynapi-Help] Newbie help with broken IMGs > Hi! I'm building an update to my site with DynAPI and it's working very > nicely to start - nice job! I'm running into a weird behavior with IMG tags > in my DynLayers. > > I'm doing something very simple. I'm creating a set of DynLayers, and one > of them is a mosaic of IMG tiles. In the simplest case, it's just a 3x3 > grid with 9 IMG tags in it, broken into lines with <BR> tags. I'm creating > the layer, then using .setHTML once to set the HTML in that layer to a > string of "<IMG><IMG><IMG><BR><IMG><IMG><IMG><BR><IMG><IMG><IMG>". > > In IE 5.0, I frequently get "broken image" symbols showing up instead of the > images. I've seen this behavior in NS 4.7, too, but it seems much less > frequent (but still a serious problem). This behavior is erratic; > refreshing the page will either fix the problem OR cause different images to > be broken. > > You can see a sample page at > http://140.239.165.86/maptools/dynamap.asp?lat=43.443&lon=-72.3796&s=50&size > =s - please let me know if you have any trouble with it. > > Help is very much appreciated, as I'm about to go deeply down the DynAPI > path but I need to know if I'm running into a fatal obstacle first - thanks! > > - Ed > > Ed McNierney > Executive Vice President and Chief Mapmaker > TopoZone.com / Maps a la carte, Inc. > 73 Princeton Street, Suite 305 > North Chelmsford, MA 01863 > (978) 251-4242 > ed...@to... > www.topozone.com > > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-help > ____________________________________________________________ > Get your FREE personal .com domain name and > NAMEzero Personal Portal at: http://www.namezero.com. > For customer service, mailto:cus...@na.... > > _______________________________________________ Dynapi-Help mailing list Dyn...@li... http://lists.sourceforge.net/mailman/listinfo/dynapi-help |
From: Richard :o\) <ma...@ri...> - 2000-11-14 17:24:07
|
hi, It seems to be working ok, I would recommend pre-loading the images from the main square before showing it, and preload the images for east/west etc before showing them, so people don't see the pictures loading, and if you use different variable names for all the images, it will be much faster if you go back to a map you have seen before. There is a pre-load object in DynAPI afaik, but I have not used it yet, I do something like this: var mycount=0; DynAPI.onLoad=function() {preLoad()} function preLoad() { Load=new DynLayer(null,100,100,200,200) DynAPI.document.addChild(Load) //this is used to write "please wait" message pic1 = new Image(); pic1.onload = (is.ns4b) ? loadCheck() : loadCheck; pic1.src = "images/pic1.gif"; pic2 = new Image(); pic2.onload = (is.ns4b) ? loadCheck() : loadCheck; pic2.src = "images/pic2.gif"; //add first 9 images or so. } function loadCheck() { mycount++; if(mycount == 2) { DynAPI.document.deleteChild(Load) showPage() } else { if(mycount < 2) { Load.setHTML('<h4>Loading the Image '+(mycount)+' of 2 images...</h4>') } } } reference the images like this: picOne.setHTML('<img src="'+pic1.src+'" >') cheers, Richard:o) ----- Original Message ----- From: "Ed McNierney" <Ed...@to...> To: <dyn...@li...> Sent: Tuesday, November 14, 2000 4:22 PM Subject: [Dynapi-Help] Newbie help with broken IMGs > Hi! I'm building an update to my site with DynAPI and it's working very > nicely to start - nice job! I'm running into a weird behavior with IMG tags > in my DynLayers. > > I'm doing something very simple. I'm creating a set of DynLayers, and one > of them is a mosaic of IMG tiles. In the simplest case, it's just a 3x3 > grid with 9 IMG tags in it, broken into lines with <BR> tags. I'm creating > the layer, then using .setHTML once to set the HTML in that layer to a > string of "<IMG><IMG><IMG><BR><IMG><IMG><IMG><BR><IMG><IMG><IMG>". > > In IE 5.0, I frequently get "broken image" symbols showing up instead of the > images. I've seen this behavior in NS 4.7, too, but it seems much less > frequent (but still a serious problem). This behavior is erratic; > refreshing the page will either fix the problem OR cause different images to > be broken. > > You can see a sample page at > http://140.239.165.86/maptools/dynamap.asp?lat=43.443&lon=-72.3796&s=50&size > =s - please let me know if you have any trouble with it. > > Help is very much appreciated, as I'm about to go deeply down the DynAPI > path but I need to know if I'm running into a fatal obstacle first - thanks! > > - Ed > > Ed McNierney > Executive Vice President and Chief Mapmaker > TopoZone.com / Maps a la carte, Inc. > 73 Princeton Street, Suite 305 > North Chelmsford, MA 01863 > (978) 251-4242 > ed...@to... > www.topozone.com > > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-help > ____________________________________________________________ > Get your FREE personal .com domain name and > NAMEzero Personal Portal at: http://www.namezero.com. > For customer service, mailto:cus...@na.... > > |
From: Ed M. <Ed...@to...> - 2000-11-14 16:46:44
|
Brandon - Thanks for the test, but the problem does still occur (oddly, I'm using IE5 on Win2K Pro, too). I have seen this happen on other machines, too. I have also seen runs of 20 refreshes without problems, but the problem still persists; I just tried it again. I've noticed that when it does happen, the "broken image" icon shows up instantly. It doesn't seem to be even trying to download the image at all. The current version of this application is using the same IMG source (in non-dynamic ASP pages) to deliver over 150,000 maps a day (without problems) so it really does seem that the problem stems from the DynAPI implementation. Thanks! - Ed Ed McNierney Executive Vice President and Chief Mapmaker TopoZone.com / Maps a la carte, Inc. 73 Princeton Street, Suite 305 North Chelmsford, MA 01863 (978) 251-4242 ed...@to... www.topozone.com -----Original Message----- From: Brandon Myers [mailto:tr...@us...] Sent: Tuesday, November 14, 2000 11:14 AM To: dyn...@li... Subject: Re: [Dynapi-Help] Newbie help with broken IMGs With the URL below, I haven't been able to re-create the probelm you describe. I navigated about 20-30 times. No problems. I used IE5 w/ Windows 2k Pro. ----- Original Message ----- From: "Ed McNierney" <Ed...@to...> To: <dyn...@li...> Sent: Tuesday, November 14, 2000 10:22 AM Subject: [Dynapi-Help] Newbie help with broken IMGs > Hi! I'm building an update to my site with DynAPI and it's working very > nicely to start - nice job! I'm running into a weird behavior with IMG tags > in my DynLayers. > > I'm doing something very simple. I'm creating a set of DynLayers, and one > of them is a mosaic of IMG tiles. In the simplest case, it's just a 3x3 > grid with 9 IMG tags in it, broken into lines with <BR> tags. I'm creating > the layer, then using .setHTML once to set the HTML in that layer to a > string of "<IMG><IMG><IMG><BR><IMG><IMG><IMG><BR><IMG><IMG><IMG>". > > In IE 5.0, I frequently get "broken image" symbols showing up instead of the > images. I've seen this behavior in NS 4.7, too, but it seems much less > frequent (but still a serious problem). This behavior is erratic; > refreshing the page will either fix the problem OR cause different images to > be broken. > > You can see a sample page at > http://140.239.165.86/maptools/dynamap.asp?lat=43.443&lon=-72.3796&s=50&size > =s - please let me know if you have any trouble with it. > > Help is very much appreciated, as I'm about to go deeply down the DynAPI > path but I need to know if I'm running into a fatal obstacle first - thanks! > > - Ed > > Ed McNierney > Executive Vice President and Chief Mapmaker > TopoZone.com / Maps a la carte, Inc. > 73 Princeton Street, Suite 305 > North Chelmsford, MA 01863 > (978) 251-4242 > ed...@to... > www.topozone.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: Brandon M. <tr...@us...> - 2000-11-14 16:13:01
|
With the URL below, I haven't been able to re-create the probelm you describe. I navigated about 20-30 times. No problems. I used IE5 w/ Windows 2k Pro. ----- Original Message ----- From: "Ed McNierney" <Ed...@to...> To: <dyn...@li...> Sent: Tuesday, November 14, 2000 10:22 AM Subject: [Dynapi-Help] Newbie help with broken IMGs > Hi! I'm building an update to my site with DynAPI and it's working very > nicely to start - nice job! I'm running into a weird behavior with IMG tags > in my DynLayers. > > I'm doing something very simple. I'm creating a set of DynLayers, and one > of them is a mosaic of IMG tiles. In the simplest case, it's just a 3x3 > grid with 9 IMG tags in it, broken into lines with <BR> tags. I'm creating > the layer, then using .setHTML once to set the HTML in that layer to a > string of "<IMG><IMG><IMG><BR><IMG><IMG><IMG><BR><IMG><IMG><IMG>". > > In IE 5.0, I frequently get "broken image" symbols showing up instead of the > images. I've seen this behavior in NS 4.7, too, but it seems much less > frequent (but still a serious problem). This behavior is erratic; > refreshing the page will either fix the problem OR cause different images to > be broken. > > You can see a sample page at > http://140.239.165.86/maptools/dynamap.asp?lat=43.443&lon=-72.3796&s=50&size > =s - please let me know if you have any trouble with it. > > Help is very much appreciated, as I'm about to go deeply down the DynAPI > path but I need to know if I'm running into a fatal obstacle first - thanks! > > - Ed > > Ed McNierney > Executive Vice President and Chief Mapmaker > TopoZone.com / Maps a la carte, Inc. > 73 Princeton Street, Suite 305 > North Chelmsford, MA 01863 > (978) 251-4242 > ed...@to... > www.topozone.com > > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-help > |
From: Ed M. <Ed...@to...> - 2000-11-14 15:22:17
|
Hi! I'm building an update to my site with DynAPI and it's working very nicely to start - nice job! I'm running into a weird behavior with IMG tags in my DynLayers. I'm doing something very simple. I'm creating a set of DynLayers, and one of them is a mosaic of IMG tiles. In the simplest case, it's just a 3x3 grid with 9 IMG tags in it, broken into lines with <BR> tags. I'm creating the layer, then using .setHTML once to set the HTML in that layer to a string of "<IMG><IMG><IMG><BR><IMG><IMG><IMG><BR><IMG><IMG><IMG>". In IE 5.0, I frequently get "broken image" symbols showing up instead of the images. I've seen this behavior in NS 4.7, too, but it seems much less frequent (but still a serious problem). This behavior is erratic; refreshing the page will either fix the problem OR cause different images to be broken. You can see a sample page at http://140.239.165.86/maptools/dynamap.asp?lat=43.443&lon=-72.3796&s=50&size =s - please let me know if you have any trouble with it. Help is very much appreciated, as I'm about to go deeply down the DynAPI path but I need to know if I'm running into a fatal obstacle first - thanks! - Ed Ed McNierney Executive Vice President and Chief Mapmaker TopoZone.com / Maps a la carte, Inc. 73 Princeton Street, Suite 305 North Chelmsford, MA 01863 (978) 251-4242 ed...@to... www.topozone.com |
From: Samuel, M. M <Sam...@ed...> - 2000-11-12 23:54:55
|
Geez - I have a habit of answering my own questions! :) After a bit of tinkering, I placed the mainLayer.addChild(findLayer) right at the end - just before the DynAPI.document.addChild(mainLayer) line - and hey presto - I could access it all again! :) Mike -----Original Message----- From: Samuel, Michael M [mailto:Sam...@ed...] Sent: Monday, 13 November 2000 9:44 AM To: 'Dyn...@li...' Subject: [Dynapi-Help] Problem with input boxes I'm working on a web access control applet that is designed to look windows'ish in it's style. It consists on two input boxen to enter search criteria, and a Find button primarily. However, currently, in IE4.01 and IE 5.5 I cannot actually click in the input boxen.... I can however in NS4.08 The findLayer has the following setHTML: findLayer.setHTML('<form name=frmFind id=frmFind onsubmit="return false"><input type=text name=strFindString1 size=1> <input type=text name=strFindString2 size=15></form>') I'm using the DynaCore button.js widgetx to create the Find button. This is also not clickable... is there something I'm missing that's not allowing me to click anything in the layer? All the other layers work fine (I've got a select box on the right hand side, more buttons down the center).... Thanks Mike |
From: Steve <st...@un...> - 2000-11-12 23:49:18
|
Is there a way to stop text and images being "selected" when dragging layers around? |
From: Samuel, M. M <Sam...@ed...> - 2000-11-12 22:49:15
|
I'm working on a web access control applet that is designed to look windows'ish in it's style. It consists on two input boxen to enter search criteria, and a Find button primarily. However, currently, in IE4.01 and IE 5.5 I cannot actually click in the input boxen.... I can however in NS4.08 The findLayer has the following setHTML: findLayer.setHTML('<form name=frmFind id=frmFind onsubmit="return false"><input type=text name=strFindString1 size=1> <input type=text name=strFindString2 size=15></form>') I'm using the DynaCore button.js widgetx to create the Find button. This is also not clickable... is there something I'm missing that's not allowing me to click anything in the layer? All the other layers work fine (I've got a select box on the right hand side, more buttons down the center).... Thanks Mike |
From: Dave W. <dw...@ck...> - 2000-11-11 01:30:09
|
I just screen scraped the tutorials and save them as a local file. Aren't they available as a tarball? If they are not, I would package what I have and post it. Dave Waller |
From: Eric G. <egr...@ho...> - 2000-11-11 01:22:41
|
I'm having some problem that I'm trying to track down but before I do that I'd like to know if this has ever been encountered for version 2000.10.24b full. This is what I'm doing. I create a widget called PhotoAlbum who has a child pictureFrameLayer. PictureFrame in turn has 3 childs called indexImageLayer, imageLayer and ImageTextLayer. The Layers are create in my class constructor. In my onCreate handler I simply call a function that resizes and sets the HTML for my various layers. The problem, not being able to call setVisible, occurs only when I try to explicitly set the pictureFrameLayer's child. It just hangs. Let me know if anyone needs the code to further determine the cause of the problem. I'll zip up everything. Thanks, Eric _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. |
From: Mark P. <mar...@hi...> - 2000-11-10 09:28:01
|
Thanks for the response. I'm a little confused as to what the latest full release is. I have downloaded the file dynapi20001024-full release, and tryed to apply each release up to and including dynapi-2000.11.07 by simply unziping the files over the old ones, and at the dynapi-2000.11.05 stage, changing directory names etc.. as per the release notes but with no success. Are we due for another "full" release or is there somewhere that the mechanism to apply each new version is documented more clearly. I read in a post a few days ago an idea whereby there is a "stable" version released every so often, and a "development" version released more frequently. Is this idea to be implemented? I also noticed that the onCreate method had been depricated when trying to apply the loadPanel stuff to my "development" version of DynAPI but to no avail, hence my post based on an older release. Mark Robert Rainwater wrote: > One thing I noticed in your code was the onCreate method. In the > latest version of the DynAPI this will no longer work. You will need > to use eventlisteners. > > The LoadPanel extension is not far from working. It currently works > ok in IE 5 and NS 4. Hopefully it will be finished soon. > > \\Robert > -- > rra...@ya... > > > Hello All, > > > > Although I've closely been following and working with the development of DynAPI 2 over the > > past few weeks, this is my first post to the list. As such, I'd like to take the > > opportunity to congratulate you on the project and wish you continued success in the > > future. Well Done. > > > > OK, with that out of the way, on to my problem. > > > > I have developed a tabset widget, which appears to work great on IE and NS, apart from > > when it comes to loading an external HTML file (or JSP) onto one or more of the tabs, > > instead of using the setHTML method on each of the layers. > > > > This is only "sort of" working on Netscape 4.73 (it randomly loads some or all of the > > pages onto the layers), and does not work at all on IE 5.5. > > Try loading the page a few times in NS. Each time the pages which are loaded are > > different!! > > > > I have attached a zip of the files I have been working with, and hope someone can give me > > a definitive answer as to how the DynAPI 2 is to handle this situation. I have played with > > Dan's loadPanel extension, with no success. If anyone has already developed this widget or > > similar, please let me know. > > > > For the record, my OS is Win95. > > > > Many Thanks > > > > Mark Pratt > > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-help |
From: Robert R. <rra...@ya...> - 2000-11-10 02:25:57
|
One thing I noticed in your code was the onCreate method. In the latest version of the DynAPI this will no longer work. You will need to use eventlisteners. The LoadPanel extension is not far from working. It currently works ok in IE 5 and NS 4. Hopefully it will be finished soon. \\Robert -- rra...@ya... > Hello All, > > Although I've closely been following and working with the development of DynAPI 2 over the > past few weeks, this is my first post to the list. As such, I'd like to take the > opportunity to congratulate you on the project and wish you continued success in the > future. Well Done. > > OK, with that out of the way, on to my problem. > > I have developed a tabset widget, which appears to work great on IE and NS, apart from > when it comes to loading an external HTML file (or JSP) onto one or more of the tabs, > instead of using the setHTML method on each of the layers. > > This is only "sort of" working on Netscape 4.73 (it randomly loads some or all of the > pages onto the layers), and does not work at all on IE 5.5. > Try loading the page a few times in NS. Each time the pages which are loaded are > different!! > > I have attached a zip of the files I have been working with, and hope someone can give me > a definitive answer as to how the DynAPI 2 is to handle this situation. I have played with > Dan's loadPanel extension, with no success. If anyone has already developed this widget or > similar, please let me know. > > For the record, my OS is Win95. > > Many Thanks > > Mark Pratt |
From: Mark P. <mar...@hi...> - 2000-11-09 15:22:42
|
Hello All, Although I've closely been following and working with the development of DynAPI 2 over the past few weeks, this is my first post to the list. As such, I'd like to take the opportunity to congratulate you on the project and wish you continued success in the future. Well Done. OK, with that out of the way, on to my problem. I have developed a tabset widget, which appears to work great on IE and NS, apart from when it comes to loading an external HTML file (or JSP) onto one or more of the tabs, instead of using the setHTML method on each of the layers. This is only "sort of" working on Netscape 4.73 (it randomly loads some or all of the pages onto the layers), and does not work at all on IE 5.5. Try loading the page a few times in NS. Each time the pages which are loaded are different!! I have attached a zip of the files I have been working with, and hope someone can give me a definitive answer as to how the DynAPI 2 is to handle this situation. I have played with Dan's loadPanel extension, with no success. If anyone has already developed this widget or similar, please let me know. For the record, my OS is Win95. Many Thanks Mark Pratt |
From: Daniel H. <dhe...@ya...> - 2000-11-09 11:59:00
|
Thanks > e.x and e.y are the positions of the mouse relative to the e.src object. > > e.pageX and e.pageY are the exact locations of the mouse relative to the > upper left corner of the document window (not the browser window). It seems that pageX & pageY have different behavior in IE4 and IE5.0 when the page is scrolled. In IE5.0 pageX & pageY return the mouse position within the window see attached file: this page dispaly the different x,y from the event : pageX/Y, e.x/y, e.orig.x/y .... on IE4 when the page is scrolled down I don't know how to get the window x & y mouse position. On NS it is eratic with a very slow setHTML() I come back to the question : how to get the true x,y window position so that I can display something nearby the mouse position in any situation (was the mouse on a div or not) Thanks for help. Daniel. > > Hope this helps. > ----- Original Message ----- > From: "Daniel HERLEMONT" <dhe...@ya...> > To: <dyn...@li...> > Sent: Wednesday, November 08, 2000 5:43 PM > Subject: [Dynapi-Help] Document events. > > > > Ok this is nearly perfect. > > > > But when I get the e.x & e.y I am not what I expected : that is the > current > > position of the mouse on the screen > > (I would like to display on the fly popup hints ... at the current mouse > > position) > > > > What are the exact definition of > > e.x, e.y > > e.pageX and e.pageY > > > > Maybe it is somewhere in the doc ? > > > > Thanks. > > > > > > > > > > > > > > _______________________________________________ > > 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: Dave W. <dw...@ck...> - 2000-11-09 02:40:54
|
I have a fade script working in IE 5 and Netscape 4.x but IE 4 does not work. if any one knows why this does not work in IE 4 I would be very grateful. I put the textarea in at the last as a debug helper. I dont think that it even runs my startItUp() function. Dave Waller the URL is http://www.ckhnet.com/users/dwaller/test/test.html here is the script: // Lines that begin with two slashes are documentation do not edit var fontSize = 2 // set to a downloadable font so that is most compatable var fontFace = "" // set to bold italic small large var fontStyle = "" // set to the upper left coner of the text box that you want var textXpos = 50 var textYpos = 50 // set to the sixe in pixels that you want the text box var textWidth = 650 var textHeight = 80 // set to the speed that you would like it to fade var fadeSpeed = 300 // set this it the back ground color var textBg = "white" // set this to be color that you want it to fade from var fadeStart = "000000" // set this to the color that you want the text to fade to var fadeEnd = "FFFFFF" // Do Not Change the next two lines var fadeText = new Array() var fadeHref = new Array() // edit text and links here // for a text without a link set the link to "NL" // you can have as many as you like fadeText[0] = "This is the first text This is the first text" fadeHref[0] = "blank1.html" fadeText[1] = "This is the second text This is the second text This is the second text This is the second text This is the second text" fadeHref[1] = "blank2.html" fadeText[2] = "This is a text sting with out a link" fadeHref[2] = "NL" fadeText[3] = "This is the third text" fadeHref[3] = "blank3.html" // end of editable variables // DO NOT EDIT BELOW THIS var hexBase= new Array("00", "33", "66", "99","AA", "CC", "FF") var r = 0 var g = 0 var b = 0 var x = 0 var l = 0 var t = 0 is.ns = (document.layers)? true:false is.ie = (document.all)? true:false var text = "" var linkText = "" if ( fadeStart < fadeEnd ){ var dir = 1 } else { var dir = -1 } for ( c = 0; c < 7; c++){ if ( fadeStart.substr(0,2) == hexBase[c] ){ var startR = c var r = c } if ( fadeStart.substr(2,2) == hexBase[c] ){ var startB = c var b = c } if ( fadeStart.substr(4,2) == hexBase[c] ){ var startG = c var g = c } if ( fadeEnd.substr(0,2) == hexBase[c] ){ var endR = c } if ( fadeEnd.substr(2,2) == hexBase[c] ){ var endB = c } if ( fadeEnd.substr(4,2) == hexBase[c] ){ var endG = c } } function nextFade(){ buildString() if ( fadeHref[t] != "NL" ){ var linkText = "<a href=\"" + fadeHref[t] + "\" target=\'_top\'><img src=\"pic.gif\" width=" + textWidth + " height=" + textHeight + "></a>" } else { var linkText = "<img src=\"pic.gif\" width=" + textWidth + " height=" + textHeight + ">" } if (is.ns){ textLayer.write(text) linkLayer.write(linkText) } else { document.all['textLayerDiv'].innerHTML = text document.all['linkLayerDiv'].innerHTML = linkText } //document.g.ta.value = text //alert(text) } function buildString(){ if ( dir > 0 ) { if ( r >= startR && g >= startG && b >= startB ){ if ( r < endR || b < endG || b < endB ){ if ( x == 0 ){ if ( g < endG ){ g++ } x++ } else if ( x == 1 ){ if ( b < endB ){ b++ } x++ } else { if ( r < endR ){ r++ } x = 0 } } else { g = startG b = startB r = startR x = 0 if ( t < (fadeText.length - 1 )){ t++ } else { t = 0 } } } } else { if ( r <= startR && g <= startG && b <= startB ){ if ( r > endR || g > endG || b > endB ){ if ( x == 0 ){ if ( g > endG ) { g-- } x = 2 } else if ( x == 1 ){ if ( b > endB ){ b-- } x-- } else { if ( r > endR ){ r-- } x-- } } else { g = startG b = startB r = startR x = 0 if ( t < ( fadeText.length - 1 )){ t++ } else { t = 0 } } } } var color = "color=\"#" + hexBase[r] + hexBase[b] + hexBase[g] text = "<table width=" + textWidth + "> <tr><td><font " + color + "\">" + fadeText[t] + "</font></td></tr></table>" } function startItUp(){ DynLayerInit() textLayer = new DynLayer("textLayerDiv") linkLayer = new DynLayer("linkLayerDiv") setInterval(nextFade,fadeSpeed) } |
From: Brandon M. <tr...@us...> - 2000-11-09 01:19:22
|
e.x and e.y are the positions of the mouse relative to the e.src object. e.pageX and e.pageY are the exact locations of the mouse relative to the upper left corner of the document window (not the browser window). Hope this helps. ----- Original Message ----- From: "Daniel HERLEMONT" <dhe...@ya...> To: <dyn...@li...> Sent: Wednesday, November 08, 2000 5:43 PM Subject: [Dynapi-Help] Document events. > Ok this is nearly perfect. > > But when I get the e.x & e.y I am not what I expected : that is the current > position of the mouse on the screen > (I would like to display on the fly popup hints ... at the current mouse > position) > > What are the exact definition of > e.x, e.y > e.pageX and e.pageY > > Maybe it is somewhere in the doc ? > > Thanks. > > > > > > > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-help |
From: Daniel H. <dhe...@ya...> - 2000-11-08 22:44:47
|
Ok this is nearly perfect. But when I get the e.x & e.y I am not what I expected : that is the current position of the mouse on the screen (I would like to display on the fly popup hints ... at the current mouse position) What are the exact definition of e.x, e.y e.pageX and e.pageY Maybe it is somewhere in the doc ? Thanks. |
From: Daniel H. <dhe...@ya...> - 2000-11-08 21:36:13
|
I use ... IE 4.0, IE 4.5, NS 4.5 & 4.7 It works fine with the new version ... I though I had a good version (dated 30 October) Things are going very fast ... congratulation ... thanks a lot ----- Original Message ----- From: Pascal Bestebroer <pa...@dy...> To: <dyn...@li...> Sent: Wednesday, November 08, 2000 6:55 PM Subject: RE: [Dynapi-Help] document events > what browser are you using, and which platform? (win, mac, linux) > > your attached code works perfectly without using the <div> > > > > Pascal Bestebroer > pa...@dy... > http://www.dynamic-core.net > > > > -----Oorspronkelijk bericht----- > Van: dyn...@li... > [mailto:dyn...@li...]Namens Daniel HERLEMONT > Verzonden: woensdag 8 november 2000 0:19 > Aan: dyn...@li... > CC: rra...@ya... > Onderwerp: Re: [Dynapi-Help] document events > > > > But this method seems to work only upon a div. > It doesn't work if don't define a div in my body ? > see attached file .. > > Thanks . > > > ----- Original Message ----- > From: Robert Rainwater <rra...@ya...> > To: Daniel HERLEMONT <dyn...@li...> > Sent: Tuesday, November 07, 2000 8:59 PM > Subject: Re: [Dynapi-Help] document events > > > > > > You don't need to modify the EventMethod. Just use normal > > eventlisteners: > > DynAPI.onLoad=function() { > > myListener = new EventListener() > > myListener.onmouseup=function(e) { > > alert('Document Clicked') > > } > > > > DynAPI.document.addEventListener(myListener) > > } > > > > > > \\Robert > > -- > > rra...@ya... > > > > > > _______________________________________________ > > 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. <pa...@dy...> - 2000-11-08 17:51:58
|
what browser are you using, and which platform? (win, mac, linux) your attached code works perfectly without using the <div> Pascal Bestebroer pa...@dy... http://www.dynamic-core.net -----Oorspronkelijk bericht----- Van: dyn...@li... [mailto:dyn...@li...]Namens Daniel HERLEMONT Verzonden: woensdag 8 november 2000 0:19 Aan: dyn...@li... CC: rra...@ya... Onderwerp: Re: [Dynapi-Help] document events But this method seems to work only upon a div. It doesn't work if don't define a div in my body ? see attached file .. Thanks . ----- Original Message ----- From: Robert Rainwater <rra...@ya...> To: Daniel HERLEMONT <dyn...@li...> Sent: Tuesday, November 07, 2000 8:59 PM Subject: Re: [Dynapi-Help] document events > > You don't need to modify the EventMethod. Just use normal > eventlisteners: > DynAPI.onLoad=function() { > myListener = new EventListener() > myListener.onmouseup=function(e) { > alert('Document Clicked') > } > > DynAPI.document.addEventListener(myListener) > } > > > \\Robert > -- > rra...@ya... > > > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-help > |