"RelaxoRy" <re******@postmaster.co.uk> wrote in message
news:3b**************************@posting.google.c om...
Is there any way to stop someone getting their mouse and
selecting text on a page (without making the text an image
of course). Is it possible to trap and stop click-and-drag
functionality from the mouse?
Bit of a stranger request but can it be done? :)
Yes and No. IE browsers have events like onselectstart and ondragstart
that can be cancelled, effectively inhibiting the selection of content.
Opera, on the other hand, has no mechanism for doing anything of the
sort.
You will have to explain why you want to prevent text selection because
you are probably attempting to solve the wrong problem and explaining
what the real problem is would enable people to suggest ways of solving
it.
Richard.