yeah yeah... I don't learn unless I get burned. I would like to point out that disabling selection in most circumstances is bad from a usability perspective.
On Wed, Aug 26, 2009 at 1:18 PM, Oskar Krawczyk <oskar.krawc...@gmail.com>wrote: > Starting to get the feeling that my messages are invisible? :-) > O. > > On 26 Aug 2009, at 18:58, Aaron Newton wrote: > > You can only accomplish this with css to my knowledge: > -moz-user-select: none; /* mozilla browsers*/ > -khtml-user-select: none; /* webkit browsers*/ > > You can also deselect the text (I think that element.focus() will do it), > but the user will see selection briefly. > > On Wed, Aug 26, 2009 at 10:06 AM, Eneko Alonso <eneko.alo...@gmail.com>wrote: > >> I would love to know that. It's specially annoying on sliders, when the >> user clicks next multiple times and the text and images get selected. >> >> >> >> On Wed, Aug 26, 2009 at 7:38 AM, ksamdev <ksam...@gmail.com> wrote: >> >>> >>> Hi, >>> >>> $( 'my_table_row').addEvent( 'dblclick': function( _event) { >>> _event.stop(); >>> >>> console.log( 'double click'); >>> }); >>> >>> Unfortunately on double click browser still performs default text >>> select. How to disable it? >>> >>> Checked in Safari 4, Firefox 3. Both have this problem. >> >> >> > >