[quote=emink]makasih "
truz saiia mw nanya lagi ..
cara buat box baru buat gantiin google ads tdi ama jam gmn ya ??
rep plizz^^~[/quote]
Pake ini.
[spoiler]//Calender
var code="<br><embed pluginspage=\"http://www.adobe.com/go/getflashplayer\" src=\"http://www.yourminis.com/Dir/GetContainer.api?uri=yourminis/yourminis/mini:calendar\" FlashVars=\"height=183&width=210&xheight=193&xwidth=220&dayoffset=0&uri=yourminis%2Fyourminis%2Fmini%3Acalendar&swfurl=%2Fwidget%5Fcalendar%2Eswf&\" type=\"application/x-shockwave-flash\" allowScriptAccess=\"always\" wmode=\"transparent\" width=\"220\" height=\"193\"></embed><br>"+"<embed pluginspage=\"http://www.adobe.com/go/getflashplayer\" src=\"http://www.yourminis.com/Dir/GetContainer.api?uri=yourminis/yourminis/mini:clock\" FlashVars=\"height=100&width=240&xheight=110&xwidth=250&dlsave=0&uri=yourminis%2Fyourminis%2Fmini%3Aclock&swfurl=%2Fwidget%5Fclock%2Eswf&\" type=\"application/x-shockwave-flash\" allowScriptAccess=\"always\" wmode=\"transparent\" width=\"250\" height=\"110\"></embed>";
addBox(null,code,"custombox_613","right");
}
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]
Taro d C.
[quote=achmadmuadzin]
hafizgnx
ok deh bro thanks.
kirain ane ada yang terbaru lagi coz agak lambat punya sy apa js nya kali ya ye
btw, bro coba liet fs saya disini
ko object dock nya ga ada tulisannya ya?
itu lho tulisan logout or apalah gitu
[/quote]
Mgkin warna font tulisa nya hitam.
Sama dgn layot.
Jadi ga keliatan.