From: Jack_Speranza <jsp...@gr...> - 2000-10-26 14:57:55
|
Ignore my last request... I found an old version of dynapi.js that DOES have the getDocument method. I imported this into my dev environment, et voila, elle marche! So, it appears the most recent release does NOT include the appropriate dynapi.js code. By the way, I'm not exactly sure where my dynapi.js with the getDocument method came from, but I do not believe I got it from sourceForge -- I suspect it came from either Il Maestro's site or from Pascal's (the code is quite a bit more comprehensive...). I realize this DynAPI is a collaborative project, and you talented folks are doing a wonderful job creating widgets and enhancements which the rest of us capitalize upon. It appears many of you modify and tweak the "foundation" code to improve performance and make things work better, which is great, but I'm not sure all these changes make their way into the stuff that gets released to the "public". When a bloke like me gets the new stuff, it takes me a long time to figure out where the problems might lie... Because I'm benefitting from your work, I'd be happy to volunteer my services in some fashion toward setting up a system to see if we can get this to work better. Unfortunately, I'm not all that proficient (YET, I hope) with the underlying mechanics of this API, so not sure if I've really got anything to offer... Any suggestions? Jack -----Original Message----- From: Robert Rainwater [mailto:rai...@us...] Sent: Wednesday, October 25, 2000 8:06 PM To: Scott Andrew LePera Subject: Re[2]: [Dynapi-Help] New DynAPI release and DynDocument Events Hi, There seems to be some difference in the DynLayer.EventMethod and DynDocument.EventMethod: DynLayer.EventMethod: if (!src) { -> src=DynAPI.getDocument(realsrc) if (!src) return true } DynDocument.EventMethod DynLayer.EventMethod: if (!src) { -> src=DynAPI.getDocument(realsrc.elm) if (!src) return true } I believe you should pass "realsrc.id" to the getDocument. This is the id of the Javascript object. I think realsrc.elm is always undefined (I could be wrong there). Later, Robert <rai...@us...> _______________________________________________ Dynapi-Help mailing list Dyn...@li... http://lists.sourceforge.net/mailman/listinfo/dynapi-help |