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

2011-10-14 Thread darkflame
Ok, dont mean to spam, but I think I'm getting near a solution and it could be usefull to other people. Based on; http://groups.google.com/group/gwt-cal/browse_thread/thread/7e756151acbd9b14 I came up with this; /** a class designed to catch events and forward them to a panel under it * uses t

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

2011-10-14 Thread darkflame
I found this; http://www.vinylfox.com/forwarding-mouse-events-through-layers/ It seems the agreed way to do this at the moment. I only hope its adaptable to GWT :-/ On Oct 14, 3:12 pm, darkflame wrote: > Still struggleing with a solution for this. > My knowledge of event handeling clearly isnt g

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

2011-10-14 Thread darkflame
Still struggleing with a solution for this. My knowledge of event handeling clearly isnt good enough; a) Is it possible to pass an event (or all events) to a parent/ container element and have it automaticaly passed on to all its children? b) would this event be triggered under the normal conditi

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

2011-10-10 Thread darkflame
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 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 sligh

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

2011-10-08 Thread David Given
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 over

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

2011-10-08 Thread darkflame
I suspect the answer here might just be "no", but before I do anything too eleborate I thought Id ask. 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.