[Laszlo-dev] Why we use other div to catch mouse event

Frank Guo fguo at laszlosystems.com
Sun Feb 19 23:06:15 PST 2012


thanks you very much.

I found if we style pointer-events: none,
the mouse event can pass through the upper div,but it not work in IE.

If we can use this feature to optimize dhtml version, remove the clickdiv.
The performance will be better.

frank


On 02/11/2012 09:08 AM, Raju Bitter wrote:
> The whole clickdiv approach is messy, in my eyes. Not sure if it was a
> good idea to mimic the SWF click behavior. Here's what Tucker had to
> say in LPP/5447:
> "Basically, SWF has a different model of how clicks pass when a
> non-clickable element overlaps a clickable one. The kludges we have
> put in place to emulate SWF (which passes the clicks through to the
> underlying element) result in the text not being clipped by the
> overlapping elements."
>
>
> http://jira.openlaszlo.org/jira/browse/LPP-5447
> http://jira.openlaszlo.org/jira/browse/LPP-2520
> http://jira.openlaszlo.org/jira/browse/LPP-2680
>
> - Raju

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20120219/7cca192d/test.html


More information about the Laszlo-dev mailing list