推动童装品牌信息化之路       免费服务热线:400-800-1661
var t = n = 0, count = $(".content a").size(); $(function () { var play = ".play"; var playText = ".play .text"; var playNum = ".play .num a"; var playConcent = ".play .content a"; $(playConcent + ":not(:first)").hide(); $(playText).html($(playConcent + ":first").find("img").attr("alt")); $(playNum + ":first").addClass("on"); $(playText).click(function () { window.open($(playConcent + ":first").attr('href'), "_blank") }); $(playNum).click(function () { var i = $(this).text() - 1; n = i; if (i >= count) return; $(playText).html($(playConcent).eq(i).find("img").attr('alt')); $(playText).unbind().click(function () { window.open($(playConcent).eq(i).attr('href'), "_blank") }) $(playConcent).filter(":visible").hide().parent().children().eq(i).fadeIn(1200); $(this).removeClass("on").siblings().removeClass("on"); $(this).removeClass("on2").siblings().removeClass("on2"); $(this).addClass("on").siblings().addClass("on2"); }); t = setInterval("showAuto()", 5000); $(play).hover(function () { clearInterval(t) }, function () { t = setInterval("showAuto()", 5000); }); }) function showAuto() { n = n >= (count - 1) ? 0 : ++n; $(".num a").eq(n).trigger('click'); }
湖州多媒体工业设计童装服务基地
  • 热门童装品牌
  • 热门婴幼童装
更多

网站介绍 | 会员服务 | 合作品牌 | 公司新闻 | 营销方案 | 友情链接 | 网站地图 | 联系方式

Copyright © 2006-2017 61kids Inc. All Rights Reserved  

博聚网 //切换(多处调用) var scrollCount = 1; var pauseTime = 3 * 1000; /*数字越小移动的时间越快*/ var timer; function changeClips(o) { var itemlinum = document.getElementById('bigus' + o).getElementsByTagName('li').length + 1; //document.getElementById('ttl').getElementsByTagName('li').length //alert(itemlinum); for (i = 1; i < itemlinum; i++) { var allCtn = "ctn" + o + i; var allTtl = "ttl" + o + i; document.getElementById(allCtn).style.display = "none"; document.getElementById(allTtl).className = ""; } } function ttlOn(n, o) { var curCtn = "ctn" + o + n; var curTtl = "ttl" + o + n; changeClips(o); document.getElementById(curCtn).style.display = "block"; document.getElementById(curTtl).className = "current"; scrollCount = n; } // JavaScript Document (function () { var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })();