<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>)做什么用
<!--
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>)做什么用
解决方案 »
- javaScript 网页缩放,元素位置重置
- HTML5里面的canvas标签到底有什么好处?和div比优势在哪?
- 请指导学习我这个菜鸟!!
- js文件调用问题,跪求帮助
- 继续问正则不匹配,不是在程序中写不匹配问题
- 请问这些有什么区别language="javascript",language="jscript",type="text/javascript",type="text/Jscript"
- 想自己制作浏览器!!!!!
- 简单的一个问题....
- 各位DX,有没有类似于CSDN左边的菜单的导航呀
- ★★★安装InterDev后,JavaScript程序调试出现奇怪错误提示★★★
- 正则表达式替换文本
- web打印中可以设置页脚中是HTML代码吗?
document.write('my name is '+a);如不清楚,请楼下详解