21,882
社区成员
发帖
与我相关
我的任务
分享
this.getPages = function(getDataUrl,page,typeId){
var times=0;
$(document).ready(function(){
$(window).scroll(function() {
var start = page*80+(20*times),
end = 20,
h = document.body.offsetHeight,
t = $(document).scrollTop(),
s = h/t;
if( s <= 1.5 && times < 3) {
$.getJSON(getDataUrl,{start:start,end:end,id:typeId},function(e){
scrollData = e;
var size = scrollData.length;
for(var i =0 ;i< size; i++){
if(i<=4){
$("#list_01_01").append(scrollData[i]);
}else if(i<=9){
$("#list_01_02").append(scrollData[i]);
} else if(i<=14){
$("#list_01_03").append(scrollData[i]);
} else if(i<=19){
$("#list_01_04").append(scrollData[i]);
}
}
scrollData='';
})
times++;
a++;
}
if(times == 3){
$("#page_select").css('display','block');
exit();
}
})
})
}
[Sun May 13 13:01:14 2012] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun May 13 13:01:14 2012] [notice] Apache/2.2.22 (Win32) mod_ssl/2.2.22 OpenSSL/0.9.8x configured -- resuming normal operations
[Sun May 13 13:01:14 2012] [notice] Server built: May 13 2012 12:51:11
[Sun May 13 13:01:14 2012] [notice] Parent: Created child process 3660
Apache server interrupted...
arn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun May 13 13:01:15 2012] [notice] Child 3660: Child process is running
[Sun May 13 13:01:15 2012] [notice] Child 3660: Acquired the start mutex.
[Sun May 13 13:01:15 2012] [notice] Child 3660: Starting 64 worker threads.
[Sun May 13 13:01:15 2012] [notice] Child 3660: Starting thread to listen on port 80.
[Sun May 13 13:01:15 2012] [notice] Child 3660: Starting thread to listen on port 80.
[Sun May 13 13:01:28 2012] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sun May 13 13:01:28 2012] [notice] Child 3660: Exit event signaled. Child process is ending.
[Sun May 13 13:01:29 2012] [notice] Child 3660: Released the start mutex
[Sun May 13 13:01:30 2012] [notice] Child 3660: All worker threads have exited.
[Sun May 13 13:01:30 2012] [notice] Child 3660: Child process is exiting
[Sun May 13 13:01:30 2012] [notice] Parent: Child process exited successfully.
[Quote=引用 4 楼 的回复:]