最快拿驾照:网页编程

来源:百度文库 编辑:查人人中国名人网 时间:2024/04/29 17:13:16
双击一个网页,打开后让它全屏,求代码,只一个页面

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>index</title>
<SCRIPT LANGUAGE="javascript">
<!-- Begin
if (this.name!='fullscreen'){
window.open(location.href,'fullscreen','fullscreen')
}
// End -->
</script>
</head>
<frameset rows="*,1" frameborder="no" border="0" framespacing="0">
<frame src="http://www.baidu.com" name="mainFrame" frameborder="no" scrolling="no" noresize width="800" height="600">
</frameset>
<noframes><body>
</body></noframes>
</html>

不信,你运行看看