/*筛选条件弹出*/ $(function() { $(".filter").hover(function(){ $(this).find("span.filter-hide").show();}, function(){$(this).find("span.filter-hide").hide();}); }); /*搜索框弹出*/ $(function() { $(".search").hover(function(){ $(this).find("span.search-hide").show();}, function(){$(this).find("span.search-hide").hide();}); }); /*搜索框弹出2*/ $(function() { $(".select").hover(function(){ $(this).find("span.dropdown-con").show();}, function(){$(this).find("span.dropdown-con").hide();}); }); /*专家黄页标签切换*/ $(function() { //Default Action $(".experts-right .list").hide(); //Hide all content $("div.tab-block span:first").addClass("cur").show(); //Activate first tab $(".experts-right .list:first").show(); //Show first tab content //On Click Event }); /*知识门户标签切换*/ $(function() { //Default Action $(".knowhow .list").hide(); //Hide all content $("div.tab-block span:first").addClass("cur").show(); //Activate first tab $(".knowhow .list:first").show(); //Show first tab content //On Click Event $("div.tab-block span a").click(function() { $("div.tab-block span").removeClass("cur"); //Remove any "active" class $(this).parent().addClass("cur"); //Add "active" class to selected tab $(".knowhow .list").hide(); //Hide all tab content var activeTab = $(this).attr("tag"); //Find the rel attribute value to identify the active tab + content $(activeTab).fadeIn(100); //Fade in the active content return false; }); }); /*鼠标点击变换样式*/ $(function() { }); // JavaScript Document