onselect="javascript:return false;"
place your unselectable text within a <span> and assign the above event to
the span.
Don't forget to test if the client has scripting enabled <noscript>"You must
have scripting enabled to use this page.... </noscript>
PS. I think the event is onselect or it could be onselectstart..
Regards.
"Nathan Sokalski" <njsok...@hotmail.com> wrote in message
news:e1L0pDJr...@TK2MSFTNGP05.phx.gbl...
"Rob ^_^" <iecust...@hotmail.com> wrote in message
news:%23siOHMK...@TK2MSFTNGP03.phx.gbl...
Other ideas discussed here:
http://www.codingforums.com/archive/index.php?t-45312.html
http://www.javascriptkit.com/dhtmltutors/csscursors.shtml - see example #3
at the bottom of the page
--
Jon R. Kennedy MS MVP/IE
Charlotte, NC USA
jken...@carolina.rr.com
"Nathan Sokalski" <njsok...@hotmail.com> wrote in message
news:e1L0pDJr...@TK2MSFTNGP05.phx.gbl...
But they do leave it cached and don't even disable View Source
so you can inspect it if you want. <eg>
>
> Other ideas discussed here:
> http://www.codingforums.com/archive/index.php?t-45312.html
I'm glad that the responders try to point out the ultimate futility of the exercise.
>
> http://www.javascriptkit.com/dhtmltutors/csscursors.shtml - see example #3
> at the bottom of the page
Ctrl-a,Ctrl-c captures that.
---
Try placing nested spans with selection turned on or off as required or
Turn selection off for the document body and place spans around the text
that you do want to allow selection on with selection enabled.
Don't know what you are trying to stop users from doing? Its almost
impossible to stop a determined hacker from gaining a copy of your html
source.
Regards.
"Nathan Sokalski" <njsok...@hotmail.com> wrote in message
news:O1gmdkPr...@TK2MSFTNGP02.phx.gbl...
"Rob ^_^" <iecust...@hotmail.com> wrote in message
news:eBFE79jr...@TK2MSFTNGP03.phx.gbl...
"Jon Kennedy" <jken...@carolina.rr.com> wrote in message
news:uVjW1SUr...@TK2MSFTNGP05.phx.gbl...