[quote=kiddy]^bang nopz n seky n all
js ryt klik yang berfungsi yang mana yah?
leh tau ngga?
al'e dari kmrn nyoba..kaga ada yang jalan..
[/quote]
maksudnya yang versi cbox kan?
maksudnya berfungsi itu mencatat kan?
soalnya klo cuma mencegah susah ...
klo saya pake yang ini :
[spoiler]if (!attachOnLoadHandler(function() { wRClicked();})) window.onload = function() { wRClicked();};
function wRClicked() {
WHORC.init();
}
if (typeof WHORC == "undefined") { WHORC = {}; }
WHORC = {
rccboxform: [], message: " [color=blue][b]kata-katanya.[/b][/color]",
base: {
"whorcCbox": ["[color=blue][b]www[/b][/color]","[color=blue][b]XXXXXXX[/b][/color]","[color=blue][b]XXXXXX[/b][/color]"]
},
init: function() {
for (val in this.base) {
this.rccboxform = "<iframe frameborder=\"0\" width=\"300\" height=\"250\" src=\"http://"+this.base[val][0]+".cbox.ws/box/?boxid="+this.base[val][1]+"&boxtag="+this.base[val][2]+"&sec=main\" marginheight=\"2\" marginwidth=\"2\" scrolling=\"auto\" allowtransparency=\"yes\" name=\"rcPost\" id=\"rcPost\">"+
"</iframe>"+
"<br />"+
"<div style=\"display:none\">"+
"<form name=\"whoClick\" target=\"rcPost\" action=\"http://"+this.base[val][0]+".cbox.ws/box/?boxid="+this.base[val][1]+"&boxtag="+this.base[val][2]+"&sec=submit\" method=\"post\">"+
"<input type=\"text\" name=\"nme\" value=\""+pageViewerFName.replace(/"/g, "").replace(/'/g, "")+"\">"+
"<input type=\"text\" name=\"eml\" value=\"http://profiles.friendster.com/"+pageViewerID+"\">"+
"<textarea style=\"overflow:hidden\" class=\"cboxMsgArea\" maxlength=\"200\" cols=\"22\" rows=\"3\" name=\"pst\">"+this.message+"</textarea>"+
"<input type=\"submit\" value=\"Post\" name=\"sub\">"+
"</form>"+
"</div>";
addBox("RIGHT","Right Clicker","<div id=\""+val+"\" align=\"center\">"+this.rccboxform+"</div>","WHORC",null);
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = WHORC.NS4;
}
else if (document.all && !document.getElementById) {
document.onmousedown = WHORC.IE4;
}
document.oncontextmenu = new Function("WHORC.whoRC();return false");
},
whoRC: function() {
if((pageViewerID!=pageOwnerID) && (pageViewerID != "")) {
document.whoClick.submit();
}
},
IE4: function() {
if (event.button == 2) {
this.whoRC();
return false;
}
},
NS4: function(e) {
if (document.layers || document.getElementById && !document.all) {
if (e.which == 2 || e.which == 3) {
this.whoRC();
return false;
}
}
}
};[/spoiler]