Paul,  you might try setting the unselectable=yes attribute in IE, or the
-moz-user-select css property in Firefox.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Bakaus
Sent: Friday, January 26, 2007 7:54 AM
To: jQuery Discussion.
Subject: Re: [jQuery] Draggables preventing text select in IE

Hi there!

Since I'm writing the new draggables, I looked up many many solutions around
that problem.

It's a tough problem to fix text selection in a cross-browser matter,
because you have strange side effects. For example, if you do
ondragstart/onselectstart in IE, you select during drag if you do not return
false in mousedown/mousemove. But then, if you return false in IE in these
events, you cannot drag *out* of the browser window and back anymore. It's a
bit hard to explain, but if it has some need to you, I can do a demo.

-Paul


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to