关闭

js做的flash形式的幻灯图片

622人阅读 评论(0) 收藏 举报
<!-- flashpic begin --><!--焦点图开始-->
    <SCRIPT type=text/javascript>
        <!--
        
        var focus_width=199
        var focus_height=242
        var text_height=0
        var swf_height = focus_height+text_height
        
        var pics='http://img1.qq.com/music/20051028/2547276.jpg|[img]http://img1.qq.com/music/20051028/2547278.jpg|http://img1.qq.com/music/2005102 ... 0051028/2547279.jpg[/img]'
        var links='http://music.qq.com/a/20051028/000009.htm|http://music.qq.com/a/20051028/0 ... 20051028/000025.htm'
        var texts='|||'
        document.write('<object ID="focus_flash" 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://auto.qq.com/flash/playswf.swf"><param name="quality" value="high"><param name="bgcolor" value="#FFFFFF">');
        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 ID="focus_flash" src="http://auto.qq.com/flash/playswf.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#C5C5C5" 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>
<!--焦点图结束--><!-- flashpic end -->
0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:397793次
    • 积分:5723
    • 等级:
    • 排名:第4514名
    • 原创:143篇
    • 转载:195篇
    • 译文:0篇
    • 评论:47条