Fly High !


Photos and videos

Tweet to FiezaSya

Who follow me

Tweets Trend

# Contest Blog Saya Terbaikkk !
# perempuan dan kerenahnya
# Tips-tips sebelum hadapi hari peperiksaan
# revolusi dari PINK ke MERAH
# mafkan aku . aku pilih suka dari cinta
# tutorial youtube player kat sebelah header (versio...
# tutorial youtube player (version 1)
# pelajar dan cuti memang serasi !
# menang contest gambar desktop paling cun ?
# my fear is over !
© 2014 By Fiezasya . Inspired by Twitter
All right reserved . All contents in this blog are owned by me . Respect the owner or you just leave. Contact me Email Facebook Twitter
tutorial disable dragging images

Tuesday, November 15, 2011 | 6:15 PM



disable drag image nie utk xnak bagi org lain curi gambar kita .
walaupun kita dah letak disable right click ,
tapi org still boleh ambik gamba kita dgn drag picture kt tab . fakta nie .
tau ke tak ? aku tak buat kat blog aku . xda contoh nak tunjuk . bole try sendiri .

pegi dashboard  design  edit template

 cari code (tekan CTRL + F)

 copy code kat bawah nie

<SCRIPT TYPE="text/javascript">
<!--
//Disable right click script
//visit http://www.rainbow.arch.scriptmania.com/scripts/
var message="Sorry, right-click has been disabled";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</SCRIPT>
<script type="text/javascript">
document.ondragstart = function () { return false; }; </script>

 paste kat bawah . kat bawah tau .
 preview dulu . then save . jadi tak ?

sumber coding : from encik google

Labels:


0 Hashtag



← OLDER
NEWER →