Pages: 12

  2008-06-21 05:20:52

dekha_21
» FTalkManiac
FTalk Level: zero
793
0
1969-12-31

[b][color=red]Disable Right Click on Images[/color][/b] :arrow: Izin share, tutup aja kalo gk menarik en dah prnah dishare... :arrow: Credids: [url=www.dynamicdrive.com/]Dynamic Drive[/url] :arrow: P

[b][color=red]Disable Right Click on Images[/color][/b] :arrow: Izin share, tutup aja kalo gk menarik en dah prnah dishare... :arrow: Credids: [url=www.dynamicdrive.com/]Dynamic Drive[/url] :arrow: Preview: [b]Temporarily Disabled[/b] :arrow: Compatible With : FF1+ and IE5+ :arrow: Gunanya : Ngedisable Klik Kanan pada gambar di profil kita supaya gambarnya gk bisa dicolong orang... hehe... :arrow: Caranya, Cuma copas kode dibawah ini ke bag. C / bag. bawah JS kalian: [spoiler] /* Disable right click script II (on images)- By Dynamicdrive.com For full source, Terms of service, and 100s DTHML scripts Visit http://www.dynamicdrive.com */ var clickmessage="[b]Right click disabled on images![/b]" function disableclick(e) { if (document.all) { if (event.button==2||event.button==3) { if (event.srcElement.tagName=="IMG"){ alert(clickmessage); return false; } } } else if (document.layers) { if (e.which == 3) { alert(clickmessage); return false; } } else if (document.getElementById){ if (e.which==3&&e.target.tagName=="IMG"){ alert(clickmessage) return false } } } function associateimages(){ for(i=0;i<document.images.length;i++) document.images[i].onmousedown=disableclick; } if (document.all) document.onmousedown=disableclick else if (document.getElementById) document.onmouseup=disableclick else if (document.layers) associateimages() [/spoiler] [u] Edit yg ditebelin....[/u] [hr][hr] [b][color=red] Randomized Text Splitter [/color][/b] :arrow: Credid : [url]javascript.internet.com[/url] :arrow: Fungsinya buad text yang warna dan ukurannya bisa diacak baik itu melalui kata ataupun huruf :arrow: Code (Masukkin di file berekstensi html) : [spoiler] <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Rich Trowbridge --> <!-- Begin function randomise(){ var words=document.myform.wordlist.value; var spacer=""; words=words.split(document.myform.randomiseby.options[document.myform.randomiseby.selectedIndex].value) document.myform.code.value=""; var colourscheme=new Array("0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F") for(var time=0;time<=(words.length-1);time++){ if(words[time]==" "){document.myform.code.value+=" "} if(words[time]!=" "){ spacer=document.myform.randomiseby.options[document.myform.randomiseby.selectedIndex].value; var c1=Math.round(Math.random()*(colourscheme.length-1)); var c2=Math.round(Math.random()*(colourscheme.length-1)); var c3=Math.round(Math.random()*(colourscheme.length-1)); var c4=Math.round(Math.random()*(colourscheme.length-1)); var c5=Math.round(Math.random()*(colourscheme.length-1)); var c6=Math.round(Math.random()*(colourscheme.length-1)); var size=1+Math.round(Math.random()*6); document.myform.code.value+="<font color=\"#"+colourscheme[c1]+colourscheme[c2]+colourscheme[c3]+colourscheme[c4]+colourscheme[c5]+colourscheme[c6]+"\" size=\""+size+"\">"+words[time]+"</font>"+spacer+""; } } looks_like.innerHTML=document.myform.code.value; } // End --> </script> </HEAD> <BODY> <center><br><b><font color="#ff0000" size="6">Randomized Font Color And Size</font></center></b><br><br> <div align="center"> <form name="myform" action="javascript:randomise()"> <b>Write Text Here</b><br> <input name="wordlist" value="Dekha Ganteng Selalu Setiap Saat" size="50"> <br> <b>Select Option</b><br> <select name="randomiseby"> <option value="">Randomize by letter</option> <option value=" ">Randomize by word</option> </select><br><br> <input type="submit" value="Do it Now"> <br><br> <span id="looks_like"></span> <br><br> <textarea name="code" rows="5" cols="50"></textarea> </form> </div> <center><b> You Can Paste The Code On <br>Media Box, About Me, Who I Want To Meet or Others you Need..</b></center> </body> [/spoiler] Preview: [b]Temporarily Disableed[/b] [b]That's All...[/b]

Last edited by dekha_21 (2008-08-17 23:14:18)

Pages: 12

Board footer

© 2025 F Talk

Current time is 12:09

[ 12 queries - 0.014 second ]
Privacy Policy