[quote=chibuy]rezzaudah ....tyus saya mesti gimana lagi master reza ..... ????[/quote]
waduh gag usah pake master segala...masih newbie juga kok...
nih
[quote]//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 = "[b]<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=216172782130257035&site=widget-13.slide.com\" style=\"width:200px;height:250px\" name=\"flashticker\" align=\"middle\"/>[/b]</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]
yang [b]bold[/b] di ambil dari hasilgenerate code slide kamu tadi. copas di bagian [b]c[/b] semoga membantu.
[b]Angel[/b] di bagian [b]b[/b] sista...maaph..
Last edited by rezza (2008-08-09 04:31:37)