欢迎加入站点基地设计开发交流群:30720409
详细内容
网站插入flash常用代码
发布日期:2012-05-09     点击:2711     字体:[ ]
function Insertflash(Flash, Width, Height, ID) {
    document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" ");
    document.write("codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" ");
    document.write("width=\"" + Width + "\" height=\"" + Height + "\" id=\"" + ID + "\">");
    document.write("<param name=\"movie\" value=\"" + Flash + "\">");
    document.write("<param name=\"quality\" value=\"high\">");
    document.write("<param name=\"menu\" value=\"false\">");
    document.write("<param name=\"wmode\" value=\"transparent\">");
    document.write("<embed src=\"" + Flash + "\" quality=\"high\" wmode=\"transparent\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" ");
    document.write("type=\"application/x-shockwave-flash\" width=\"" + Width + "\" height=\"" + Height + "\"></embed>");
    document.write("</object>");
}
用户评论
昵称 
内容  *
验证码   
   
Copyright © 2010 zdbase.com All Rights Reserved. 苏ICP备15039389号 可人软件设计