this is totally a jerk move, but it's funny, so I'm going to do it anyway:

http://tinyurl.com/ye4gv6u

But to answer your question, you have a few directions.

First, there's a custom css instruction for Firefox that works great:

-moz-user-select: none;

For IE and other browsers you can add a click event that prevents default
 on mouse-down. Another alternative is to set the background selection text
to be equal to the background of the element (if it's a solid color). Stuff
like that. Again, Google has most of these right there in the first few
results.

-a

On Tue, Jan 12, 2010 at 3:55 PM, Eneko Alonso <[email protected]>wrote:

> I think I saw it on this list, somebody mentioning how to prevent the
> browser from selecting the text when doubleclicking on a slider arrow
> button, or something like that.
>
> Any ideas?
>

Reply via email to