⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ad2.js

📁 商城改进板全站代码
💻 JS
字号:

 var focus_width=280; //广告轮显宽度
 var focus_height=210;//广告轮显高度
 var text_height=16;  //显示文字高度
 var swf_height = focus_height+text_height
 var pics="";
 var links="";
 var texts="";
 if(window.IndexFlash)
 {
    for(var i=0;i<IndexFlash.length-1;i++)
    {
       if(i< IndexFlash.length-2)
       {
          pics +=IndexFlash[i][1]+"|";
          links+=IndexFlash[i][2]+"|";
          texts+=IndexFlash[i][0]+"|";
       }
       else
       {
          pics+=IndexFlash[i][1];
          links+=IndexFlash[i][2];
          texts+=IndexFlash[i][0];
       }
       
    }
 }
 
 
 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="/IMS_AD/UploadAdPic/focus.swf"><param name="quality" value="high"><param name="bgcolor" value="#F0F0F0">');
 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="/IMS_AD/UploadAdPic/focus.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#BCBCBC" 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>');

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -