Hello, First of all, is this the right place to question something that seems like a bug, or do i simply post at sourceforge? Any way, small problem: I use: - dynapi_2001.01.25 < dynapi.sourceforge - PC - Netscape 4.08 [en] In the code below, i: - create a dynlayer (navBarLyr) - create another one (foo) - add an event listener to foo for the onclick event - add foo to navBarLyr Problem: - When clicking on foo (onclick), Netscape fires ONLY when the click occurs were there is NO text in the foo lyr, - Luckily the problem CAN BE OMITTED by using ONMOUSEDOWN for that layer (foo) dudes ?? <html> <head> <title>DynAPI2 tutor - creating layers</title> <Script language="Javascript" src="../src/dynapi.js"></script> <Script language="Javascript"> DynAPI.setLibraryPath('../src/lib/') DynAPI.include('dynapi.api.*'); DynAPI.onLoad=function() { navBarLyr=new DynLayer() navBarLyr.setBgColor('#cccccc') navBarLyr.setSize(300, 300) foo=new DynLayer() foo.setWidth(100) foo.setHTML('testtesttest') foo.setBgColor('#ffcc00') myEL=new EventListener(foo) myEL.onclick=function(e) { alert() } /* myEL.onmousedown=function(e) { alert() } */ foo.addEventListener(myEL) navBarLyr.addChild(foo) DynAPI.document.addChild(navBarLyr) } </script> </head> </html> _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/dynapi-dev