/[jquery]/no_pager/no_pager.js
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /no_pager/no_pager.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2 by dpavlin, Tue Aug 15 15:43:31 2006 UTC revision 7 by dpavlin, Tue Aug 15 23:13:20 2006 UTC
# Line 71  function addMoreHistory( xmlDoc ){ Line 71  function addMoreHistory( xmlDoc ){
71    
72  function updatePage(){  function updatePage(){
73          if ( isUpdating == false          if ( isUpdating == false
74                     && mouseState == "up"                          && mouseState == "up"
75                     && getPageHeight() - getScrollHeight() < preloadDistance){                          && getPageHeight() - getScrollHeight() < preloadDistance){
76          log("Getting segment: ", $("history_index").value);                  log("Getting segment: ", $("history_index").value);
77          setCookie(id, $("history_index").value );                  setCookie(id, $("history_index").value );
78          isUpdating = true;                  isUpdating = true;
79                  getMoreHistory();                  getMoreHistory();
80          }          }
81          checker.cancel();          checker.cancel();

Legend:
Removed from v.2  
changed lines
  Added in v.7

  ViewVC Help
Powered by ViewVC 1.1.26