如题目

解决方案 »

  1.   

    <a href="#" onClick="windowopen('../NeoSwiff.htm','','scrollbars=yes,width=200,height=200')">saad
    </a>
      

  2.   

    错了。是:
    <a href="#" onClick="window.open('../NeoSwiff.htm','','scrollbars=yes,width=200,height=200')">saad
    </a>
      

  3.   

    <a href="#" onClick="window.open('operation_detail1.aspx?id=<%# DataBinder.Eval(Container, "DataItem.id")%>','','scrollbars=yes,width=200,height=200')">saad</a>
    弹出的窗口是一个带参数的页面,我这样写进不了视图页面,
    提示错误,在“<%..."值"...%>”块中,以不同方式将值括起来,
    我给<%# DataBinder.Eval(Container, "DataItem.id")%>加上引号倒是能进入视图,可传得参数就不对了
      

  4.   

    <form>
    <div align="center"><input type="button" Value="打开新窗口" 
    ONCLICK="window.open('index.htm','Sample','toolbar=yes,location=no,directories=no,status=no,menubar=yes,scrollbars=no,resizable=no,copyhistory=yes,width=300,height=200,left=100,top=100')">
    </form> <!--说明:将其中的链接文件test.htm改为你的路径,窗口参数如下: toolbar=yes, 显示工具条
    location=yes,显示网址栏
    directories=no,导航条
    status=no,状态条
    menubar=yes,菜单
    scrollbars=yes,滚动条
    resizable=no,是否可以改变大小
    copyhistory=yes,历史按钮
    width=300,宽
    height=200'高
    left=1000,距离左边100
    top=100,距离顶端100-->
      

  5.   

    window.open('test.aspx', '_blank', 'scrollbars=yes,status=no,toolbar=no,menubar=no,location=no,resizable=yes,height=600,width=820,alwaysRaised=yes,left=0,top=0');
      

  6.   

    为什么我的窗口时弹出了,但原来的页面没了,只显示 [object]??