网站首页 | 站长论坛 | 免费空间申请 | 站长下载 | 站长博客 | 商业主机 | 免费空间推荐站点 | 免费空间排行榜 | 我们知道
发新话题
打印

[05-06] 实用的焦点图片新闻代码

本主题由 粽叶加米 于 2008-10-22 20:36 关闭

[05-06] 实用的焦点图片新闻代码

代码:
<!--焦点图开始--> <script type="text/javascript"><!--var focus_width=488var focus_height=192var text_height=0var swf_height = focus_height+text_heightvar pics='http://image2.sina.com.cn/book/movie/asiamoviechannel/U709P167T131D1F4190DT20060519110424.JPG|||'var links='http://bn.sina.com.cn/movie/2006-05-09/171817195.html|http://bn.sina.com.cn/movie/2006-05-15/100017349.html|http://bn.sina.com.cn/movie/2...006-05-17/100917502.html|[url]http://bn.sina.com.cn/movie/2006-05-18/104617617.html'var[/url] texts='|test2|test3||test5'document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/sho...sh/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://image2.sina.com.cn/bj/zonghe/pixviewer.swf"><paramname="quality"va...="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 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=&...#115;criptAccess="sameDomain"type="application/x-shockwave-flash"pluginspage="http://www.macromedia.com/go/getflashplayer"/>');.('</object>'); //--></script><!--焦点图结束-->

TOP

- -|||  头似乎有点晕,我还得学习才行~

TOP

代码???好乱!
<font color="red">生命如烟花,花一样绽放,烟一样消散!
专业的淘宝导购网。免费领取QQ秀,免费抽奖QQ黄钻
![

TOP

怎么搞

TOP

发新话题