Monday, October 10, 2011

Re: Is it possible to have a div overlay something, but not catch the clicks (ie, "transparent" to clicks?)

hmz...something to keep an eye on, but sadly IE and Opera dont support
it yet;
http://caniuse.com/pointer-events


On Oct 8, 1:19 pm, David Given <d...@cowlark.com> wrote:
> On 08/10/11 11:48, darkflame wrote:
> [...]
>
> > Basicly I have a page with a lot of widgets, imagine if I wanted to
> > tint the screen slightly - for example a 50% blue overlay. Yet I still
> > want the widgets all clickable/interactable as normal.
>
> You can do it by setting pointer-events:none on the overlay DIV... but I
> don't know what the browser support is like for this. Here's a demo:
>
> http://robertnyman.com/css3/pointer-events/pointer-events.html
>
> --
> ┌─── dg@cowlark.com ─────http://www.cowlark.com─────
> │
> │ "Under communism, man exploits man. Under capitalism, it's just the
> │ opposite." --- John Kenneth Galbrith
>
>  signature.asc
> < 1KViewDownload

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate