Good idea but no effect.
At least, I think its got no effect, still getting the stuck mouse
problem.
The code I added was;
contents.getElement().setAttribute("draggable", "false");
contents.getElement().getStyle().setProperty("webkitUserDrag",
"none");
contents.getElement().setPropertyBoolean("draggable", false);
(I tried "none" rather then false, but I think its supposed to be
false, I also tried just the last and just the first line)
Heres the result;
http://www.lostagain.nl//Panelstreamer%20Demo/panelstreamer.html#File=./psf/Layers.psc&X=4240&Y=2168
(try moving it about like you would googlemaps)
I think the problem is its being selected all the time. In Opera it
works fine, and I note nothing is selected.
On Oct 6, 6:30 pm, Thomas Broyer <[email protected]> wrote:
> On 6 oct, 14:34, ThomasWrobel <[email protected]> wrote:
>
> > reg "Basically is it possible for an image widget to be "transparent"
> > as
> > regards to click events, passing them to the panel under it?"
>
> > Sorry to bump this, but I haven't been able to find a solution myself
> > apart from very crude work-arounds.
> > It seems like something fundamental I should know how to do too...if
> > it exists.
> > So a confirmation/denial from someone would be nice :)
>
> AFAICT, when you start dragging the image it... starts dragging the
> image... AFAICT, you should be able to bypass this behavior setting
> the 'draggable' attribute (from the upcoming HTML5) to "false", and
> for WebKit (or at least, Safari) which exhibit a similar behavior, set
> the CSS style property -webkit-user-drag to none
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---