/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if(window.ie || window.opera){this.lab.setProperty("unselectable","on");} if(window.gecko){this.lab.setStyle("MozUserSelect","none");} if(window.webkit){this.lab.setStyle("KhtmlUserSelect","none");}
URL: http://mediavrog.net/blog/2007/10/24/browser/markieren-von-text-abschalten-ohne-javascript-per-css/