FLASH轮换广告

<SCRIPT type=text/javascript>
    <!--
   
    var focus_width=260
    var focus_height=182
    var text_height=25
    var swf_height = focus_height+text_height
   
    var pics='http://image2.sina.com.cn/ty/U1489P6T29D1F3467DT20060109055337.jpg|http://image2.sina.com.cn/ty/U1489P6T29D1F63DT20060109045328.jpg|http://image2.sina.com.cn/ty/U1489P6T29D1F3463DT20060109045328.jpg|http://image2.sina.com.cn/ty/U1489P6T29D1F3465DT20060109045328.jpg'
    var links='http://sports.sina.com.cn/z/seriea0506_18/|http://sports.sina.com.cn/z/seriea0506_18/|http://sports.sina.com.cn/z/laliga0506_18/|http://sports.sina.com.cn/z/laliga0506_18/'
    var texts='AC米兰4-3险胜 如履薄冰|“小斑马”终结国米6连胜|为什么受伤的总是我|银河战舰难奈潜水艇'
   
    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
    document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="http://image2.sina.com.cn/bj/zonghe/pixviewer.swf"><param name="quality" value="high"><param name="bgcolor" value="#DADADA">');
    document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
    document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
    document.write('<embed src="http://image2.sina.com.cn/bj/zonghe/pixviewer.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#DADADA" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');        document.write('</object>');
   
    //-->
    </SCRIPT>http://sports.sina.com.cn/
posted on 2011-06-22 16:14  草原和大树  阅读(480)  评论(0编辑  收藏  举报