问题描述
1个幻灯片的改造:弹出500X500的图片查看窗口类似这样:给弹出窗口加上参数height='500',width='500',像这样的window.open(url,"","width=500,height=500,left=100,help=no,status=no")但我加入进去后老出错,能否帮我写进去?谢谢————————————————————————————————————————————<tablewidth="279"height="251"border="0"align="center"cellpadding="0"cellspacing="0"><tr><tdwidth="279"height="251"><scripttype="text/javascript">imgUrl1="<%=rs("BigPic")%>";imgtext1="01"imgLink1=escape("<%=rs("BigPic")%>");imgUrl2="<%=rs("smallpic")%>";imgtext2="02"imgLink2=escape("<%=rs("smallpic")%>");imgUrl3="<%=rs("enbigpic")%>";imgtext3="03"imgLink3=escape("<%=rs("enbigpic")%>");imgUrl4="<%=rs("ensmallpic")%>";imgtext4="04"imgLink4=escape("<%=rs("ensmallpic")%>");imgUrl5="<%=rs("pic5")%>";imgtext5="05"imgLink5=escape("<%=rs("pic5")%>");imgUrl6="<%=rs("pic6")%>";imgtext6="05"imgLink6=escape("<%=rs("pic6")%>");varfocus_width=400varfocus_height=250vartext_height=0varswf_height=focus_height+text_heightvarpics=imgUrl1+"|"+imgUrl2+"|"+imgUrl3+"|"+imgUrl4+"|"+imgUrl5+"|"+imgUrl6varlinks=imgLink1+"|"+imgLink2+"|"+imgLink3+"|"+imgLink4+"|"+imgLink5+"|"+imgLink6vartexts=imgtext1+"|"+imgtext2+"|"+imgtext3+"|"+imgtext4+"|"+imgtext5+"|"+imgtext6document.write('<objectclassid="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('<paramname="allowScriptAccess"value="sameDomain"><paramname="movie"value="images/focus1.swf"><paramname="quality"value="high"><paramname="bgcolor"value="#F0F0F0">');document.write('<paramname="menu"value="false"><paramname=wmodevalue="opaque">');document.write('<paramname="FlashVars"value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');document.write('</object>');</script></td></tr></table>
解决方案
解决方案二:
要点击后,才弹出哦~