[quote=ryno]bang...
gimana cara bikin slide primary.....
tanks bang....
........
[/quote]
pake kode ini bro:
[quote]//Flash Photo Primary
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=\"[b]URL_SWF[/b]\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"[b]URL_FLASH[/b]\" 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]
tnggal ganti [b]URL_SWF[/b] ama [b]URL_FLASH[/b]
contoh:
[b]URL_SWF[/b] :
http://widget-e7.slide.com/widgets/slideticker.swf
[b]URL_FLASH[/b] : cy=ms&il=1&channel=864691128455199121&site=widget-91.slide.com
smoga ngebantu!!
^_^
url css nya salah bro!!
g bisa dee buka
-.-'
Last edited by deeucul (2008-02-22 14:24:01)