Results 1 to 11 of 11
Like Tree1Likes
  • 1 Post By Fubarable

Thread: Disable Text Select without Disabling Right Click

  1. #1
    tetrabyteluke is offline Member
    Join Date
    Mar 2012
    Posts
    5
    Rep Power
    0

    Default Disable Text Select without Disabling Right Click

    Hi There,

    Sorry if this is in the wrong place, I couldn't find a forum for Java Script, or asking help on web development.

    I'm not great at java, (it's not my language) and don't really understand much about it's programming at all, so I'm looking for someone to help me with a basic script.

    I know enough to read the basics of what I'm looking at, and make small changes, but in terms of actually writing scripts I'm clueless...

    What I need is a script that will disable text select on screen, but will not disable right click.

    It's for a WordPress site. All the plugins I've found, don't do one without the other, even though it gives you the option to.

    I know this can be easily circumvented, and lessens the user experience, but it's for the subdomain of a private members blog, so making it a fun and wonderful user experience for the public is not a concern.

    It's what my boss has asked me to do, so my personal choice doesn't really matter in this case anyway.

    Your help would be appreciated.

    Thank you.

    Luke

  2. #2
    yellowledbet is offline Senior Member
    Join Date
    Feb 2011
    Location
    Georgia, USA
    Posts
    122
    Rep Power
    0

    Default Re: Disable Text Select without Disabling Right Click

    Java and JavaScript are completely different languages.
    Java vs. JavaScript

  3. #3
    tetrabyteluke is offline Member
    Join Date
    Mar 2012
    Posts
    5
    Rep Power
    0

    Default Re: Disable Text Select without Disabling Right Click

    So you don't have anywhere for Javascript on here? :/

    I know they are different, but i thought people who do Java would be more than capable of writing javascript which is much simpler?

    Okay my bad!

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default Re: Disable Text Select without Disabling Right Click

    Quote Originally Posted by tetrabyteluke View Post
    So you don't have anywhere for Javascript on here? :/

    I know they are different, but i thought people who do Java would be more than capable of writing javascript which is much simpler?

    Okay my bad!
    And I thought that people who spoke English automatically would be capable of speaking Spanish since it is a phonetically cleaner language.

    It's not a matter of "simpler" but one of knowledge base.

  5. #5
    tetrabyteluke is offline Member
    Join Date
    Mar 2012
    Posts
    5
    Rep Power
    0

    Default Re: Disable Text Select without Disabling Right Click

    lol, okay mate, chill pill needed i think :)

  6. #6
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default Re: Disable Text Select without Disabling Right Click

    Quote Originally Posted by tetrabyteluke View Post
    lol, okay mate, chill pill needed i think :)
    And you have our permission to take one.

  7. #7
    yellowledbet is offline Senior Member
    Join Date
    Feb 2011
    Location
    Georgia, USA
    Posts
    122
    Rep Power
    0

    Default Re: Disable Text Select without Disabling Right Click

    The most astonishing part of this entire thread is that you have a job as a programmer and you think that a Java forum is an appropriate place to ask a question about JavaScript. How is that possible?

  8. #8
    tetrabyteluke is offline Member
    Join Date
    Mar 2012
    Posts
    5
    Rep Power
    0

    Default Re: Disable Text Select without Disabling Right Click

    I was referring to you, you're being rude and obnoxious, the fact that you have been put into the position of a moderator on this forum, does not not give off the best image.

  9. #9
    tetrabyteluke is offline Member
    Join Date
    Mar 2012
    Posts
    5
    Rep Power
    0

    Default Re: Disable Text Select without Disabling Right Click

    Because I'm a web developer and I'm more design based maybe? I've asked to be deleted, I do not wish to cause upset, and do not wish to be a member of a forum that lacks manners
    Last edited by tetrabyteluke; 03-29-2012 at 05:57 PM.

  10. #10
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default Re: Disable Text Select without Disabling Right Click

    Quote Originally Posted by tetrabyteluke View Post
    I was referring to you, you're being rude and obnoxious, the fact that you have been put into the position of a moderator on this forum, does not not give off the best image.
    What about my posts are rude and obnoxious? You'll need a thicker skin perhaps.

  11. #11
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default Re: Disable Text Select without Disabling Right Click

    Quote Originally Posted by tetrabyteluke View Post
    Because I'm a web developer and I'm more design based maybe? Jesus you people are real doucebags!
    OK, now you're being rude and obnoxious. Time to end this thread and ban you.
    DarrylBurke likes this.

Similar Threads

  1. Replies: 5
    Last Post: 02-16-2012, 05:16 PM
  2. Enable/Disable Text Field upon checking check box
    By DGates in forum New To Java
    Replies: 2
    Last Post: 01-26-2012, 01:07 AM
  3. Replies: 1
    Last Post: 06-27-2011, 06:11 PM
  4. Disable copy paste in SWT Text Component
    By subysri in forum SWT / JFace
    Replies: 1
    Last Post: 09-18-2010, 10:11 AM
  5. Is it possible to highlight/select text in a JTextArea
    By AJArmstron@aol.com in forum New To Java
    Replies: 29
    Last Post: 04-29-2010, 07:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •