• 4436阅读
  • 0回复

一段不错的js+flash代码 [复制链接]

上一主题 下一主题
离线Angel
 
只看楼主 倒序阅读 0楼 发表于: 2006-06-09
<script type=text/javascript>
var varText = ""
function addInfo(title,photourl,link){
if(varText!=""){
varText+="|||";
}
varText+=title+"|_|"+photourl+"|_|"+link;
}addInfo("海峡两岸文化产业交流团参观培训中心","http://edu.arting365.com/eduimg/h100/h85/img200604111350000.jpg","http://edu.arting365.com/news/2006-04-11/1144687546d123610_1.html"); //调用字段: 标题Title、图片Photo、链接URL
addInfo("Arting365正式签约中视典数字科技","http://edu.arting365.com/eduimg/h100/h88/img200604171409530.jpg","http://edu.arting365.com/news/2006-04-17/1145252221d124020.html"); //调用字段: 标题Title、图片Photo、链接URL
addInfo("罗杰.满德来培训中心访问","http://edu.arting365.com/eduimg/h100/h85/img200604111355120.jpg","http://edu.arting365.com/news/2006-04-11/1144685427d123602.html"); //调用字段: 标题Title、图片Photo、链接URL
addInfo("法国圣艾蒂安市代表团来中心参观","http://edu.arting365.com/eduimg/h100/h85/img200604111356530.jpg","http://edu.arting365.com/news/2006-04-10/1144664286d123580.html"); //调用字段: 标题Title、图片Photo、链接URL
addInfo("2005-06-01乌塔 佐芝讲座","http://edu.arting365.com/eduimg/h100/h85/img200604111357580.jpg","http://edu.arting365.com/news/2006-04-10/1144664774d123581.html"); //调用字段: 标题Title、图片Photo、链接URL

//
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="410" height="200" id="01" align="middle">')
document.write('<param name="allowScriptAccess" value="sameDomain" />')
document.write('<param name="movie" value="http://edu.arting365.com/img/view.swf?info='+varText+'" />')
document.write('<param name="quality" value="high" />')
document.write('<param name="bgcolor" value="#ffffff" /><param name="wmode" value="transparent" />')
document.write('<embed src="http://edu.arting365.com/img/view.swf" quality="high" bgcolor="#ffffff" width="410" height="200" name="01" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />')
document.write('</object>')
</SCRIPT>
快速回复
限100 字节
 
上一个 下一个