$(".mainnav .nav0").addClass("on"); jQuery(".home_tpxw").slide( {titCell:".hd ul", mainCell:".bd ul",effect:"fold",delayTime:800,interTime:4000,autoPlay:true,autoPage:true}) .find(".hd ul li").empty(); jQuery(".home_news").slide({delayTime:0,triggerTime:0}); jQuery(".home_zwgk_r").slide({delayTime:0,triggerTime:0}); jQuery(".home_zmhd_list").slide({delayTime:0,triggerTime:0}); $(".home_zwgk .menu2 a").after("|"); $(".home_zwgk .menu2 i:last").remove(); $(".home_commonIconlinks").each(function() { $(this).find("li").addClass(function() { return 'li' + $(this).index();}).find("a").wrapInner("").prepend(""); }); $(".home_shtj ul li:first").addClass("li0"); jQuery(".home_ztzl_scroll").slide({mainCell:".bd ul",autoPage:true,effect:"leftLoop",autoPlay:true,vis:4}); jQuery.each(jQuery(".home_ztzl_scroll .bd li img"), function (i, n) { jQuery(n).error(function () { $(this).parents("li").hide(); }); }); $(".home_ajgs_list").load("/sofpro/bmyyqt/lyj/wsbs/home_ajgs.jsp .ajgs_talbe",function(){ $(".ajgs_talbe tr:odd").addClass("trOdd"); }); $(".home_jzxx_list").load("/sofpro/bmyyqt/lyj/zxzx/home_jzxx.jsp?type=1 .jzxx_talbe",function(){ $(".jzxx_talbe tr:odd").addClass("trOdd"); }); $(".home_zxjy_list").load("/sofpro/bmyyqt/lyj/zxzx/home_jzxx.jsp?type=0 .jzxx_talbe",function(){ $(".jzxx_talbe tr:odd").addClass("trOdd"); }); //政声传递 $.ajax({ url:'http://app.gd.gov.cn/xxts/pushinfo_json.php', dataType : "jsonp", jsonp : "pushInfoJsonpCallBack", jsonpCallback:"pushInfoJsonpCallBack", success: function(data){ $.each(data,function(i,json){ if ( i > 6){ return; } var title = json.title; var str1= json.pubDate; //str1=str1.substr(7,10); $("#zscd").append("