auto-scrolling

This commit is contained in:
Curtis SerVaas
2014-09-21 20:00:31 -04:00
parent f08f17ee91
commit 0b6c96a9cd
+8
View File
@@ -150,6 +150,14 @@ $(document).on("mousemove" ,function(e){
}
tempEntries.push(entry);
if(e.clientY<40){
console.log("SCROLL!!");
window.scrollBy(0, -5);
}
if(e.clientY>$(window).height()-50){
window.scrollBy(0, 5);
}
// var li = returnDropLI(e.pageY);
// selectedLI = li;