I think I just ran into this problem too. Except I use LoadPanel. ...I just
figured how to make it work:
myLayer = new DynLayer(null,0,0,300,300);
// myLayerEventListener = new EventListener(_myLayer); // won't work
myLayerEventListener = new EventListener(); // this is ok.
...
Could some one explain why?
Was this helpful?
-Juha Heljoranta
-----Original Message-----
From: Kasper Schnell [mailto:[EMAIL PROTECTED]]
Sent: 11. heinäkuuta 2001 14:26
To: [EMAIL PROTECTED]
Subject: ÄDynapi-HelpÅ Problems with a NS layer and an event
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.
Cheers
Kas
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help