2008-11-17 06:28:44

Da BucKz
» FTalkManiac
FTalk Level: zero
641
0
1969-12-31

Re: Bagi para member yang ingin bertanya seputar tweaking FS. Silahkan bertanya dan posting disini. Sebelum itu harap membaca dan mengikuti [url=http://theftalk.com/t23371-FORUM-RULES.html][b]FORUM

[quote=oblack]buat primary gif[/quote] mksd'a kyk bgini bkn: [quote]:arrow: HTML: [spoiler]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 GMBAR .GIF KAMU[/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; } };[/spoiler] [hr][hr][hr] :arrow: URL GMBAR: [spoiler]if (!attachOnLoadHandler(function() { randImage();})) window.onload = function() { randImage();}; function randImage() { RANDOMIMG.init(); } if (typeof RANDOMIMG == "undefined") { RANDOMIMG = {}; } RANDOMIMG = { image: [], sibling: [], randimage: [], init: function() { var preload = []; for (var n=0;n<this.randimage.length;n++) { preload[n] = []; preload[n].setAttribute("src",""+this.randimage[n]+""); } this.randimage[0] = "[b]URL GMBAR .GIF KAMU[/b]"; this.image = document.createElement("DIV"); this.image.setAttribute("class","randImg"); this.image.innerHTML = "<img name=\"defaultimage\" width=\"200\" height=\"250\" src=\""+this.randimage[Math.floor(Math.random()*(this.randimage.length))]+"\">"; this.sibling = this.getModuleByClassName(/imgblock200/i)[0]; this.sibling.parentNode.replaceChild(this.image,this.sibling); setInterval("RANDOMIMG.rotateimage()", 2*1000); }, rotateimage: function() { var ind = 0; if (ind == (temp = Math.floor(Math.random()*(this.randimage.length)))) { ind = (ind == 0) ? 1 : ind - 1; }else { ind = temp; } document.images.defaultimage.setAttribute("src",""+this.randimage[ind]+""); }, 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; } };[/spoiler][/quote] tnggl pilih salah-satu'a aj.. edit sndri aj yg ane [b]tebelin[/b] d atas.. & taro d bagian C atw A.. :thumbsup: [hr][hr] [spoiler][quote=oblack]tp pakai [b]url gif[/b] bukan pakai [b]url foto[/b][/quote] gg ngrti sob... :lol: :lol: :lol:[/spoiler]

Last edited by Da BucKz (2008-11-17 06:55:09)

Board footer

© 2024 F Talk

Current time is 23:38

[ 12 queries - 0.276 second ]
Privacy Policy