Update index.html
Browse files- index.html +17 -1
index.html
CHANGED
@@ -5,6 +5,21 @@
|
|
5 |
<meta charset="UTF-8">
|
6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
7 |
<title>GeoArena by AML Lab CityU HK</title>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
<script>
|
9 |
document.addEventListener("DOMContentLoaded", function() {
|
10 |
var gradioURL = "https://449cd15311341896e5.gradio.live/?__theme=light"; // Your variable URL
|
@@ -16,7 +31,8 @@
|
|
16 |
</script>
|
17 |
</head>
|
18 |
<body>
|
19 |
-
<iframe id="gradioIframe" width="100%" height="100%" style="border:none;
|
|
|
20 |
</iframe>
|
21 |
</body>
|
22 |
</html>
|
|
|
5 |
<meta charset="UTF-8">
|
6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
7 |
<title>GeoArena by AML Lab CityU HK</title>
|
8 |
+
<style>
|
9 |
+
html, body {
|
10 |
+
margin: 0;
|
11 |
+
padding: 0;
|
12 |
+
height: 100%;
|
13 |
+
width: 100%;
|
14 |
+
overflow: hidden; /* 防止滚动条 */
|
15 |
+
}
|
16 |
+
iframe#gradioIframe {
|
17 |
+
width: 100%;
|
18 |
+
height: 100%;
|
19 |
+
border: none;
|
20 |
+
display: block;
|
21 |
+
}
|
22 |
+
</style>
|
23 |
<script>
|
24 |
document.addEventListener("DOMContentLoaded", function() {
|
25 |
var gradioURL = "https://449cd15311341896e5.gradio.live/?__theme=light"; // Your variable URL
|
|
|
31 |
</script>
|
32 |
</head>
|
33 |
<body>
|
34 |
+
<iframe id="gradioIframe" width="100%" height="100%" style="border:none;">
|
35 |
+
Your browser does not support iframes. Please click this <a id="gradioLink">url</a>.
|
36 |
</iframe>
|
37 |
</body>
|
38 |
</html>
|