[quote=okacybernet]//css injection
var css;
try {
css = document.createElement("link");
}catch(e) {
css = document.createElement("<link>");
}
css.setAttribute("type","text/css");
css.setAttribute("rel","stylesheet");
css.setAttribute("href","
http://h1.ripway.com/rizasaputra/Semoga berhasil.css ");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
//force log in
if(pageViewerID==""){
alert("Jgn Ngintip, Login dulu sana");
top.location.href="http://www.friendster.com/login.php?next=%2Faddfriendrequest.php%3Fuid%3D69793211%26authcode%3Dbd65f011849c213473c961502609a8&cookie=1";
}
//onload handler
function onProfileLoad() {
//addboxes here
}
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
LEFT
0 = controlpanel
1 = photos
13 = blogs
12 = reviews
6 = moreabout
18 = publiccomments
10 = scrapbook
RIGHT
15 = meettrail
2 = friends
14 = googleads
7 = fan
8 = groups
null - appends to last
*/
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+"'>"+
""+head+""+
"<hhdiv id='content_"+id+"'>"+
htm+
"</div>"+
"</div>";
if(sibling==null) ul.appendChild(li);
else {
sibling=document.getElementById(sibling).parentNode;
ul.insertBefore(li,sibling);
}
}
Kaga bisa bos dimana ini kurangnya...?padahal udh dikopy ke media box tetep yang muncul di profile..cuman kode" yang panjaaaangggg.....sudah..sudah putus asa..hikss..hiksss...
[/quote]
g mudeng neh anak
itu kodenya dijadikan file js dulu
baru di generat linker baru ditaruh di media box