<a href='#' onClick="javascript:window.open('xiangxi1.asp?id=<%=rs("id")%>','pop01',''scrollbars=yes,menubar=yes,resizable=yes,width=430,height=300')"><img src="images/btn_02.gif" width="66" height="26" hspace="0" vspace="0" border="0" /></a>
不能弹出窗口,是那里的错。

解决方案 »

  1.   

    ''scrollbars=yes,menubar=yes,resizable=yes,width=430,height=300'
    似乎多了个单引号
      

  2.   

    楼上正解
    window.open('addCar.aspx','huerreson','height=402,width=538,left=300,screenX=200,top=250,screenY=100');
      

  3.   

    <a href='#' onclick="javascript:window.open('xiangxi1.asp?id= <%=rs(\"id\")%> ','pop01',scrollbars=yes,menubar=yes,resizable=yes,width=430,height=300')"> 
    <img src="images/btn_02.gif"  width="66" height="26" hspace="0" vspace="0" border="0"/>
    </a> 
    记得有些地方需要加转义符号
      

  4.   

    <a href='#' onclick="javascript:window.open('xiangxi1.asp?id=<%=rs(\"id\")%>','pop01','scrollbars=yes,menubar=yes,resizable=yes,width=430,height=300')">   
    <img   src="images/btn_02.gif"     width="66"   height="26"   hspace="0"   vspace="0"   border="0"/> 
    </a>
    不小心在scrollbars属性前面少了个单引号 
      

  5.   

    <a   href='#'   onClick="javascript:window.open('xiangxi1.asp?id= <%=rs('id')%> ','pop01',''scrollbars=yes,menubar=yes,resizable=yes,width=430,height=300')"> <img   src=""   width="66"   height="26"   hspace="0"   vspace="0"   border="0"   /> </a>