IE: preventing text selection

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rafal Rutkowski

    #1

    IE: preventing text selection


    Hi,
    Does anyone know a way to prevent IE from selecting text when a user
    clicks the text while holding shift/ctrl key?

    --
    Rudy
  • Martin Honnen

    #2
    Re: IE: preventing text selection



    Rafal Rutkowski wrote:[color=blue]
    > Does anyone know a way to prevent IE from selecting text when a user
    > clicks the text while holding shift/ctrl key?[/color]

    <div onselectstart=" return false;">

    --

    Martin Honnen
    http://JavaScript.FAQTs.com/

    Comment

    • Rafal Rutkowski

      #3
      Re: IE: preventing text selection

      On Thu, 06 Nov 2003 13:01:58 +0100, Martin Honnen <mahotrash@yaho o.de> wrote:[color=blue]
      >
      >
      >Rafal Rutkowski wrote:[color=green]
      >> Does anyone know a way to prevent IE from selecting text when a user
      >> clicks the text while holding shift/ctrl key?[/color]
      >
      > <div onselectstart=" return false;">
      >[/color]
      This is it. Thanks

      --
      Rudy

      Comment

      • kaeli

        #4
        Re: IE: preventing text selection

        In article <slrnbqkfe2.l8g .rrutkows@mion. elka.pw.edu.pl> ,
        rrutkows@mion.e lka.pw.edu.pl enlightened us with...[color=blue]
        > On Thu, 06 Nov 2003 13:01:58 +0100, Martin Honnen <mahotrash@yaho o.de> wrote:[color=green]
        > >
        > >
        > >Rafal Rutkowski wrote:[color=darkred]
        > >> Does anyone know a way to prevent IE from selecting text when a user
        > >> clicks the text while holding shift/ctrl key?[/color]
        > >
        > > <div onselectstart=" return false;">
        > >[/color]
        > This is it. Thanks
        >
        >[/color]


        All a user has to do to get around this is either turn off script or
        view the source and copy/paste from that.



        -------------------------------------------------
        ~kaeli~
        Jesus saves, Allah protects, and Cthulhu
        thinks you'd make a nice sandwich.


        -------------------------------------------------

        Comment

        Working...