// JavaScript Document //bigpic $(function() { var channelCode = $('#CHANNELCODE').val(); switch (channelCode){ case '': jQuery(".slideBox").slide({ mainCell: ".bd ul", titCell: ".hd ul li", autoPlay: true }); jQuery(".news_list").slide({ titCell: ".hd ul li", mainCell: ".bd", targetCell: ".more a", delayTime: 0, triggerTime: 0 }); jQuery(".news_road_right").slide({ mainCell: ".bd", autoPlay: true, effect: "topMarquee", vis: 2, interTime: 50, trigger: "click" }); jQuery(".scrollpiclist").slide({mainCell:".bd ul",autoPlay:true,effect:"leftMarquee",vis:5,interTime:50,trigger:"click"}); $("#bstaba").click(function() { $("#bstab").children().removeClass("current") $(this).parent().addClass("current"); $("#open_list").hide(); $("#open_list_1").show(); }); $("#bstabb").click(function() { $("#bstab").children().removeClass("current") $(this).parent().addClass("current"); $("#open_list").show(); $("#open_list_1").hide(); }); loadZXXXGK(14); break; case 'ygjt': jQuery(".slideBox").slide({ mainCell: ".bd ul", titCell: ".hd ul li", autoPlay: true }); loadZXXXGK(30); $("#newsTab").find("li").click(function () { $("#newsTab").find("li").removeClass("current"); var cName = $(this).attr("class"); var num = $(this).index(); if (cName == "" || typeof cName == "undefined") { $(this).addClass("current"); $(".moreNews").hide().eq(num).show(); $(".textList1").hide().eq(num).show(); } else $(this).removeClass("current"); }); break; case 'bjjt':break; case 'hdjt': $.ajax({ type: 'POST', //用POST方式传输 dataType: 'JSON', //数据格式:JSON url: '/consultfront/getGzjdlistFY/?pagesize=10&currpage=1&type=11&check=do&state=2&deptcode=11320500014149885L', success: function(data) { var jsonobj = data if (jsonobj.infolist.length) { var template = "" if (jsonobj.infolist.length) { $.each(jsonobj.infolist, function(index, item) { template += "