2008-05-07 15:21:45

eddi
» FTalkManiac
FTalk Level: zero
622
0
1969-12-31

Re: [align=justify][b]bagi member yang ingin bertanya seputar tweaking FS, silahkan bertanya dan posting disini, tapi jangan lupa,,sebelum itu tolong [url=http://theftalk.com/t2744-%5BImportant%5D-

[quote=chimot182]malem all.... aq mo buat primary fotoq ganti2...apa tuh yah namanya? ada yg bisa bantu g? makasih...[/quote] kalau untuk di [b]css[/b] pakai ini [spoiler]div.imgblock200 { background:url([b]URL_gif[/b]); background-position: center center; background-repeat: no-repeat; border-color: #E6E6FA; border-style: ridge; height:[b]xxx[/b]px; width:[b]xxx[/b]px; } div.imgblock200 img {display:none !important}[/spoiler] tp hrs gif fictnya, dan ganti yg xxx sesuai dgn ukurannya kalau di js pake ini bro :) [spoiler]/******** marquee foto galery *********/ if (typeof RANDOMIMG == "undefined") { RANDOMIMG = {}; } RANDOMIMG = { image: null, sibling: null, 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_PHOTO[/b]"; this.randimage[1] = "[b]URL_PHOTO[/b]"; this.randimage[2] = "[b]URL_PHOTO[/b]"; this.randimage[3] = "[b]URL_PHOTO[/b]"; this.image = document.createElement("div"); this.image.className = "randomImage"; var rotateimg = document.createElement("img"); rotateimg.id = "defaultimage"; rotateimg.style.width = "200px"; rotateimg.style.height = "200px"; rotateimg.src = this.randimage[Math.floor(Math.random()*(this.randimage.length))]; this.image.appendChild(rotateimg); 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.getElementById("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; } };RANDOMIMG.init();[/spoiler] tinggal ganti yg di bold dgn phutu2mu :D simpan di bag. [b]C[/b] js mu

Board footer

© 2024 F Talk

Current time is 09:45

[ 12 queries - 0.905 second ]
Privacy Policy