Sunday, September 16, 2012

Re: How to disable default text selection behavior?

works great, thanx!

kara

On Wednesday, February 20, 2008 10:10:50 AM UTC-5, melody wrote:
Darrel

Can you please show an example usage, particularly what the CSS (style
setStyleName(elem, "my-no-selection", disable)) my_no_selection
entails and how it contributes to the whole no selection thing.

Why do you need both GWT style setStyleName and then the native JSNI
code to for it to work?

Does it work in all browsers.

I use a similar function as shown in this thread
http://groups.google.com/group/Google-Web-Toolkit/browse_frm/thread/baecd1619301b09e/cf74f1495dbb47ce?lnk=gst&q=melody#cf74f1495dbb47ce

which works just fine in IE but does not quite work in FireFox (have
not tried Opera and Safari).

Thanks,

Melody

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/amSnIdurwTEJ.
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