Pages

Spread the words.

Daily Prophet.
SUNDAY : kita tukar skin

Saturday, March 19, 2011

Tutorial : Disable Highlighting Text

A.J na wt tutorial lah airnyh . Sbb ade org request , nme dye lah ta ingat . Tpi dah lama dah . A.J dh jnji ngn dye . so , i'll just do it . Dye anta kt email je . Sorry . Klau korng tak nak blog korang dcuri , so boleh lah ikut step ny . Klau ikot comfirm jadi .
So , i google this , i didn't stole it . Well , the real code doesn't work for me , I change some of the code .

SO here we go :

  • Dashboard/Design/Edit HTML/

  • Download Full Template[ni penting , kalau korng silap buat , at least ade back up lgi]

  • CTRL+F : <head> Or <title>
  • pilih lah salah satu . 
  • Pastu korang COPY+PASTE code ny dkt bwah <head> Or <title> tadi .


<SCRIPT TYPE="text/javascript">
<!--
//Disable select-text script (IE4+, NS6+)
//visit http://www.rainbow.arch.scriptmania.com/scripts/
///////////////////////////////////
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
// -->
</SCRIPT>

  •  PREVIEW/SAVE. done . GOOD LUCK .

0 comments: