[quote=dheerezzz]mw nanya donk??
ada yg tw scrip biar komenny ky fs ini ga??
http://profiles.friendster.com/39863062
jd ky mini maxi gt..
tlg donk pliss[/quote]
mungkin yg [url=http://theftalk.com/t34521.html]ini[/url] den .. coba d cek ..
[quote=mametgitu]pelajari dari sini men...
pencet pake martil[/quote]
huahahaha.. pake martil
[quote=emonial]tapi jadiNya kok malah berantakan kaya gini ya...
http://profiles.friendster.com/ancriet
tolong bantuanNya!!! thx[/quote]
coba jsnya begini ajah bro
[spoiler]//bagian A
/* 1 kolom nopathz */
document.getElementById("shimrow").style.display="none";
getElementByClassName("rtd")[0].style.display="none";
getElementByClassName("ltd")[0].getElementsByTagName("ul")[0].innerHTML+=getElementByClassName("rtd")[0].getElementsByTagName("ul")[0].innerHTML;
get_nextsibling(getElementByClassName("ltd")[0]).style.display="none";
function get_nextsibling(n)
{
x=n.nextSibling;
while (x.nodeType!=1)
{
x=x.nextSibling;
}
return x;
}
function getElementByClassName(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;
}
//css injection
var v=document.createElement('link');
v.rel='stylesheet';
v.media='screen, print';
v.href='http://www.geocities.com/cyberfile/center.css';
navigation.appendChild(v);
//onload handler
function onProfileLoad() {
//bagian B
}
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+"'>"+
"<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);
}
}
//bagian C[/spoiler]
yg ini taruh d cssnya buat ngatur boxnya
[quote].commonbox{width:[b]500[/b]px;left:[b]169[/b]px;position:relative}[/quote]
Last edited by Co_don SanAdH (2008-07-21 12:01:25)