[quote=aris43]aduhhh bgg


kl cm pgen buat primary jd slide gmn tuch[/quote]
kalo buat slide di primary lo bisa pake ini
[spoiler] [quote]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 = "<p style=\"visibility:visible;\"><object type=\"application/x-shockwave-flash\" data=\"http://widget-07.slide.com/widgets/slideticker.swf\" height=\"320\" width=\"426\" style=\"width:200px;height:266px\"><param name=\"movie\" value=\"http://widget-07.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=\"cy=ms&il=1&channel=[b]xxxxxxx[/b]&site=widget-07.slide.com\"/></object></p>";
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;
}
};[/quote]
[/spoiler]
jgn lupa ganti dengan chanel slide kamu...
yang suda saia bery tanda hitam di atas...
Last edited by ier (2008-05-30 10:53:32)