What browser are you using?
If it's IE 5.5, I am having a similar problem with the *old* dynlayer api.
It seems that plain html text on a layer is an object that gets events in 
IE 5.5 and (possibly) deprives the underlying layer or div from hearing 
about the event.

Is this plausible?

In my case, when the mouse passes over the html text, the div gets an 
onmouseout event, even though the text is within the div.  This causes the 
div to appear unselected.  This does *not* happen in IE 5.0 or NS 4.x.

Would also love to hear about a workaround to this.
-Alan

At 10:56 AM 1/2/01 -0500, Peter Curran wrote:
>I asked about this just before Christmas, but didn't see any response. I'm 
>going to try again, in case I missed something, 'cause I'm still stuck.
>
>I am trying to create a simple clickable button, with a text label, that I 
>can write event handlers for. This seems like just about the simplest 
>interactive widget imaginable, but I can't get it to work. I am using the 
>dyapi.gui.button object as the base, but it doesn't work. Clicking on the 
>text of the button does not result in an event that triggers the event handler.
>
>If I put a wide border around the button, and click on the border, events 
>happen as I expect. However, clicking directly on the text does not cause 
>an event.
>
>I'd easily believe that I am doing something wrong, but the example - 
>dynapi.gui.button.html in the examples directory - behaves exactly the 
>same way. In the largest button with a text label in that example, 
>clicking directly on the text has no effect; clicking on the border around 
>the button causes the button to grow, exactly as it is supposed to.
>
>So what I am doing wrong? Surely this is one of the most basic widgets 
>possible. I can't imagine I am the only one who has tried to do this. Is 
>there something special I have to do to make it possible to get events 
>from a label?
>
>Thanks for any help anyone can provide.
>
>--
>Peter Curran     Software Developer    Casebank Technologies Inc.
>[EMAIL PROTECTED]
>
>_______________________________________________
>Dynapi-Help mailing list
>[EMAIL PROTECTED]
>http://lists.sourceforge.net/mailman/listinfo/dynapi-help


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

Reply via email to