<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>test</title>
<script language="JavaScript">
function Fkey(){
var WsShell=new ActiveXObject('WScript.Shell')
WsShell.SendKeys('{F11}');
}
</script>
</head>
<body>
<a href="javascript:Fkey()">点击可以全屏</a>
</body>
</html>
IE下使用控件实现网页全屏
最新推荐文章于 2019-07-06 12:39:04 发布