中煤要闻
首页 / 新闻中心 / 中煤要闻 if( window.screen.width <=768){ if ($(".PosiTab").width() > 310) { var d = $(".PosiTab tr td:last").html(); var e = $(".PosiTab tr").html('/...'+d); } } 新闻中心 中煤要闻 新集要闻 媒体聚焦 通知公告 基层动态 国资动态 专题专栏 $(document).ready(function (){ $("#中煤要闻").addClass("on"); }); 中煤要闻 var authorizedReadUnitId = "a9064ae922c6422b8a3e551082eeb2ff"; function reinitIframe() { var iframe = document.getElementById("bottom"); try { var bHeight = iframe.contentWindow.document.body.scrollHeight; var dHeight = iframe.contentWindow.document.documentElement.scrollHeight; var height = Math.max(bHeight, dHeight); iframe.height = height; } catch (ex) { } } window.setInterval("reinitIframe()", 200); window.onload=function(){ $("#top").hide(); var ds=$("#top").contents().find(".x_top").html(); $(".wrapper").prepend(ds); //导航下拉 $(".pc_nav > ul > li").mouseenter(function(){ $(this).children("p").addClass("on"); $(this).children(".nav_b").stop(false,true).slideDown(400); $(this).children(".nav_b_bg").stop(false,true).slideDown(400); }); $(".pc_nav > ul > li").mouseleave(function(){ $(this).children("p").removeClass("on"); $(this).children(".nav_b").stop(false,true).hide(); $(this).children(".nav_b_bg").stop(false,true).hide(); }); //手机导航 $(".contShow").click(function () { if($(this).hasClass("bit")){ $(this).removeCla金股讯ss("bit"); $(".hidallPlace").slideUp(100); $(".contentIndex1").css("display","block") $(".main").css("display","block") $(".main3").css("display","block") $(".lmy_main").css("display","block") $(".footer").css("display","block") }else{ $(this).addClass("bit") $(".hidallPlace").slideDown(300); $(".contentIndex1").css("display","none") $(".main").css("display","none") $(".main3").css("display","none") $(".lmy_main").css("display","none") $(".footer").css("display","none") } }); $('.navlist>li').click(function () { if (!$(this).hasClass("licur")) { $('.navlist>li').removeClass("licur"); $(this).toggleClass('licur').children('ol').slideToggle(300).parent('li').siblings('li').children('ol').slideUp(300); } else { $('.navlist>li').removeClass("licur"); $(this).children('ol').slideUp(300) } if ($(this).hasClass("nool")){ $(".navlist>li").children('ol').slideUp(300) } }) //模板5友情链接 $("#bottom").hide(); var ds=$("#bottom").contents().find(".x_bottom").html(); $(".wrapper").append(ds); $(".link2").each(function() { $(this).mouseenter(function () { $(this).children(".link1").css("display", "block"); }); $(this).mouseleave(function () { $(this).children(".link1").css("display", "none"); }); }) // 底部最有一个|隐藏 $(".footer_ml span:last").css({"display":"none"}); }
评论 (0)