[quote=sekya]
[b]Bro dee[/b]
minta script ato thread bwad [b]WVM CBOX[/b] dun...[/quote]
wvm cbox v2.1 by feruzz:
[quote]if (!attachOnLoadHandler(function() { whoview();})) window.onload = function() { whoview();};
function whoview(){
WVMCBOX.init();
}
if (typeof WVMCBOX == "undefined") { WVMCBOX = {}; }
WVMCBOX = {
wvmcbox: [], message: ""+Date().replace(/\(.+\)/,"")+"",
base: {
"cboxdiv": ["[color=blue]www[/color]","[color=red]boxID[/color]","[color=green]boxtag[/color]"]
},
init: function() {
for (val in this.base) {
this.wvmcbox = "<iframe frameborder=\"0\" width=\"100%\" height=\"95\" 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=\"wvm_submit\" id=\"wvm_submit\">"+
"</iframe>"+
"<br />"+
"<div style=\"display:none\">"+
"<form id=\"cform\" target=\"wvm_submit\" 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+"\">"+
"<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>";
addNewBox.HTML("[b]Recent Visitor[/b]","<div id=\""+val+"\" align=\"center\">"+this.wvmcbox+"</div>","wvmcbox",/friends/i,"below");
}
if((pageViewerID != pageOwnerID) && (pageViewerID != "")) {
document.getElementById("cform").submit();
}
}
};
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]
edit bagian ini nya bro:
[color=blue]www[/color],[color=red]boxID[/color],[color=green]boxtag[/color]
ama [b]Recent Visitor[/b] buad header nya!
^_^
tapi d buad js external sndri..
trus pasang js injection nya d tracker kmu...
[quote]//wvmcbox
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "[b]URL JS WVMCBOX[/b]";
document.getElementsByTagName("head")[0].appendChild(myjs);[/quote]
smoga ngebantu!!
^_^