1
$(document).ready(function() {

r.redrawSlider(); <---- PLACE 1

})


(function(e) {

(..)

e.fn.bxSlider = function(s) {

(..)

r.redrawSlider = function() {
  o.children.add(r.find(".bx-clone")).width(p()), o.viewport.css("height", h()), o.settings.ticker || m(), o.active.last && (o.active.index = f() - 1), o.active.index >= f() && (o.active.last = !0), o.settings.pager && !o.settings.pagerCustom && (b(), M(o.active.index));
}

(..)

}

(..)

})(jQuery)

是否可以执行 r.redrawSlider 函数PLACE 1

..................................................... .....................

4

0 回答 0