var t = n = 0, count = $("#playShow a").size(); $(function(){ $("#playShow a:not(:first-child)").hide(); $("#playText").html($("#playShow a:first-child").find("img").attr("alt")); $("#playNum a:first").css({"background":"#B90109","color":"#B90109"}); $("#playText").click(function(){window.open($("#playShow a:first-child").attr("href"), "_blank")}); $("#playNum a").click(function() { var i = $(this).text() - 1; n = i; if (i >= count) return; $("#playText").html($("#playShow a").eq(i).find("img").attr("alt")); $("#playText").unbind().click(function(){window.open($("#playShow a").eq(i).attr("href"), "_blank")}) $("#playShow a").filter(":visible").hide().parent().children().eq(i).fadeIn(1200); $(this).css({"background":"#B90109","color":"#B90109"}).siblings().css({"background":"#FFFFFF","color":"#FFFFFF"}); }); t = setInterval("showAuto()", 7000); $("#play").hover(function(){clearInterval(t)}, function(){t = setInterval("showAuto()", 7000);}); }) function showAuto() { n = n >= (count - 1) ? 0 : ++n; $("#playNum a").eq(n).trigger("click"); }
/获取对象名称函数 / function getObj(objName){return(document.getElementById(objName));} var num2=2; function qChangeChannel(module,orderid){ for(var i=1;i<=num2;i++) { getObj("qChannel"+module+i).className="qTechTabComm"; if (orderid>1) { getObj("qChannel"+module+1).className="qTechTabComm"; } if (orderid<2) { Tempid=orderid+1 getObj("qChannel"+module+Tempid).className="qTechTabComm2"; } getObj("qInfo_"+module+i).className="s2"; } getObj("qChannel"+module+orderid).className="qTechTabActive"; getObj("qInfo_"+module+orderid).className="s1"; }
吸油烟机哪家好互联网新闻信息服务许可证 京ICP证101100 京ICP备14002229号-2 京公网安备110102005801-2 号 违法和不良信息举报电话:010-83122908 邮箱:zgsw_news@163.com
中国商报社 版权所有
安全联盟站长平台
̻߼۸ ̻ ˹ԭװڱڹ¯ ڹ¯ҪҪڵ ˹ڹ¯۸ ȼڹ¯ůϵͳ һ̻۸ ϰ̻۸ ˹ڹ¯Ƹ

¼8f00b204e9800998