我是使用静态电压碎块的,我想提及我版本的电 lo变量。 开办职能:
var rDealBone = this;
($( .deals-list ), this.el).infinitescroll({
navSelector : "div.navigation",
nextSelector : "div.navigation a",
itemSelector : ".deal",
debug: true,
loading: {
finished: undefined,
finishedMsg: "<em>Congratulations, you ve reached the end of the internet.</em>",
img: "http://www.infinite-scroll.com/loading.gif",
msg: null,
msgText: "<em>Loading the next set of posts...</em>",
selector: null,
speed: fast ,
start: function(){
// this is the code from the default start function of the plugin,
// the opts refers to the plugin options cariable, how can i refere to it
// from this function
$(opts.navSelector).hide();
opts.loading.msg
.appendTo(opts.loading.selector)
.show(opts.loading.speed, function () {
rDealBone.showMore();
});
}
},
pathParse: function(){
return /listDeals/offset: + rDealBone.doffset;
}
});
我怎么能从开办职能中提一下原始选择?
感谢Yehia的帮助。