Hi Aaron, thanks for the response.. I searched on Google, but maybe I was searching for the wrong stuff. Plus, I kind of remember having talked about this here before.. so I though someone may remember it. I know IE has support for onselectstart event, but I haven't find anything like that in other browsers.
Either way, that link rocks :) On Tue, Jan 12, 2010 at 4:11 PM, Aaron Newton <[email protected]> wrote: > 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? >> > >
