D a v e  T h o r n s e n  P h o t o g r a p h y

hornsen Photography

 
 
     

 

 

contact dave

biography

dock series

other photos

 

 

 

     
     
previous                              next
             
 
     
       
       
       
       
       
       
       
       
       
       
       
                     
                     
                     
                     
                     
/*********************************************** * Disable Text Selection script- © Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code ***********************************************/ //function disableSelection(target){ //if (typeof target.onselectstart!="undefined") //IE route //target.onselectstart=function(){return false} //Else if (typeof target.style.MozUserSelect!="undefined") //Firefox route //target.style.MozUserSelect="none" //Else //All other route (ie: Opera) //target.onmousedown=function(){return false} //target.style.cursor = "default" //} //Sample usages //disableSelection(document.body) //Disable text selection on entire body //disableSelection(document.getElementById("mydiv")) //Disable text selection on element with id="mydiv"