请教下!!

njlyzh 2009-12-08 10:36:56
<script language="javascript">
<!--

var focus_width=200
var focus_height=183
var text_height=0
var swf_height = focus_height+text_height

var pics='../Web/Uppic/International.jpg|../Web/Uppic/China.jpg|../Web/Uppic/Sport.jpg|../Web/Uppic/Entertainment.jpg'

var links=' http://cq.digi.qq.com/a/20070626/000201.htm|http://cq.digi.qq.com/a/20070626/000155.htm|http://cq.digi.qq.com/a/20070628/000430.htm|http://cq.digi.qq.com/zt/2007/chengtai/index.htm'

var texts='新闻系统图片新闻栏目'

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="../Web/images/playswf.swf"><param name=wmode value=transparent><param name="quality" value="high">');
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="../Web/images/playswf.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>');

谁给我解释下这段JS,特别要解释定义的变量以及document.write(<object></object>)做什么用
...全文
93 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
njlywy 2009-12-08
  • 打赏
  • 举报
回复
http://www.fh888.com/sf_734D57E20EE8428BB4CD5FCBFF793BAE_5_skill.html

有你想要的答案~~
njlyzh 2009-12-08
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 sundotlei 的回复:]
var a="njlyzh";
document.write('my name is '+a);

如不清楚,请楼下详解。。。
[/Quote]

请你看清楚我所问问的问题
sundotLei 2009-12-08
  • 打赏
  • 举报
回复
var a="njlyzh";
document.write('my name is '+a);

如不清楚,请楼下详解。。。

87,994

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧