标签:html overflow tps viewport 代码 style rev rip link
<html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0"> <title>jQuery排名窗口文字滚动代码</title> <link href="/static/css/demo.css" rel="stylesheet" media="all" /> <!--[if IE]> <style type="text/css"> li.remove_frame a { padding-top: 5px; background-position: 0px -3px; } </style> <![endif]--> <script type="text/javascript" src="/static/js/jquery.min.js"></script> <script type="text/javascript" src="/static/js/jquery.qrcode.min.js"></script> <script type="text/javascript"> $(document).ready(function () { function fixHeight() { var headerHeight = $("#switcher").height(); $("#iframe").attr("height", $(window).height()-54+ "px"); } $(window).resize(function () { fixHeight(); }).resize(); $(‘.icon-monitor‘).addClass(‘active‘); $(".icon-mobile-3").click(function () { $("#by").css("overflow-y", "auto"); $(‘#iframe-wrap‘).removeClass().addClass(‘mobile-width-3‘); $(‘.icon-tablet,.icon-mobile-1,.icon-monitor,.icon-mobile-2,.icon-mobile-3‘).removeClass(‘active‘); $(this).addClass(‘active‘); return false; }); $(".icon-mobile-2").click(function () { $("#by").css("overflow-y", "auto"); $(‘#iframe-wrap‘).removeClass().addClass(‘mobile-width-2‘); $(‘.icon-tablet,.icon-mobile-1,.icon-monitor,.icon-mobile-2,.icon-mobile-3‘).removeClass(‘active‘); $(this).addClass(‘active‘); return false; }); $(".icon-mobile-1").click(function () { $("#by").css("overflow-y", "auto"); $(‘#iframe-wrap‘).removeClass().addClass(‘mobile-width‘); $(‘.icon-tablet,.icon-mobile,.icon-monitor,.icon-mobile-2,.icon-mobile-3‘).removeClass(‘active‘); $(this).addClass(‘active‘); return false; }); $(".icon-tablet").click(function () { $("#by").css("overflow-y", "auto"); $(‘#iframe-wrap‘).removeClass().addClass(‘tablet-width‘); $(‘.icon-tablet,.icon-mobile-1,.icon-monitor,.icon-mobile-2,.icon-mobile-3‘).removeClass(‘active‘); $(this).addClass(‘active‘); return false; }); $(".icon-monitor").click(function () { $("#by").css("overflow-y", "hidden"); $(‘#iframe-wrap‘).removeClass().addClass(‘full-width‘); $(‘.icon-tablet,.icon-mobile-1,.icon-monitor,.icon-mobile-2,.icon-mobile-3‘).removeClass(‘active‘); $(this).addClass(‘active‘); return false; }); }); </script> <script type="text/javascript"> function Responsive($a) { if ($a == true) $("#Device").css("opacity", "100"); if ($a == false) $("#Device").css("opacity", "0"); $(‘#iframe-wrap‘).removeClass().addClass(‘full-width‘); $(‘.icon-tablet,.icon-mobile-1,.icon-monitor,.icon-mobile-2,.icon-mobile-3‘).removeClass(‘active‘); $(this).addClass(‘active‘); return false; }; </script> <script type="text/javascript" src="/static/js/protect.js"></script> </head> <body id="by"> <div id="switcher"> <div class="center"> <ul> <div id="Device"> <li class="device-monitor"><a href="javascript:"><div class="icon-monitor"></div></a></li> <li class="device-mobile"><a href="javascript:"><div class="icon-tablet"></div></a></li> <li class="device-mobile"><a href="javascript:"><div class="icon-mobile-1"></div></a></li> <li class="device-mobile-2"><a href="javascript:"><div class="icon-mobile-2"></div></a></li> <li class="device-mobile-3"><a href="javascript:"><div class="icon-mobile-3"></div></a></li> </div> <li class="logoTop"> <a href="https://www.17sucai.com/pins/36801.html">jQuery排名窗口文字滚动代码</a> <script type="text/javascript"> jQuery(‘#output‘).qrcode({width:150,height: 150,text: window.location.href}); </script> <li class="remove_frame"><a href="https://www.17sucai.com/preview/1424582/2020-04-15/sl/index.html" title="移除框架"></a></li> </ul> </div> </div> <div id="iframe-wrap"> <iframe id="iframe" src="https://www.17sucai.com/preview/1424582/2020-04-15/sl/index.html" frameborder="0" width="100%"></iframe> </div> <!--百度流量统计代码--> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?382f81c966395258f239157654081890"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> </body> </html>
标签:html overflow tps viewport 代码 style rev rip link
原文地址:https://www.cnblogs.com/xiewangfei123/p/12730227.html