From: Richard B. <ric...@us...> - 2001-11-06 20:25:31
|
Update of /cvsroot/dynapi/dynapi/tests In directory usw-pr-cvs1:/tmp/cvs-serv19201 Modified Files: _drag_frame1.html Log Message: added a document mousemove eventlistener Index: _drag_frame1.html =================================================================== RCS file: /cvsroot/dynapi/dynapi/tests/_drag_frame1.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** _drag_frame1.html 2001/11/06 10:17:02 1.2 --- _drag_frame1.html 2001/11/06 20:25:26 1.3 *************** *** 30,33 **** --- 30,41 ---- DynAPI.document2.addChild(myLayer3); + var count=0 + var EListener1 = new EventListener(); + EListener1.onmousemove = function(e) { + window.status=count++; + }; + DynAPI.document.addEventListener(EListener1); + DynAPI.document2.addEventListener(EListener1); + }; *************** *** 35,47 **** </HEAD> ! <BODY><B>Issue :</B> This document is a frameset (drag_frame.htm),<BR>with two ! documents loaded in it.<BR><BR>All the dynAPI code is in ! _drag_frame1.html (this page).<BR>_drag_frame2.html is empty. Layers are created in both frames and made draggable using the dragevent extension. ! <BR>If the dynlayer has been created, it gets the dyndocument ! from the dynlayer, without passing it in the enableDragEvents function. ! <BR><BR><B>Problems :</B> In IE5.5, and to a lesser extent Mozilla, (win2000) ! dragging is repeated when the mouse moves over the second frame during dragging. NS4 works fine. </BODY></HTML> --- 43,55 ---- </HEAD> ! <BODY><B>Issue :</B> This document is a frameset (drag_frame.htm),<BR>with two ! documents loaded in it.<BR><BR>All the dynAPI code is in ! _drag_frame1.html (this page).<BR>_drag_frame2.html is empty. Layers are created in both frames and made draggable using the dragevent extension. ! <BR>If the dynlayer has been created, it gets the dyndocument ! from the dynlayer, without passing it in the enableDragEvents function. ! <BR><BR><B>Problems :</B> In IE5.5, and to a lesser extent Mozilla, (win2000) ! dragging is repeated when the mouse moves over the second frame during dragging. NS4 works fine. </BODY></HTML> |