在线精品免费视频,91免费国产高清在线,91久久精品国产一区二区,男人在线网站,欧洲视频一区,最新国产精品亚洲,狠狠色狠色综合曰曰

萬(wàn)企互聯(lián)-專(zhuān)注高端網(wǎng)站建設(shè)
掃描關(guān)注萬(wàn)企互聯(lián)微信公眾賬號(hào)

掃一掃微信二維碼

漂浮廣告代碼

特效源碼?2023/9/28? 760
<!-- 飄窗-->
                <div id="FlAD" style="position: absolute; z-index: 999; left: 100px; top: 100px;">
                    <p style="text-align:right; color:#000000;font-size:12px;cursor:pointer;" onclick="img.style.visibility = 'hidden'">關(guān)閉</p>
                    <a href="" id="sca" target="_blank"><img src="" style="background-color: rgb(68, 68, 68); width: 400px;height: 200px;border: none;" id="scimg"></a>
                </div>
                    <script type="text/javascript">
                        var img = document.getElementById('FlAD');
                        var xPos = 0;
                        var yPos = 0;
                        var step = 1;
                        var delay = 30;
                        var height = 0;
                        var Hoffset = 0;
                        var Woffset = 0;
                        var yon = 0;
                        var xon = 0;
                        var pause = true;
                        var interval;
                        img.style.top = yPos;
                        function changePos() {
                            width = document.documentElement.clientWidth || document.body.clientWidth;
                            height = document.documentElement.clientHeight || document.body.clientHeight;
                            scrollLeft = document.documentElement.scrollLeft || document.body.scrollLeft;
                            scrollTop = document.documentElement.scrollLeft || document.body.scrollTop;
                            Hoffset = img.offsetHeight;
                            Woffset = img.offsetWidth;
                            img.style.left = xPos + scrollLeft +'px';
                            img.style.top = yPos + scrollTop +'px';
                            if (yon) {
                                yPos = yPos + step;
                            } else {
                                yPos = yPos - step;
                            }
                            if (yPos < 0) {
                                yon = 1;
                                yPos = 0;
                            }
                            if (yPos >= (height - Hoffset)) {
                                yon = 0;
                                yPos = (height - Hoffset);
                            }
                            if (xon) {
                                xPos = xPos + step;
                            } else {
                                xPos = xPos - step;
                            }
                            if (xPos < 0) {
                                xon = 1;
                                xPos = 0;
                            }
                            if (xPos >= (width - Woffset)) {
                                xon = 0;
                                xPos = (width - Woffset);
                            }
                        }
                        function start() {
                            img.visibility = "visible";
                            interval = setInterval('changePos()', delay);
                        }
                        start();
                    </script>
<!-- 飄窗-->
文章關(guān)鍵詞
飄窗
漂浮
廣告
萬(wàn)企互聯(lián) 咸陽(yáng)網(wǎng)站建設(shè) 萬(wàn)企微信 IDC主機(jī)測(cè)評(píng) 域名轉(zhuǎn)發(fā)系統(tǒng) IP地址查詢(xún) 萬(wàn)企工具 超越彼岸BEYOND 六佰號(hào)MSDN系統(tǒng) TOP圖標(biāo)庫(kù) 六百號(hào)技術(shù)