2008-01-03 00:32:40

378gemmy
» FTalker
FTalk Level: zero
131
0
1969-12-31

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,.. :

[quote=andHa][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][/quote] yg di atas itu uttk yg js,, sekarang utk yg css [quote]div.imgblock200 { background:url([b]url image here.gif[/b]); background-position: center center; background-repeat: no-repeat; height:xxxpx; width:xxxpx; } div.imgblock200 img {display:none !important}[/quote] masukin url image yg brbentuk gif/slide atur height dan width sesuai yg bro pengen utk bkin foto yg brbentuk gif biasanya saya pake ini www.blibs.com smoga bs ngebantu y bro

Board footer

© 2024 F Talk

Current time is 00:39

[ 12 queries - 0.144 second ]
Privacy Policy