我使用一种以摩托车为基础的假肢,可以做罚款。 然而,在用户点击新网页(从点击线的底线)之后,我要把新的一套评论和滚动回到集装箱四顶。
是否有这样的功能?
这里需要修改的法典是:
var Comments = new Class({
id: 0,
page: 0,
object: null,
name: null,
parentid: 0,
folder: ./ ,
initialize: function(id, object, name, folder){
// Setup
this.id = id;
this.object = object;
this.name = name;
this.folder = folder;
// Get the comments for this page
this.getComments(this.page);
},
cacheDefeat: function() {
var myDate = new Date();
return &r= + myDate.getTime();
},
getComments: function(page) {
this.page = page;
var object = this.object;
var req = new Request({
method: get ,
url: this.folder + backend.php ,
onSuccess: function(text, xml) {
object.set( html , text);
}
}).send( objid= + this.name + &do=read&thumbs= + $(this.name + "sel").value + &id= + this.id + &page= + this.page + this.cacheDefeat());
},
});
我可以举出正确的办法,把滚动活动添加到一起。