合作院校分布
$(function () { $(window).scroll(function () { if ($(window).scrollTop() >= 100) { $('.actGotop').fadeIn(300); } else { $('.actGotop').fadeOut(300); } }); $('.actGotop').click(function () { $('html,body').animate({ scrollTop: '0px' }, 800); }); $(".navbar-nav").find(".home-nav-margin").each(function(){ var ts = $(this); var text = ts.find("a").text(); if (text.indexOf("首 页") >= 0) { ts.find(".caret").remove(); ts.find("a").prepend(""); }; if(text.indexOf("15选5开奖结果") >= 0){ ts.find(".caret").remove(); }; }); $(".font-no-newline").each(function(){ var ts1 = $(this); if(ts1.find(".submenu").length > 0){ ts1.find(".link").append(""); } }); });