Wednesday, February 27, 2013

Re: How to disable drag and top on mouse move over image?

Hey,

even if this is a pretty old post, I had the same problem.

I used to fix it this way:

resizeImage.addMouseDownHandler(new MouseDownHandler(){
                    public void onMouseDown(MouseDownEvent event) {
                    event.preventDefault();
                    }
                    });

Does anyone know if this causes onmousedown="return false; ?

Nevertheless it would still be interesting how to set onmousedown="return false; directly.

Regards,
Manuel

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

No comments:

Post a Comment