楼主的意思是什么?是清空地址栏还是用怎样?
不是清空,是把地址栏去掉
这是做不到
你的服务器如果能控制用户的客户端浏览器,那还了得?
恩,是这样的,我用window.showModalDialog()来实现一个弹窗,不想让弹窗显示地址栏
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>无标题文档</title> <script language="JavaScript" type="text/JavaScript"> function centerWindow(theURL,winName,width,height,features) { var window_width = width; var window_height = height; var edfeatures= features; var window_top = (screen.height-window_height)/2; var window_left = (screen.width-window_width)/2; newWindow=window.open(''+ theURL + '',''+ winName + '','width=' + window_width + ',height=' + window_height + ',top=' + window_top + ',left=' + window_left + ',features=' + edfeatures + ''); newWindow.focus(); } </script> </head> <body onclick="centerWindow('http://huangfei.vip.63dns.com','','800','600','scrollbars=yes')"> <a href="javascript:;">超级弹出窗口</a> </body> </html>
不知道你是不是要这样的效果?