[Laszlo-dev] Why we use other div to catch mouse event
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.
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."
> - Raju
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Laszlo-dev