shijian/WebRoot/js/searchJobhot.js

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

// JavaScript Document
$(document).ready(function () {

   //更多选项
  $('.moretypes').click(function(){
	 if($(this).find("span").attr("class")=="down up"){
		   $('.maptypeBox').css('height','125px');
		   $(this).find("span").removeClass('up');
	  }else
	  {
		  $('.maptypeBox').css('height','auto');
		  $(this).find("span").addClass('up');
	  }
  })
  
  
  //列表摘要
  $('.seachlist .tj1 span.list').click(function(){
      $('.seachlist .tj1').removeClass('on');
	  $(this).addClass('on');
	  $('.seachlist .tj1 span.zhaoyao').removeClass('on');
	  $('table.listtab tr.xxdetail').addClass('none')
  })
  $('.seachlist .tj1 span.zhaoyao').click(function(){
      $('.seachlist .tj1').addClass('on');
	  $(this).addClass('on');
	  $('.seachlist .tj1 span.list').removeClass('on');
	  $('table.listtab tr.xxdetail').removeClass('none');
  })
  
  
  //abc英文字母专业名称搜索 展开合并
  $('.ashow').click(function(){
	if($(this).attr("class")=="ashow adown"){
	    $(this).parent().next('.Aboxr').css('max-height','118px'); 
	    $(this).text('[展开]');
		$(this).removeClass('adown');
	}else
	{ 
	  $(this).parent().next('.Aboxr').css('max-height','100%'); 
	  $(this).text('[收起]');
	  $(this).addClass('adown');	
    }

  })


//职位搜索-热门搜索选项卡
  var oLihot = document.getElementById("tabhot").getElementsByTagName("li");
  var oUlhot = document.getElementById("contenthot").getElementsByTagName("ul");	
  for(var i = 0; i < oLihot.length; i++)
  {
		oLihot[i].index = i;
		oLihot[i].onclick = function ()
        {			
           for(var n = 0; n < oLihot.length; n++)
	          oLihot[n].className="";		
			  this.className = "currenthot";		
			  for(var n = 0; n < oUlhot.length; n++) 
				 oUlhot[n].style.display = "none";	
后面还有 8 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。