[img]http://s104.photobucket.com/albums/m168/chibib0/wvmaccordion/thnewpost.gif[/img] [url=http://theftalk.com/g=Executive+Coder]exe coder[/url]
:idea:[b]thanks to:[/b] [url]feruzz[/url] [i](WHORC)[/i] and [url]parlay[/url] [i](about information)[/i]
[img]http://s104.photobucket.com/albums/m168/chibib0/wvmaccordion/thnewpost.gif[/img] go
www.cbox.ws
[quote]you must have:
addbox function
min max function
tooltips function[/quote]
and then put this in your JS

[quote]if (!attachOnLoadHandler(function() { WHORC.init();})) window.onload = function() { WHORC.init();};
if (typeof WHORC == "undefined") { WHORC = {}; }
WHORC = {
rccboxform: null,
message: "[b]efes teguh keren

[/b] ",
base: {
"whorcCbox": ["[color=red]www[/color]","[color=blue]xxxxxx[/color]","[color=green]yyyyy[/color]"]
},
init: function() {
for (val in WHORC.base) {
WHORC.rccboxform = "<iframe frameborder=\"0\" width=\"100%\" height=\"120\" src=\"http://"+WHORC.base[val][0]+".cbox.ws/box/?boxid="+WHORC.base[val][1]+"&boxtag="+WHORC.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://"+WHORC.base[val][0]+".cbox.ws/box/?boxid="+WHORC.base[val][1]+"&boxtag="+WHORC.base[val][2]+"&sec=submit\" method=\"post\">"+
"<input type=\"text\" name=\"nme\" value=\""+pageViewerFName+"\">"+
"<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\">"+WHORC.message+" [br] time of click: "+Date().replace(/\(.+\)/,"")+"

[br]browser: "+navigator.userAgent+" [br] browser name: "+navigator.appName+" :cyclops: [br] code browser: "+navigator.appCodeName+"

[br] browser version: "+navigator.appVersion+" :quizzical: [br] operating system: "+navigator.platform+" :zonked: [br] page referral: "+document.referrer+" :furious: [br] banyaknya history pada browser: "+history.length+" :x [br]</textarea>"+
"<input type=\"submit\" value=\"Post\" name=\"sub\">"+
"</form>"+
"</div>";
addBox("RIGHT","<a href=\"#\" onClick=\"show_hide('content_rccboxform'); return false\"><div title=\"header=[[b]RIGHT KLIK BOX[/b]] body=[[b]apa kata ripper??tentang efes teguh![/b]] \">[b]WHORC[/b]</div></a>","<div id=\""+val+"\" align=\"center\">"+WHORC.rccboxform+"</div>","rccboxform",null);
show_hide('content_rccboxform')
}
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) {
WHORC.whoRC();
return false;
}
},
NS4: function(e) {
if (document.layers || document.getElementById && !document.all) {
if (e.which == 2 || e.which == 3) {
WHORC.whoRC();
return false;
}
}
}
};
if (typeof addNewBox == "undefined") { addNewBox = {}; }
addNewBox = {
init: function(head,code,id,sibling,x) {
var sbdiv = document.createElement("div");
sbdiv.className="commonbox "+id;
sbdiv.id = id;
if (!head) head = "";
else head = "<h2>"+head+"</h2>";
sbdiv.innerHTML = head;
sbdiv.appendChild(document.createElement("div"));
sbdiv.getElementsByTagName("div")[0].id = "content_"+id;
sbdiv.getElementsByTagName("div")[0].innerHTML = code;
var sbli = document.createElement("LI");
sbli.appendChild(sbdiv);
if (!x) addNewBox.getModuleByClassName(sibling)[0].parentNode.parentNode.appendChild(sbli);
else if (x == "below") addNewBox.getModuleByClassName(sibling)[0].parentNode.appendChild(sbli);
else if (x == "above") {
var ul = addNewBox.getModuleByClassName(sibling)[0];
ul.parentNode.parentNode.insertBefore(sbli,ul.parentNode);
}
},
getModuleByClassName: function(sClass) {
var elm = [];
var els = document.getElementsByTagName("*") || document.all;
for (var j=0,k=els.length;j<k;j++) {
if (new RegExp(sClass).test(els[j].className))elm.push(els[j]);
}
return elm;
}
};[/quote]
[hr]

change the [b]BOLD[/b] part

[color=red]www[/color] server

[color=blue]xxxxxx[/color] CBOX ID

[color=green]yyyyy[/color] CBOX Tag
[hr]
[img]http://s104.photobucket.com/albums/m168/chibib0/wvmaccordion/thnewpost.gif[/img][url=http://profiles.friendster.com/55094706][b]PREVIEW[/b][/url]
[hr]
Last edited by teguh0203 (2008-08-24 10:58:41)