I just found out the hard way how much the onmouseevent is buggy.

What is did is write a layer:
var p2 = new DynLayer(null,123,0,16,16,'red',true,5)

Add a picture to it
p2.setHTML(cimg)

Add a event handler
var Ep2 = new EventListener(this.document)
Ep2.onmouseout = function(e)    {...}
Ep2.onmouseover = function(e)   {...}
Ep2.onmouseup = function(e)     {...}
p2.addEventListener(Ep2)
Add that layer to another layer, and the later to DynAPI

Add the following code at the end:

var EntirePage = new EventListener(this.document)
EntirePage.onmousemove = function(e){mouseMoveDiv(e.getX(),e.getY());}
DynAPI.document.addEventListener(EntirePage)

Now the crazy part?
Ep2.onmouseup works fine for IE5.5, and Netscape 4.79 but doesn't work with 
Netscape 6.2.
Ep2.onclick works fine for IE5.5, and Netscape 6.2 but doesn't work with 
Netscape 4.79.



Does anyone know where exactly in the code (I guess mouse.js) I could modify 
to fix this issue?

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to