[quote=greenijo]malam semua abang2...
aq mo tanya nich gimana cara na buat >>>>
* Male, 23, Single
* Interested In: Friends
* Member Since: Feb 2007
* Profile Viewed: 42 times since 3/1/2008
* Location: Jambi, Jambi, ID
* Your URL [Edit] :
*
http://profiles.friendster.com/39318596
ada icon na n truz rata kiri kanan ato rata tengah...
[/quote]
edid iang aq [b]bold iaph[/b]
[quote]if (typeof CFNAMES == "undefined") { CFNAMES = {}; }
CFNAMES = {
getData: null,
sibling: null,
init: function() {
CFNAMES.getData = document.createElement("ul");
CFNAMES.getData.setAttribute("class","data");
CFNAMES.getData.innerHTML = "<li><span class=\"q\"><img src=\"[b]YOUR BULLET URL[/b]\"> [b]YOUR TEXT[/b]</span></li>"+
"<li><span class=\"q\"><img src=\"[b]YOUR BULLET URL[/b]\">[b] YOUR TEXT[/b]</span></li>"+
"<li><span class=\"q\"><img src=\"[b]YOUR BULLET URL[/b]\"> [b]YOUR TEXT[/b]</span></li>"+
"<li><span class=\"q\"><img src=\"[b]YOUR BULLET URL[/b]\"> [b]YOUR TEXT[/b]</span></li>"+
"<li><span class=\"q\"><img src=\"[b]YOUR BULLET URL[/b]\"> [b]YOUR TEXT[/b]</span></li>"+
"<li><span class=\"q\"><img src=\"[b]YOUR BULLET URL[/b]\"> [b]YOUR TEXT[/b]</span></li>"+
"<li><span class=\"q\">[b]My URL: [/b]</span>"+
"<a style=\"font-weight: normal;\" href=\"/[b]YOURUSERNAME[/b]\">[b]
http://profiles.friendster.com/YOURUSERNAME[/b]</a></li>";
CFNAMES.sibling = CFNAMES.getElementsByClassName(document.getElementById("content_0"),"ul","data")[0];
CFNAMES.sibling.parentNode.replaceChild(CFNAMES.getData,CFNAMES.sibling);
},
getElementsByClassName: function(oElm,sTag,sClass) {
var elm = [];
if (!oElm)oElm = document;
if (!sTag)sTag = "*";
var els = oElm.getElementsByTagName(sTag) || document.all;
for (var i=0,j=els.length;i<j;i++) {
if (new RegExp(sClass).test(els[i].className))elm.push(els[i]);
}
return elm;
}
};CFNAMES.init();[/quote]
[b]kotak[/b]
pake ini [quote]if (typeof CFNAMES == "undefined") { CFNAMES = {}; }
CFNAMES = {
getData: null,
sibling: null,
init: function() {
CFNAMES.getData = document.createElement("ul");
CFNAMES.getData.setAttribute("class","data");
CFNAMES.getData.innerHTML = "<li><span class=\"q\">[b]YOUR TEXT[/b]</span></li>"+
"<li><span class=\"q\">[b]YOUR TEXT[/b]</span></li>"+
"<li><span class=\"q\">[b]YOUR TEXT[/b]</span></li>"+
"<li><span class=\"q\">[b]YOUR TEXT[/b]</span></li>"+
"<li><span class=\"q\">[b]YOUR TEXT[/b]</span></li>"+
"<li><span class=\"q\">[b]YOUR TEXT[/b]</span></li>"+
"<li><span class=\"q\">[b]YOUR TEXT[/b]</span>"+
"<a style=\"font-weight: normal;\" href=\"/[b]YOUR TEXT[/b]\">[b]YOUR TEXT[/b]</a></li>";
CFNAMES.sibling = CFNAMES.getElementsByClassName(document.getElementById("content_0"),"ul","data")[0];
CFNAMES.sibling.parentNode.replaceChild(CFNAMES.getData,CFNAMES.sibling);
},
getElementsByClassName: function(oElm,sTag,sClass) {
var elm = [];
if (!oElm)oElm = document;
if (!sTag)sTag = "*";
var els = oElm.getElementsByTagName(sTag) || document.all;
for (var i=0,j=els.length;i<j;i++) {
if (new RegExp(sClass).test(els[i].className))elm.push(els[i]);
}
return elm;
}
};CFNAMES.init();[/quote]
Last edited by sekya (2008-03-11 10:01:27)