[quote=oblack]malah error bro
ada yg lain gk
[/quote]
[b]edited[/b]
cba bagian dri kode yg d ksih pashya tdi:
[quote][color=red][b]function satuKolom(){[/b][/color]
document.getElementById("shimrow").style.display="none";
get_nextsibling(getElementByClassName("ltd")[0]).style.display="none";
getElementByClassName("ltd")[0].getElementsByTagName("ul")[0].innerHTML+=getElementByClassName("rtd")[0].getElementsByTagName("ul")[0].innerHTML;
getElementByClassName("rtd")[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;
}
[color=red][b]window.addEvent('domready', function(){satuKolom();});[/b][/color][/quote]
tuh d apus aj..
& taro d bagian A..
Last edited by Da BucKz (2008-10-29 07:10:57)