Tutorial Blogskin : Disable Highlight Text.

by - 2:43 PTG



Tumblr_mgbn9smrp31rsijfmo1_500_large
Assalamualaikukm :)

Lama sungguh dah tak buat tuto. jadi hari nie nak buat tuto untuk blogskin.. tuto disable highlight text.

Ikowt tuto dibawah :

1. Dashboard > Template.

2. Tekan Ctrl+F and cari code </head>

3. Kemudian copy code bawah nie .

<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>

4. Next,paste kan code tadi di atas code </head> .

5. Preview and save! :)

You May Also Like

2 Comments