网站制作学习网Flash→正文:新浪FLASH广告带文章标题
字体:

新浪FLASH广告带文章标题

Flash 2008/1/7 11:18:34  点击:不统计

<!--

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>’);

//-->

网易汽车频道FLASH广告JS调用代码



<!--

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广告 >>    ·下一篇:怎么给网页中的Flash上加超连接 >>
推荐文章
最新文章