Tutorial : Disable Highlight Text ( Blogskin )
Search Code
</head>
Copy This Code :
<script type="text/javascript">
/***********************************************
* THIS IS DISABLE HIGHLIGHT TEXT SCRIPT
* YOU CAN REMOVE THIS CODES IF YOU WANT
* Credits http://www.dynamicdrive.com/
***********************************************/
//form tags to omit in NS6+:
var omitformtags=["input", "textarea", "select"]
omitformtags=omitformtags.join("|")
function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}
function reEnable(){
return true
}
if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}
</script>
Then , Paste Di Atas Code
</head>
Post a Comment