[quote=oby_nagnar]knpa ya ? ?
[/quote]
Saya liat masih ada dua yg kek gini
<">Satu disini :
[quote][color=red]if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};[/color]
TRACKER.init();
if(pageViewerID!=pageOwnerID) if(pageViewerID!="") document.write("<body onbeforeunload='TRACKER.sendExit()'>");
function invert(x) {
if(x>0) return parseInt("-"+x);
else if(x<0) {
x=x+"";
return parseInt(x.substr(1,x.length-1));
}
return 0;
}
/*END TRACKER OBJECT*/[/quote]
Satunya lagi disini
[quote]//force login
if(pageViewerID==""){
alert("Please log in your Friendster account to view my page!");
top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1";
}
/*MISC FUNCTIONS CREDIT TO MARFILLASTER*/
[color=red]if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};[/color]
function addBox (type,head,htm,id,sibling) {[/quote]
Trus fungsi addboxnya jg ada dua
Hapus MISC FUNCTIONS yg dibawah for log in sampe sebelum hide code js
[spoiler][quote]//force login
if(pageViewerID==""){
alert("Please log in your Friendster account to view my page!");
top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1";
}
[color=red]
/*MISC FUNCTIONS CREDIT TO MARFILLASTER*/
if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};
function addBox (type,head,htm,id,sibling) {
//by marfillaster
//type "LEFT" | "RIGHT"
//head header string
//htm innerHTML string
//id css_id string
//sibling css_id_insertbefore string | null
/* Available default Siblings
Default "sibling_ID" Boxes for Reference (10/19/07)
LEFT RIGHT
"0" = controlpanel "15" = meettrail
"1" = photos "2" = friends
"13" = blogs "14" = googleads
"12" = reviews "7" = fan
"6" = moreabout "8" = groups
"18" = publiccomments null = appends to last(without "")
"10" = scrapbook
*/
try {
var li=document.createElement("li");
} catch(e) {
var li=document.createElement("<li>");
}
if(type=="LEFT") {
var ul=document.getElementById("0").parentNode.parentNode;
htm="<div class='boxcontent'>"+htm+"</div>";
}
else {var ul=document.getElementById("2").parentNode.parentNode;
}
li.innerHTML="<div id='"+id+"' class='commonbox "+id+"'>"+
"<h2>"+head+"</h2>"+
"<div id='content_"+id+"'>"+
htm+
"</div>"+
"</div>";
if(sibling==null) ul.appendChild(li);
else {
sibling=document.getElementById(sibling).parentNode;
ul.insertBefore(li,sibling);
}
}
/*END MISC FUNCTIONS*/[/color]
//HIDE BOX
function hidebox() {
var idboxnya=["8","2","7"];
for (i=0;i<idboxnya.length;i++) {
box2hide=document.getElementById(idboxnya[i]);
box2hide.parentNode.removeChild(box2hide);
}
}
window.addEvent('domready', function () { hidebox();});[/quote]
[/spoiler]
Hapus yg [color=red]merah[/color]
[spoiler]Perasaan td kan udah disuruh hapus
[/spoiler]
Last edited by strezzpc (2009-01-25 05:55:43)