[quote=dodolgarut]bang aku pengen slide foto gimana caranya
[/quote]
slide photo primary atau photo galery bro
kl saya spt ini
kl yg di photo galery
masukan ini di bag B js mu
[spoiler]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=\"[b]cy=fr&il=1&channel=14411518800924049&site=widget-91.slide.com[/b]\" style=\"width:100%;height:125px\" name=\"flashticker\" align=\"middle\"/><div style=\"width:100%;text-align:center;\"><a href=\"http://www.friendster.com/photos/[b]ID_FS_MU[/b]\" target=\"_blank\"><b>View All Photo</a> | <a href=\"http://www.friendster.com/friendphotoupload.php?uid=[b]ID_FS_MU[/b]\" target=\"_blank\">Upload Photo For Me</b></a></div>";
document.getElementById('content_1').style.height='100%';
document.getElementById('content_1').style.overflowY='hidden';
document.getElementById('content_1').innerHTML = "<table width='100%'><tr><td align='center'>"+slodde+"</td></tr></table>";[/spoiler]
cari di slide mu setelah disave code spt ini [b]cy=fr&il=1&channel=14411518800924049&site=widget-91.slide.com[/b]
dan gantikan yg di atas, untuk yg [b]ID_FS_MU[/b] itu hrs no ID fs mu
kl yg primary photo ini
[spoiler]//slide primary
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 = "<object type=\"application/x-shockwave-flash\" data=\"http://widget-a7.slide.com/widgets/slideticker.swf\" height=\"320\" width=\"426\" style=\"width:220px;height:260px\"><param name=\"movie\" value=\"http://widget-a7.slide.com/widgets/slideticker.swf\" /><param name=\"quality\" value=\"high\" /><param name=\"scale\" value=\"noscale\" /><param name=\"salign\" value=\"l\" /><param name=\"wmode\" value=\"transparent\"/> <param name=\"flashvars\" value=\"[b]cy=ms&il=1&channel=1441151880771728737&site=widget-61.slide.com[/b]\"/></object><p><a href=\"http://www.slide.com/pivot?cy=ms&ad=0&id=2161727821146959230&map=1\" target=\"_blank\"></object>";
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;
}
};[/spoiler]
sama ganti juga yg di bold dan simpan di bagC js utama
Last edited by eddi (2008-06-07 03:57:20)