你用
<script>
window.open("chatRoom.jsp","_blank","");
</script>
来打开聊天室
<script>
window.open("chatRoom.jsp","_blank","");
</script>
来打开聊天室
解决方案 »
- 在jsp中用FCKeditor上传图片时乱码问题?
- jsp页面之间值传递问题
- 请问,有人用过echo2吗?怎么在界面里做个链接,弹出一个IE窗口连接到另外一个网站上?
- 求一个可以用的struts+spring+ibtias框架编写程序,导入到myEclipse下直接可以用的。简单的最好
- ResultSet的问题--Connection 关闭
- 怎么在servlet中向客户端写个applet?
- web系统实现短信群发
- 为什么连接池的连接数总在不断攀升?
- 请问各位兼职JSP一般都做什么呀?会不会很难呀?偶以前没有做过,现在要做,心里先有个底。
- sos!为什么会这样?!:(
- Servlet如何返回一个对象给JSP(No Session)?
- 为什么我在Apache Tomcat 4.0下面不能显示中文呀?请各位大虾看看!
window.open("chatRoom.jsp","",'status=no,menubar=no,scrollbars=no,top=50,left=50,height=400,width=550');
</script>
function toFull(){
if(window.name=="fullscreen")return;
var a =window.open("","fullscreen","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=800,height=600,top="+((screen.height-600)/2)+",left="+((screen.width-800)/2))
a.location = window.location.href
window.opener=null
window.close()
}
toFull();
</SCRIPT>
<html>
<body>
//在这儿填写具体内容
<input type=button value=关闭 onclick=window.close()>
</body>
</html>
我的聊天室只有说悄悄话功能。liangxuan1979 你把EM告诉我,我把代码发到你信箱里去。