日期:2014-05-17  浏览次数:20979 次

高手帮忙看一下,幻灯片怎么改啊。。。急
动态页面是这样写的
<script language="javascript">
var swf_width=240;
var swf_height=201;
var configtg='0xffffff|0|0x4AC6BB|5|0xffffff|0x0EA094|0x000033|3|2|1|_blank';
var files="<%=mvarpics%>";
var links="<%=mvarlinks%>";
var texts="<%=mvartexts%>";
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="'+ swf_width +'" height="'+ swf_height +'">');
document.write('<param name="movie" value="images/bcastr3.swf"><param name="quality" value="high">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'&bcastr_config='+configtg+'">');
document.write('<embed src="images/bcastr3.swf" wmode="opaque" FlashVars="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'&bcastr_config='+configtg+'&menu="false" quality="high" width="'+ swf_width +'" height="'+ swf_height +'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); document.write('</object>');
</script>


而要生成静态页是下面的代码,下面的代码效果和上面的不一样,下面的代码要怎么改才能和上面的效果一样呢,求高手帮忙

  if styles=5 or styles=6 then
picss=left(picss,len(picss)-1)
linkss=left(linkss,len(linkss)-1)
textss=left(textss,len(textss)-1)
shtml=shtml&"<SCRIPT type=text/javascript>"& vbCrLf 
shtml=shtml&""& vbCrLf 
shtml=shtml&"var focus_width="&picw&";"& vbCrLf 
shtml=shtml&"var focus_height="&pich&";"& vbCrLf
if styles=5 then
shtml=shtml&"var text_height=0;"& vbCrLf
elseif styles=6 then
shtml=shtml&"var text_height=22;"& vbCrLf
end if
shtml=shtml&"var configtg='0xffffff|0|0x4AC6BB|5|0xffffff|0x0EA094|0x000033|3|2|1|_blank'; "
shtml=shtml&"var pics="""&picss&""""& vbCrLf 
shtml=shtml&"var links="""&linkss&""""& vbCrLf 
shtml=shtml&"var texts="""&textss&""""& vbCrLf 
shtml=shtml&"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='+ focus_height +'"">');"& vbCrLf 
shtml=shtml&"document.write('<param name=movie value="&SiteUrl&InstallDir&"Skin/Default/bcastr3.swf><param name=quality value=high>');"& vbCrLf 
shtml=shtml&"document.write('<param name=menu value=false><param name=wmode value=opaque>');"& vbCrLf 
shtml=shtml&"document.write('<param name=""FlashVars"" value=""pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'&bcastr_config='+configtg+'"">');"& vbCrLf 
shtml=shtml&"document.write('<embed src="&SiteU