[quote=pashya]foto primery ny ko gk goyang yah ,,
tu pa ny yah yg kurang ,,
pada hal panduan ny dah aq ikutin dgn bener ,,
tp primery ny ttp gk mau goyang mcm mp3 ny ne ,,[/quote]
nih gw ksih bonus shake wat friends, fan n groupnya jg
[spoiler]divpicutama=getElementByClassName("imgblock200")[0];
apicutama=divpicutama.getElementsByTagName("a")[0];
srcpicutama=divpicutama.getElementsByTagName("img")[0].getAttribute("src");
apicutama.innerHTML="<img src='"+srcpicutama+"' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'>";
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;
}
function shakedapic(boxid,kelipatan){
/*
IMAGES SHAKER by nopathz :
*/
var img2shake=document.getElementById("content_"+boxid).getElementsByTagName("img");
if (kelipatan==null) kelipatan=1;
for (i=0;i<img2shake.length;i=i+kelipatan) {
getsrc=img2shake[i].getAttribute("src");
dosrc=document.getElementById("content_"+boxid).getElementsByTagName("a")[i];
img2shake[i].parentNode.innerHTML="<img src='"+getsrc+"' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'>";
}
}
shakedapic("1");
shakedapic("2");
shakedapic("7");
shakedapic("8");[/spoiler]
save di bag [b]C[/b]
[b]edited[/b]
hampir ajah scriptnya kurang
Last edited by h312y_sh (2008-10-02 16:30:43)