[quote=redbloodx]ooo...ingatkan marah kt aku.. aku ni xmenyusahkan kau ke bro?[/quote]
xpe aku ni memang suka tolng org.....setakat yang aku mampu jela....
ilmu aku masih x banyak


wow tahniah fstalker....xdelah newbie lagi

jadi code kau akan jadi macam ni..
[spoiler]// BAGIAN A
Asset.css(http://h1.ripway.com/redbloodx/page.css);
//----------------------------------------
function onProfileLoad() {
// BAGIAN B (onload handler)
// var header="video";
var code="<object width=\"425\" height=\"344\"><param name=\"movie\" value=\"http://www.youtube.com/v/pwjKGZ8IeYs&hl=en&fs=1\"></param><param name=\"allowFullScreen\" value=\"true\"></param><param name=\"allowscriptaccess\" value=\"always\"></param><embed src=\"http://www.youtube.com/v/pwjKGZ8IeYs&hl=en&fs=1\" type=\"application/x-shockwave-flash\" allowscriptaccess=\"always\" allowfullscreen=\"true\" width=\"425\" height=\"344\"></embed></object>";
addBox(header,code,"custombox_346",/standalonebox[\s]*?ads/i);
}
//----------------------------------------
// BAGIAN C
if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};
function addBox(head,code,id,siblingafter) {
/*
head:
html string title
null - no header bar
code:
html string content
id:
unique string css pointer
siblingafter:
regexp classname
'left' - mainbar column end
'right' - sidebar column end
*/
try {
var li=document.createElement("li");
} catch(e) {
var li=document.createElement("<li>");
}
if(!head) head="";
else head="<h2>"+head+"</h2>";
li.innerHTML="<div id=\""+id+"\" class=\"commonbox "+id+"\">"+
head+
"<div id=\"content_"+id+"\">"+
code+
"</div>"+
"</div>";
if(siblingafter=="left") getElementsByClass(/commonbox[\s]*?controlpanel/i,null,"DIV")[0].parentNode.parentNode.appendChild(li);
else if(siblingafter=="right") getElementsByClass(/commonbox[\s]*?friends/i,null,"DIV")[0].parentNode.parentNode.appendChild(li);
else {
var si=getElementsByClass(siblingafter,null,"DIV")[0];
si.parentNode.parentNode.insertBefore(li,si.parentNode);
}
}
function getElementsByClass(searchClass,node,tag) {
var classElements = new Array();
if ( node == null )
node = document;
if ( tag == null )
tag = '*';
var els = node.getElementsByTagName(tag);
var elsLen = els.length;
var pattern = new RegExp(searchClass);
for (i = 0, j = 0; i < elsLen; i++) {
if ( pattern.test(els[i].className) ) {
classElements[j] = els[i];
j++;
}
}
return classElements;
}[/spoiler]
pastu save sebagai name.js atau nama.txt
xkisah apa pun. .gif pun boleh.
lepas upload dan dapatkan linknya