D'LAXY ADORIS
~ CLICK ~
LAST CALL: FREE seats from AirAsia, promo ends 16 November 2014!
It's obvious that something's wrong when doctors behave like this…
Winner of the world’s RICHEST team badminton championship will walk away with USD1,000,000!
4 Girls And A Guy Share Their Reviews Of The Supplement That Helped Clear Their Acne
[0:22] It all happened in just 3 seconds… They really didn’t see it coming!
TALK HERE BLOG ARCHIEVE
CREDITS
| Tutorial : Blog tak boleh highlight
Hope korang tahu la . Nak tunjuk contoh , takde contoh la nak tunjuk . Buat je la . Ikut tuto kat bawah . Kalau tak nak buang .
# dashboard >> design >> add a gadget >> HTML/javascript .
# copy code nie .
<script type="text/javascript"># paste dalam kotak HTML/javascript. save 11:08 am |
0 Comment(s)
|
<script type="text/javascript"># paste dalam kotak HTML/javascript. save
/***********************************************
* 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>