waterbody.html
1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<script src="../../js/jquery-3.4.1.min.js"></script>
<script src="../../js/JavaScript.js"></script>
<script src="../../js/popupJS.js"></script>
<link rel="stylesheet" href="../../css/layer.css">
<script>
document.addEventListener('DOMContentLoaded', function () {
let el = document.createElement('object');
el.setAttribute("name", "SGWorld");
el.setAttribute("id", "SGWorld");
el.style.width = '1px';
el.style.height = '1px';
el.setAttribute("classid", "CLSID:3A4F919C-65A8-11D5-85C1-0001023952C1");
document.body.appendChild(el);
Array.prototype.slice.call(document.querySelectorAll('.iconfont')).forEach(function (e) {
e.addEventListener('click', function () {
el.Command.Execute(1012, this.getAttribute('data'));
})
});
})
</script>
</head>
<body marginwidth="0" marginheight="0">
<div id="mainDiv" class="dialog tongyong">
<h1 class="title" onmousedown="MouseDown(event)" onmouseup="MouseUp(event)" onmouseout="MouseUp(event)">
水体动画<i class="guanbibtn" onclick="Close()">X</i>
</h1>
<div class="main">
<div class="content">
<img class="iconfont" src="/static/img/waterbody/waterbody1.png" data="90" />
<img class="iconfont" src="/static/img/waterbody/waterbody2.png" data="91" />
<img class="iconfont" src="/static/img/waterbody/waterbody3.png" data="92" />
</div>
</div>
</div>
</body>
</html>