mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
theme-game 调整
This commit is contained in:
@@ -1,30 +1,29 @@
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="robots" content="noindex, nofollow" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Full Screen iFrame</title>
|
||||
<style>
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#myIframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: none;
|
||||
/* 可选:移除边框 */
|
||||
}
|
||||
#myIframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: none;
|
||||
/* 可选:移除边框 */
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<body>
|
||||
<!-- <div style="position: absolute;
|
||||
right: 0px;
|
||||
bottom: 0px;
|
||||
@@ -32,17 +31,18 @@
|
||||
<button onclick="toggleFullScreen()">Toggle Full Screen</button>
|
||||
</div> -->
|
||||
|
||||
<iframe id="myIframe" allowfullscreen="allowfullscreen" allow="autoplay" scrolling="no"></iframe>
|
||||
|
||||
<iframe
|
||||
id="myIframe"
|
||||
allowfullscreen="true"
|
||||
allow="autoplay;fullscreen"
|
||||
scrolling="auto"
|
||||
></iframe>
|
||||
|
||||
<!-- https://letsplay247.github.io/cz.html?n=space-wars-battleground -->
|
||||
<script>
|
||||
var myParam = location.search.split('n=')[1]
|
||||
document.getElementById("myIframe").src = myParam;
|
||||
var myParam = location.search.split('n=')[1]
|
||||
document.getElementById('myIframe').src = myParam
|
||||
</script>
|
||||
<script src="/js/fullscreen.js" type="text/javascript"></script>
|
||||
|
||||
</body>
|
||||
|
||||
|
||||
</html>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user