[quote=aaf]ada ya simpen kode slide di primary ga...
[/quote]
keknya yang ini deh bro
[quote]//MAIN PHOTO
if ( ! attachOnLoadHandler(function () { MainFlash();})) window.onload = function () { MainFlash();};
function MainFlash() {
FLASHOBJ.init();
}
if (typeof FLASHOBJ == "undefined") { FLASHOBJ = {}; }
FLASHOBJ = {
flash: [],
style: {
cssStyle: document.write("<style type=text/css>div.imgblock150{width:200;height:250;overflow:hidden}</style>")
},
elements: {
mainid: document.getElementById("content_0"),
maintag: "DIV",
mainclass: "imgblock200"
},
init: function() {
this.flash = this.style.cssStyle;
this.flash = [b]"<embed src=\"http://widget-30.slide.com/widgets/slideticker.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"cy=fr&il=1&channel=1873497445001338672&site=widget-30.slide.com\" style=\"width:200px;height:250px\" name=\"flashticker\" align=\"middle\"/></embed>";[/b]
this.getElementsByClassName(this.elements.mainid,this.elements.maintag,this.elements.mainclass)[0].innerHTML = this.flash;
},
getElementsByClassName: function(oElm,sTag,sClass) {
var elm = [];
if (oElm === null)oElm = document;
if (sTag === null)sTag = "*";
var els = oElm.getElementsByTagName(sTag) || 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]
yang ditebelin ntu utak atik ndiri aje bro,soalnye aku jga lupa
sory kalo salah,maklum masih nubie
kabuurrrrrrrr
Last edited by izzy_cliquers (2008-07-09 22:43:24)