bang apa udah bener nhi bang buat ym di fs
coba di cek dulu bang yg manax yg salah
[quote]//ICON UNDER CP BUTTON
var ymessenger;
try {ymessenger = document.createElement("div");}
catch (e) {ymessenger = document.createElement("<div>");}
ymessenger.innerHTML = "<br><a href='ymsgr:sendim?[b]rizal_on7[/b]'><img src='http://opi.yahoo.com/online?u=:ymusername:&m=g&t=2'></a><br>";
ymessenger.setAttribute("style","text-align:center;padding-top:10px");
document.getElementById("controlPanelButtons").parentNode.appendChild(ymessenger);
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;
}[/quote]
Last edited by R-i-Z-a-L (2008-07-24 12:22:05)