[b]becek
[/b]
nie bro
[spoiler]//MAIN FLASH FOTO
var flashPhoto;
try {
flashPhoto = document.write("<style type=text/css>div.imgblock200{width:200;height:250;background-color:transparent;overflow:hidden}</style>");
}catch(e) {
flashPhoto = document.createElement("<style type=text/css>");
}
flashPhoto = "<embed src=\"http://widget-13.slide.com/widgets/slideticker.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"cy=fr&il=1&channel=[b]2233785415185336675[/b]&site=widget-13.slide.com\" style=\"width:200px;height:250px\" name=\"flashticker\" align=\"middle\"/></embed>";
getDivElements("imgblock200",document.getElementById("content_0"),"div")[0].innerHTML=flashPhoto;
function getDivElements(divClass,getId,tagName) {
var classElements = new Array();
if ( getId == null )
getId = document;
if ( tagName == null )
tagName = '*';
var esle = getId.getElementsByTagName(tagName);
var esleLength = esle.length;
var pattern = new RegExp("(^\s*|\s*$)" + divClass + "(\s|[\$]*?)");
for (i = 0,a = 0;i < esleLength;i++) {
if (pattern.test(esle[i].className)) {
classElements[a] = esle[i];
a++;
}
}
return classElements;
}
[/spoiler]
yang huruf tebal itu ganti dengan ID slide yg kamu dapet dari slide.com (foto2 yg udah kamu masukin)
simpan di bagian C
selamat mencoba bro
Last edited by toxyt (2008-05-18 14:08:10)