<script language="javascript"> var coolw=615 var coolh=415 var triboy=window.open("……","triboy","width="+coolw+",height="+coolh+",fullscreen=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0") triboy.resizeTo(coolw,coolh) triboy.moveTo(Math.ceil((window.screen.width-coolw)/2),Math.ceil((window.screen.height-coolh)/2)) if (history.length>0){history.back(1)}else{location.replace("about:blank")} </script> 在省略号处输入你要显示超文本文件
如何把最大化不要
var coolw=615
var coolh=415
var triboy=window.open("……","triboy","width="+coolw+",height="+coolh+",fullscreen=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0")
triboy.resizeTo(coolw,coolh)
triboy.moveTo(Math.ceil((window.screen.width-coolw)/2),Math.ceil((window.screen.height-coolh)/2))
if (history.length>0){history.back(1)}else{location.replace("about:blank")}
</script>
在省略号处输入你要显示超文本文件