V A M P I R EC U L L E N ' S F R I E N D ' S F A C E B O O K T W I T T E R D I A R I E SBACK
Tutorial - Disable text
Thursday, December 1 , 1 Comment


Hello hello everyone :D Today, I in mood to do some tutorial for readers.Hahaha. It so tired today. Naaa'aahhhh! I have to do this tutorial before Nada Cinta begin. HAHAHA! It's easy tutorial readers. Let start :D

*P/s : This tutorial is made by Wawa so if you wanna credit, credit to her not me :)

1. Dasboard - Design - Add a gadget - Html

2. Copy the code below and paste it on the html :


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

3. Done! Press save button. Easy right? Hehehe :) 
The Cullen

Hi. I'm Cullen. My age is 150 years old and will become 160 years old on 2013. I used to be a kind vampire which is I will suck animal blood rather than human blood. I can read peoples mind. And YOU , yes you I'm pointing my finger to you. I know you're kind. You just wanna visit and read my blog. Thanks :) And to YOU , I know you want to copy my code! Don't you dare to copy or not you will unconditionally get killed by me! Watch out your manners, dude! And, don't you try to open my page source. You know what the risk ins't it? So, I think this will make you clear and understand. Welcome to Cullen's page :)



The Swan

You can call me, talk to me cause I'm a part of human. Turn into full vampire if a vampire girl married me.





Credit
Skin Made By : HafizZulkafly. Others xx


« NEWEST // OLDEST »