Hi, I am a first time user of Dynapi and I am so glad this wonderful library exists. Developing DHTML without worrying about browser compatibility is a tremendous gift, thank you!
But I am notoriously curious and worked through all of the code of the library after learning as much about DHTML and JavaScript in general as I could (thanks to the great Dynamic Duo website!). That's when one line of code really puzzled me (the first line in the method body): DynMouseEvent.EventMethod=function(e) { var dynobject=this.lyrobj; If I am not completely lost I'd say this line has no meaning. I did not find a direct or indirect assignment to DynMouseEvent.lyrobj anywhere in the code. In this mailing list's archives I found some references to DynLayer.prototype.EventMethod which contained the same line of code. Might this be a relict from a previous version of EventMethod from the time when it was a DynLayer.prototype method? Later in the code the realsrc is determined like this: if(is.def) var realsrc = Methods.getContainerLayerOf(is.ie?e.srcElement:e.target) || dynobject else if(is.ns4) var realsrc=e.target.lyrobj||dynobject I guess dynobject is never used as it is only meant as a fallback value. I am not subscribed to this list. Please be so kind and reply to my email-address below directly regardless if I am completely wrong or right. As I told you I am very curious and simply want to clear that point so I can sleep again. =) Best regards, David ([EMAIL PROTECTED]) _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/