服从电影删减部分图片:关于FLASH图片滚动新闻代码的问题

来源:百度文库 编辑:杭州交通信息网 时间:2024/04/30 02:21:44
<!--焦点图开始-->
<script type="text/javascript">
<!--
var focus_width=250
var focus_height=300
var text_height=40
var swf_height = focus_height+text_height
var pics='1.jpg|2.jpg|3.jpg'
var links='http://edu.qq.com/zt/2006/fdzn/index.htm|http://edu.qq.com/zt/2006/2006gkcj/index.htm|http://edu.qq.com/2006gk/zyss.shtml|http://edu.qq.com/gaokao/2006gzzxh.shtml|http://edu.qq.com/ZT/2006xy52.htm'
var texts='高考|高考1|高考2|高考3|高考4'
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="pixviewer.swf"><param name="quality" value="high"><param name="bgcolor" value="#cccccc">');
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="pixviewer.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="'+ focus_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write('</object>');
//-->
</script>
<!--焦点图结束-->

请教高手,上面那段代码里,怎么改能把图片的标题文字改成白色,让文字的valign属性是MIDDLE。