Only Your ;
ABOUT ENTRY Tutorial linkies Goodies REQUEST TIPS follow
Toturial Disable Highlight
Wednesday, June 20, 2012 0 Comments
Assalamualaikum

Hey peeps koranngg sehat ke tidak ? Syukur laa kalau sehat . Hanah tak berapa nak sihat laa . kesian kan . tapi lau pun tengah demam hanah rajinkan diri buat toturial untuk para blogger yang baru :) . totu ni akan buat entry di blog anda tidak akan di copy atau ditiru oleh orang lain . korang pun mesti takut kan kalau ada orang yang tak berguna copy entry korang . so cara nak selesai masalah ni . Jum tengok totu ni ;)

Step1-->Dashboard->Design->Page element->Add gadget->HTML/javascripts

Step--> Sila copy code dibawah ni dan pastekan di HTML/javascripts

<script type="text/javascript">

/***********************************************

* Disable Text Selection script- &#169; 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"

</script>

<script type="text/javascript">

disableSelection(document.body) //disable text selection on entire body of page


</script>

Step3-->Save ..

Okay that all dear :)

Kalau ada apa apa masalah sila inform yaw di comment blog ni :) terima kasih

PASTFUTURE
Farhanah!

Nama tuan blog ni Nurul Farhanah Binti Efendi.Age 18 years old oh my god sudah besar rupanya haha :) In Engaged with Khairudin and this is my first and last blog lovely . My blog born 05/7/2010.Btw thanks singgah sini yea . Please don't copy cat or copy pig . Wanna exchange link ? Bagitahu je di cbox . Maseh . Hope yours enjoy .
Find Me At :

Chatbox!



Ask.Fm!


Thanks to!

Layout by mymostloved My cursos , background , header and all things in my blog are my made .. Re-edit by me. Help by Si comel,Thanks so much to them because help hanah:)Best view in google chrome.

Past!