zoukankan      html  css  js  c++  java
  • 动态图flash

    <script type="text/javascript">

    var focus_width=230;
    var focus_height=170;
    var ua = navigator.userAgent.toLowerCase();
            if (window.ActiveXObject){
                var text_height=20;}
    else{
    var text_height=30;}
    var swf_height = focus_height+text_height;
    var pics="zuppic/06131.jpg|zuppic/06132.jpg|zuppic/gd3.JPG";
    var links="zuppic/06131.jpg|zuppic/06132.jpg|zuppic/gd3.JPG";
    var texts="图书馆|西区教学楼群|北区图书馆";
     
    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ');
      document.write('codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" ');
      document.write('width="'+ focus_width +'" ');
     document.write('height="'+ swf_height +'">');
     document.write('<param name="allowScriptAccess" value="sameDomain">');
     document.write('<param name="movie" value="temp/focus.swf">');
     document.write('<param name="quality" value="high">');
      document.write('<param name="bgcolor" value="#ffffff">');
      document.write('<param name="menu" value="true">');
      document.write('<param name=wmode value="opaque">');
     document.write('<param name="FlashVars" ');
      document.write('value="pics='+pics);
     document.write(        '&links='+links);
      document.write(        '&texts='+texts);
      document.write(        '&borderwidth='+focus_width);
      document.write(        '&borderheight='+focus_height);
      document.write(        '&textheight='+text_height+'">');
      document.write('<embed src="temp/focus.swf" ');
       document.write('wmode="opaque" ');
      document.write('FlashVars="pics='+pics);
     document.write(        '&links='+links);
        document.write(        '&texts='+texts);
     document.write(        '&borderwidth='+focus_width);
     document.write(        '&borderheight='+focus_height);
      document.write(        '&textheight='+text_height+'" ');
     document.write('menu="true" ');
      document.write('bgcolor="#ffffff" ');
      document.write('quality="high" ');
     document.write('width="'+ focus_width +'" ');
     document.write('height="'+ focus_height +'" ');
      document.write('allowScriptAccess="sameDomain" ');
      document.write('type="application/x-shockwave-flash" ');
      document.write('pluginspage="http://www.macromedia.com/go/getflashplayer" />');
     document.write('</object>');
    </script>

    focus.swf 链接 http://pan.baidu.com/share/link?shareid=76405&uk=1898389506

  • 相关阅读:
    HDU 5608
    win10 UWP 九幽数据分析
    win10 UWP 九幽数据分析
    win10 UWP 九幽数据分析
    博客发在win10.me
    博客发在win10.me
    博客发在win10.me
    win10 UWP 圆形等待
    win10 UWP 圆形等待
    win10 UWP 圆形等待
  • 原文地址:https://www.cnblogs.com/weipeng/p/2731245.html
Copyright © 2011-2022 走看看