[Laszlo-dev] mouse events

Adeola Awoyemi adeola at fotango.com
Tue Nov 22 10:05:55 PST 2005


Hi all,

I'm having a bit of trouble with mouse events.

If I have a clickable <text/> with <a/> tag in the content the <a/>  
tag doesn't respond to mouse clicks. Does anyone know of a way around  
this?!

Here's the sample code:

[code]
<canvas debug="true">

   <text width="300" bgcolor="yellow" resize="true" multiline="true">
     Some sample text here and a link follows
     <a href="http://www.google.com" target="_blank"><font  
color="#ff3300">Google</font></a>
     <method event="onclick">
       Debug.write('text clicked');
     </method>
   </text>

</canvas>
[/code]

Thanks,
Adeola.


More information about the Laszlo-dev mailing list