FLASH广告完全揭密 搜狐体育频道FLASH广告JS调用代码

原创 2006年06月10日 01:30:00

 作者:dlwyingtao   

1.带有文章标题的(autof06n.swf)
 
<script type="text/javascript">
 <!--
  var focus_width=176
 var focus_height=225
 var text_height=18
 var swf_height = focus_height+text_height
 
 var 
pics=’http://img1.qq.com/auto/pics/518/518243.jpg|http://img1.qq.com/auto/pics/517/517558.jpg|
http://img1.qq.com/auto/pics/517/517672.jpg|http://img1.qq.com/auto/pics/518/518725.jpg’
 var links=’http://auto.qq.com/a/20060602/000014.htm|http://auto.qq.com/a/20060602/000013.htm|
http://auto.qq.com/a/20060602/000017.htm|http://auto.qq.com/a/20060602/000028.htm’
var texts=’两厢福克斯谍照参数曝光|新马6 2.3L SDX Facelift|欧宝Astra GTC/R|韩系车骑了日系车’
 
 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=" 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://mat1.qq.com/auto/flash/autof06n.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>
 
===========================================================================
2.不带文章标题(playswf.swf)
<!--焦点图开始-->      
 <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/ent/20060601/3639013.jpg|http://img1.qq.com/ent/20060601/3639014.jpg|
http://img1.qq.com/ent/20060531/3636668.jpg|http://img1.qq.com/ent/20060529/3632416.jpg’
 var links=’http://ent.qq.com/a/20060601/000102.htm|http://ent.qq.com/a/20060601/000107.htm|
http://ent.qq.com/a/20060531/000108.htm|http://ent.qq.com/a/20060529/000087.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=" 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>
 <!--焦点图结束-->
 
===========================================================================
3.新浪FLASH广告带文章标题(pixviewer.swf)
<!--
var focus_width=277
var focus_height=200
var text_height=20
var swf_height = focus_height+text_height
var pics=’图片地址一|图片地址二|图片地址三|图片地址四|图片地址五’
var links=’链接地址一|链接地址二|链接地址三|链接地址四|链接地址五’
var texts=’文字标题一|文字标题二|文字标题三|文字标题四|文字标题五’
document.write(’<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="flash/swflash.cab#version=6,0,0,0">
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="document.write(’<param name="menu" value="false"><param name=wmode value="http://blog.techweb.com.cn/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="#F0F0F0" quality="high" width="’+ focus_width +’" height="’+ swf_height +’" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="flashplayer">http://www.macromedia.com/go/getflashplayer" />’);
document.write(’</object>’);
//-->
 
===========================================================================
4.网易汽车频道FLASH广告
<!--
var focus_width=250;
var focus_height=160;
var pics = "图片地址一|图片地址二|图片地址三|图片地址四|图片地址五|";
var links = "链接地址一|链接地址二|链接地址三|链接地址四|链接地址五|";
document.write(’<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="flash/swflash.cab#version=6,0,0,0">
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="’+ focus_width +’" height="’+ focus_height +’">’);
document.write(’<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="document.write(’<param name="menu" value="false"><param name=wmode value="http://blog.techweb.com.cn/opaque">’);
document.write("<param name="FlashVars" value="pics=’+pics+’&links=’+links+’&focus_width=’+focus_width+’&focus_height=’+focus_height+’">’);
document.write(’<embed src="http://cimg.163.com/auto/main-1.swf" wmode="opaque" FlashVars="pics=’+pics+’&links=’+links+’&focus_width=’+focus_width+’&focus_height=’+focus_height+’" menu="false" bgcolor="#D6D3D6" quality="high" width="’+ focus_width +’" height="’+ focus_height +’" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="flashplayer">http://www.macromedia.com/go/getflashplayer" />’);
document.write(’</object>’);
//-->

注意,细心的朋友可以看出网易汽车频道FLASH广告JS调用代码和以上门户网站的区别吗?

===========================================================================
5.搜狐体育频道FLASH广告JS调用代码
<!-- 
var focus_width=240
var focus_height=190
var text_height=21
var swf_height = focus_height+text_height
var pics=’图片地址一|图片地址二|图片地址三|图片地址四|图片地址五’
var links=’链接地址一|链接地址二|链接地址三|链接地址四|链接地址五’
var texts=’文字标题一|文字标题二|文字标题三|文字标题四|文字标题五’
document.write(’<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="flash/swflash.cab#version=6,0,0,0">
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://business.sohu.com/upload/focus.swf"> <param name="quality" value="high"><param name="bgcolor" value="#CCCCCC">’);
document.write(’<param name="menu" value="false"><param name=wmode value="http://blog.techweb.com.cn/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://business.sohu.com/upload/focus.swf" wmode="opaque" FlashVars="pics=’+pics+’&links=’+links+’&texts=’+texts+’&borderwidth=’+focus_width+’&borderheight=’+focus_height+’&textheight=’+text_height+’" menu="false" bgcolor="#ffffff" quality="high" width="’+ focus_width +’" height="’+ swf_height +’" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="flashplayer">http://www.macromedia.com/go/getflashplayer" />’); document.write(’</object>’);
//-->
版权声明:本文为博主原创文章,未经博主允许不得转载。

相关文章推荐

Flash完全屏蔽右键功能+js代码

Flash不能屏蔽右键功能我们很久就知道了。它只能屏蔽部分功能。 <font color='#ff0000'

ecshop用JS广告替换FLASH广告

1、首页主广告管理-》自定义,粘下以下代码: /** *glide.layerGlide((oEventCont,oSlider,sSingleSize,sec,fSpeed,point); *@pa...
  • crx05
  • crx05
  • 2011-07-20 17:28
  • 3759

5图变换flash+js广告代码

  • 2012-07-19 10:06
  • 130KB
  • 下载

centos6.5 firefox升级 flash player安装 adblock plus广告屏蔽插件安装

firefox升级   1.到官网https://www.mozilla.org/en-US/firefox/new/?from=getfirefox上下载最新的firefox版本,我下载的是f...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)