[quote]kLo bkin primary foto jdi sLide gmna ya...????
mhon pnjlasannya.....[/quote]
bgini bro
simpen script ini di bagian C
lalu ganti yang huruf tebal ID dalam bentuk angka yang kamu peroleh
dari slide (foto2 kamu yg udah di generate)
[quote]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]xxxxxxxxxxxxxxxx[/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;
}[/quote]