Response.Write("window.open(\"wish.aspx?mobilePhone=" + strMobilePhone + "\",width=\"100\",height=\"200\"); </script>");怎么新开的窗口,大小没有象我设置的那样???Response.Write("window.open(\"wish.aspx?mobilePhone=" + strMobilePhone + "\",top=\"100\",height=\"top\"); </script>");报错
解决方案 »
- 我使用水晶报表后,在水晶报表的右侧有一个关于每一种颜色的说明,如何把里面的说明替换成自己想要的文字啊?
- protected void LogInUser(object sender, EventArgs e) 这是一个样的事件
- 求ASP。NET(C#)编写论坛短信功能
- 用IE打开word文档,修改后怎么能让文档保存到原来地址
- 这种效果如何实现
- 如何使用vb.net或c#.net post 数据到 asp.net的页面? 小弟先谢了!
- html中弯线不影响编译运行的问题
- mvc全局错误过滤器怎么弄啊
- DataGrid如何横向显示数据呢?
- 树形控件打开一个没有菜单和工具栏的新窗窗口
- 求年月日的正则表达式??
- 关于自动生成控件,无法再次得到控件值的问题!急
参考这个,不知道你是不是这个意思。
--应该改为:
Response.Write("window.open(\"wish.aspx?mobilePhone=" + strMobilePhone + "\",'win',\"status=yes,toolbar=no,scrollbar=no,resizable=yes,menubar=no,location=no,width=100,height=200,top=0,left=0\"); </script>");Response.Write("window.open(\"wish.aspx?mobilePhone=" + strMobilePhone + "\",top=\"100\",height=\"top\"); </script>");height=“top”是错误的
& "window.open('/test4/KYDS9999VB.aspx','HI014'," _
& "'width=330px,height=540px,status=no,toolbar=no,menubar=no,resizable=no,location=no');" _
& "window.opener=null;window.top.close();</script>" If (Not IsClientScriptBlockRegistered("clientScript")) Then
RegisterClientScriptBlock("clientScript", showOpen)
End If
参数应该写在第三个参数里,楼主写在了第二个
hand是鼠标形状,也可以是其他的