writing HTML to a layer in NS4 causes it to loose all captured events
(as well as child layers). This is a  NS bug or something. In theory the
API could be changed to recapture the events. In the meantime either use
a transparent cover layer to capture the events or capture them after
you have set the its HTML

Kasper Schnell wrote:

> Hello everybody.I have a problem with layers in NS not catching an
> event. The layer backgroundimage is being set in a HTML-string, which
> seems to be a problem (a bug?). How can this be solved?My code looks
> like this: myBgImage = '<img src="' + cSrc + '" align=absmiddle
> name="icon" height=' + cIconS + ' width=' + cIconS + '>'
> myLayer.setHTML(myBgImage)It works in IE.CheersKas


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

Reply via email to