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?

8 of 9 people (89%) answered Yes
Recently 3 of 3 people (100%) 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, sh, Niels Schneider,


hi !
>>>Is it possible to turn off the selection of text and images when 
mouse key is kept pressed while moving around?  
Of course it is possible, using onmousedown for your BODY tag, then you 
can go: if(event.button==1) document.yourForm.selection.empty()/clear();
you can place it to a function so you can modify more props of 
elements..
-sh
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