[b]hari risyadi [/b]
itu mau di buat di galeri foto kamu ato primary foto kamu
klo galeri tinggal pake ini aja
[quote]//SLIDE SHOW PHOTO
function embed(){
var slodde = "<embed src=\"http://widget-e7.slide.com/widgets/slideticker.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"cy=fr&il=1&channel=1801439850961681936&site=widget-e7.slide.com\" style=\"width:97%;height:150px\" name=\"flashticker\" align=\"middle\"/><div style=\"width:100%;text-align:center;\"><a href=\"http://www.friendster.com/photos/[b]ID FS Kamu[/b]\" target=\"_blank\"><b>[b]Lihat Semua Foto[/b]</a> | <a href=\"http://www.friendster.com/friendphotoupload.php?uid=[b]ID FS Kamu[/b]\" target=\"_blank\">[b]Masukin Foto[/b]</b></a></div>";
document.getElementById('content_1').style.height='97%';
document.getElementById('content_1').style.overflowY='hidden';
document.getElementById('content_1').innerHTML = "<table width='100%'><tr><td align='center'>"+slodde+"</td></tr></table>";
}setTimeout("embed()",10000);[/quote]
simpen di bagian B ato C..yang huruf tebal ganti sesuka hati kamu kecuali ID fs kamu
buat primary foto
[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 = "<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=1801439850961681936&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]
sinpem di bagian C aja
Last edited by toxyt (2008-05-15 11:58:35)