[quote=lessut]bang ajarin ak
dunk,,
gmn cara buat fs yg
keren abis,,
tp tunjukin ak caranya
dari awal,,
klo bisa secara detail,,
soalnya ak baru gabung bg,,
[/quote]
[u]pertama[/u] gw bukan abang2..
ok..silakan masuk kesini dlu yah
[url=http://theftalk.com/t23371-FORUM-RULES.html]RULES[/url]
lalu, mulailah pelajari ini
[url=http://theftalk.com/t36526-Compiled-Tutorials-%3A-Tweak-FS-(CSS-and-JS).html][b]spesial buat kamu[/b][/url]
[quote=zhakeyen]duh cara anti klik kanan kiri yg paling simple yg mana ya bang..tapi d coba semua'a ga bisa bang apa salah scrip...cuz aq taru d bangian C sesuai petunjuk[/quote]
emang kamu pake no right klik yg gimana??
kalo yg pake message nich
[spoiler]/***** no right klik pake pesan *****/
window.onload = function(){
riteclkedmsg();
};
<!--
var riteclkmsg = 'Eh, ngapain tuh...'
var riteclkmsg1 = 'apa yang kau lakukan '+pageViewerFName+'???'
var riteclkmsg2 = 'jagan lakukan lagi '+pageViewerFName+'!!!'
var riteclkmsg3 = 'gak akan bisa klik kanan lu...'
var currentrclk = Math.floor(Math.random()*5);
var timerrclk = 0;
function initShout(n) {
this.length = n;
for (var i =1; i <= n; i++) {
this[i] = ' '
}
}
riteclkedmsgs = new initShout(5)
riteclkedmsgs[0]=riteclkmsg;
riteclkedmsgs[1]=riteclkmsg1;
riteclkedmsgs[2]=riteclkmsg2;
riteclkedmsgs[3]=riteclkmsg3;
riteclkedmsgs[4]=riteclkmsg4;
function riteclkedmsg() {
riteclkedmsgs[currentrclk];
if (currentrclk > 3) {
currentrclk=0;
}
if (currentrclk < riteclkedmsgs.length-1) {
currentrclk++
setTimeout("riteclkedmsg()", timerrclk);
}
}
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(riteclkedmsgs[currentrclk]);
return false;
}
}
function clickNS4(e){
if (window.parent.document.layers||window.parent.document.getElementById&&!window.parent.document.all){
if (e.which==2||e.which=
){
alert(riteclkedmsgs[currentrclk]);
return false;
}
}
}
if (window.parent.document.layers){
window.parent.document.captureEvents(Event.MOUSEDOWN);
window.parent.document.onmousedown=clickNS4;
}
else if (window.parent.document.all&&!window.parent.document.getElementById){
window.parent.document.onmousedown=clickIE4;
}
window.parent.document.oncontextmenu=new Function("alert(riteclkedmsgs[currentrclk]);return false;")
// -->
[/spoiler]
taronya di C yah..
Last edited by venusvhie (2008-08-07 07:52:24)