Solved

Disable highlight and drag...

Posted on 2004-04-28
5
5,734 Views
Last Modified: 2007-12-19
Hi guys,

How can I disable the highlight and drag option? What I am asking is how can I prevent someone from highlighting text
on a page and then dragging that text into another program?

Sincerely,
Brandon
0
Comment
Question by:brandonpowell
  • 3
5 Comments
 
LVL 63

Expert Comment

by:Zvonko
ID: 10940843
Like this:

<body ondragstart="return false">

0
 
LVL 63

Accepted Solution

by:
Zvonko earned 500 total points
ID: 10940875
Sorry, better is this:


<body onselectstart="return false">

0
 
LVL 4

Expert Comment

by:apprenti
ID: 10948266
Ensure that only M$IE is installed, find a way of disabling Tools, and cross your fingers.
0
 

Author Comment

by:brandonpowell
ID: 10952392
Thanks so much for your help...

Sincerely,
Brandon
0
 
LVL 63

Expert Comment

by:Zvonko
ID: 10952725
You are welcome.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Allow tab to be displayed without being clicked and active color border changed 2 33
How to reload page and grab querystring 2 24
jQuery Scroll To Top 5 40
Html Newline 7 21
The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question