SHAN XI KE TE RE LI
主營:高架火炬,放散點(diǎn)火,火炬放散自動(dòng)點(diǎn)火裝置,焦?fàn)t煤氣放散點(diǎn)火,高爐煤氣放散點(diǎn)火,轉(zhuǎn)爐煤氣放散點(diǎn)火,發(fā)生爐煤氣放散點(diǎn)火,鋁設(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 });
});
聯(lián)系我們
地址:西安市新城區(qū)解放路77號(hào)裕朗國際
電話:點(diǎn)擊查看
手機(jī):點(diǎn)擊查看
傳真:--
主營產(chǎn)品:高架火炬,放散點(diǎn)火,火炬放散自動(dòng)點(diǎn)火裝置,焦?fàn)t煤氣放散點(diǎn)火,高爐煤氣放散點(diǎn)火,轉(zhuǎn)爐煤氣放散點(diǎn)火,發(fā)生爐煤氣放散點(diǎn)火,鋁設(shè)備