[quote=vetra9]tolong bantuin gw donk knapa kok fs cow gw gk satu kolom yah?
ni fs dia
HERE
dan ini Js'a
http://h1.ripway.com/vetra2b/Master.js
tolong donk bntuin gw ngecek...
cz gw sendiri kesulitan nie...
maaf yah merepotkan semuanya tp tolongin gw please...
yg bisa tolongin gw bakalan gw kasih hadiah ntar...
[/quote]
solving --->
[spoiler]liat d css'a..:
[spoiler].commonbox {
position: relative;
left: [color=green][b]320[/b][/color]px!important;
overflow: hidden;
width: 490px;
}[/spoiler]
itu kebanyakan.... dikurangin aj klo mw...
& d js'a , tro kode ini:
[spoiler]document.getElementById("[b]0[/b]").parentNode.appendChild(document.getElementById("2"));
document.getElementById("[b]18[/b]").parentNode.appendChild(document.getElementById("7"));
document.getElementById("[b]7[/b]").parentNode.appendChild(document.getElementById("8"));[/spoiler]
itu yg sya tebelin, itu bwt menentukan posisi box'a.....
klo mw dgnti posisi'a, gnti aj dngn idbox'a....
ex. jdi klo mw bkin kolom group d atas photo gallery, jadiin kyk gni:
[spoiler]document.getElementById("[b]1[/b]").parentNode.appendChild(document.getElementById("8"));[/spoiler]
[hr]
[hr]
[hr]
atw, ad cra lain'a....
kmu ilangin kode satu kolom CSS'a..
[spoiler].commonbox {
[color=blue][b]position: relative;
left: 320px!important;[/b][/color]
overflow: hidden;
width: 490px;
}[/spoiler]
trus, kmu gnti kode satu kolom tdi dngn kode ini d js kmu, bagian atas...:
[spoiler]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;
}[/spoiler]
dah, gthu doank...[/spoiler]
hadiah'a mna nih??? hhe..
Last edited by odloc (2008-09-09 18:41:16)