<img src='xxx.gif' onlick=window.open('xxx.jsp?param=value','winname','width=300,height=200')>

解决方案 »

  1.   

    <head>
    <script>
    function fun(value)
    {
      window.open("x.jsp?v=value","","height=xx,width=xx,0,0,0,0");
     }
    </script>
    </head>
    <a href="javascript:fun('<%=xx%>')">XX</a>
      

  2.   

    <script language="javascript">
    function openwindow(vars){
    window.open("***.jsp?vars="+vars,"","");
    }
    </script>
      

  3.   

    to flyingding() :
      你的方法在弹出的新窗口中显示的不是我要的那个jsp变量的值,而是显示value这个字符串.
      

  4.   

    <img src='xxx.gif' onlick=window.open('xxx.jsp?param=<%=value%>','winname','width=300,height=200')>