waterbody.html 1.68 KB
<!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>