From: Richard :o <ma...@ri...> - 2001-01-11 00:55:46
|
In case this hasn't been answered yet, it's a bug in the API AFAIK, should be fixed soon. Cheers, Richard :o ma...@ri... www.richardinfo.com (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) ----- Original Message ----- From: "Bachis Bogdan-Adrian" <ba...@ya...> To: <dyn...@li...> Sent: Monday, January 08, 2001 10:00 AM Subject: [Dynapi-Dev] onmouseover problem > > Hello, > > I'm new to DynAPI project and I have the following > problem: I have a DynLayer object that is a child of > another DynLayer object. I added the onmouseover event > to the child DynLayer object, but when I moved the > mouse over the layer, nothing happens. Here's the > code: > > menuBar=new DynLayer(null, 10, 10, 210, 25, "red") > > menuOption1=new DynLayer(null, 10, 5, 40, 15, "white") > > menuOption1Listener=new EventListener(menuOption1) > > menuOption1Listener.onmouseover=function(e){ > alert("test") > } > > menuOption1.addEventListener(menuOption1Listener) > > menuBar.addChild(menuOption1) > DynAPI.document.addChild(menuBar) > > I've tried to add the onmouseup event instead of > onmouseover and everything worked just fine... > > Can you please tell me what's wrong with it? > > Thanks, > > Bogdan. > > P.S. I'm using IE 5.5 and Windows NT 4.0 Workstation > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Photos - Share your holiday photos online! > http://photos.yahoo.com/ > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > ____________________________________________________________ > Get your free domain name and domain-based e-mail from > Namezero.com. New! Namezero Plus domains now available. > Find out more at: http://www.namezero.com > |