主營:流水線,圓管,方棒,圓棒,太陽能,紡機(jī)型材,凈化,槽鋁
立即發(fā)布 設(shè)為首頁
$(document).ready(function () { // @文字滾動(dòng) (function ($) { $.fn.textSlider = function (settings) { settings = jQuery.extend({ speed: "normal", line: 2, timer: 3000 }, settings); return this.each(function () { $.fn.textSlider.scllor($(this), settings); }); }; $.fn.textSlider.scllor = function ($this, settings) { var ul = $("ul:eq(0)", $this); var timerID; var li = ul.children(); var liHight = $(li[0]).height(); var upHeight = 0 - settings.line * liHight;//滾動(dòng)的高度; var scrollUp = function () { ul.animate({ marginTop: upHeight }, settings.speed, function () { for (i = 0; i < settings.line; i++) { ul.find("li:first", $this).appendTo(ul); } ul.css({ marginTop: 0 }); }); }; var autoPlay = function () { timerID = window.setInterval(scrollUp, settings.timer); }; var autoStop = function () { window.clearInterval(timerID); }; //事件綁定 ul.hover(autoStop, autoPlay).mouseout(); }; })(jQuery); $("#li_goods_g").textSlider({ line: 1, speed: 500, timer: 3000 }); }); 單價(jià): 元 鋁合金型材 留言咨詢 *發(fā)送對(duì)象: *留言內(nèi)容: *驗(yàn)證碼: *聯(lián)系人: *聯(lián)系電話:
單價(jià): 元
鋁合金型材
地址:江陰市周莊鎮(zhèn)長青路11號(hào) 傳真:0510-86904278 主營產(chǎn)品:流水線+圓管+方棒+圓棒+太陽能+紡機(jī)型材+凈化+槽鋁