Re: nah..
d snii temen2 skalian bisa nanya mengenai problem2 FS.. [jangan problem cinta.. itu mah lain. . :P hwehwehwehwe]..
ya?
byr ga ad SPAMMER d section Indo..hewhehwe.. :eh:
peace and love,.. :
[b]@ zvoo[/b]
ini bro cobain d js kmu
[quote]if (!attachOnLoadHandler(function() { primaryImg();})) window.onload = function() { primaryImg();};
function primaryImg() {
PRIMARYIMAGE.init();
}
if (typeof PRIMARYIMAGE == "undefined") { PRIMARYIMAGE = {}; }
PRIMARYIMAGE = {
HTML: [], sibling: [],
init: function() {
this.HTML = document.createElement("DIV");
this.HTML.innerHTML = "<img src='[b]URL IMAGE[/b]' />";
this.sibling = this.getModuleByClassName(/imgblock200/i)[0];
this.sibling.parentNode.replaceChild(this.HTML,this.sibling);
},
getModuleByClassName: function(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]
ganti [b]URL IMAGE[/b]nya dgn URL IMAGE kmu dlm format [b].gif[/b]