锘?(document).ready(function() { $(".cont2nv li").click(function() { $(this).addClass("cur").siblings().removeClass("cur"); }) // var oWidth = document.documentElement.clientWidth || document.body.clientWidth; // var bili = oWidth / 1920; // if (oWidth > 1920) { // $('.saclebx').css({ // '-webkit-transform': 'scale(' + bili + ')', // '-moz-transform': 'scale(' + bili + ')', // '-ms-transform': 'scale(' + bili + ')', // '-o-transform': 'scale(' + bili + ')', // 'transform': 'scale(' + bili + ')', // }) // } // window.onresize = function() { // var oWidth = document.documentElement.clientWidth || document.body.clientWidth; // var bili = oWidth / 1920; // if (oWidth > 1920) { // $('.saclebx').css({ // '-webkit-transform': 'scale(' + bili + ')', // '-moz-transform': 'scale(' + bili + ')', // '-ms-transform': 'scale(' + bili + ')', // '-o-transform': 'scale(' + bili + ')', // 'transform': 'scale(' + bili + ')', // }) // } // } $(".navbar").click(function(){ $(".topri").toggle(); $(".top").toggleClass("cur") }) $(".saoma3").click(function () { $("html,body").stop().animate({ scrollTop: 0 }, 300) }) $(".nav li").hover(function(){ var oWidth = document.documentElement.clientWidth || document.body.clientWidth; if(oWidth>768){ $(this).find(".xiala").stop().slideDown(300) } },function(){ var oWidth = document.documentElement.clientWidth || document.body.clientWidth; if(oWidth>768){ $(this).find(".xiala").stop().slideUp(300) } }) $(window).scroll(function () { var sc = $(window).scrollTop(); if(sc> 200){ $(".top").addClass("fixed") $(".topge").addClass("cur") }else{ $(".top").removeClass("fixed") $(".topge").removeClass("cur") } }); // $(".lysban1").click(function(){ // $(this).parents(".lysban").toggleClass("cur") // }) }) function Job_Change(tid){ var A=document.getElementsByClassName("joblist_0"); var AI=document.getElementsByClassName("jobinfo_0"); var AC=document.getElementsByClassName("joblist_"+tid); for(var i=0;i