faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

7 of 19 people (37%) answered Yes
Recently 1 of 10 people (10%) answered Yes

Entry

Is it possible to turn off the selection of text and images when mouse key is kept pressed while moving around?

Apr 5th, 2008 19:03
ha mo, Daniel Ost, Niels Schneider,


If you're using IE, you have to disable event-propagation
during the mouse-move. This is doing by adding this
line of code inside your onmousemove-handler:
 event.returnValue = false;
If you're using Netscape, maybe a 'return false' will do the
same.
Greetings
Dan
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com