Keyboard page navigation
Try pressing your right/left arrow key.
I mostly did this for an afternoon’s giggles and to reassure myself that I still kind of know javascript. If you’d like to implement it on your own tumblelog, just grab the script below:
/* pageturn.js
created by Ethan Sherbondy
originally for use at http://iam.tooepic.com
October, 2008
Feel free to modify this as you see fit.
*/
document.onkeyup = KeyCheck;
function PageTurn(a_id) {
var the_url = document.getElementById(a_id).href;
window.location = the_url;
}
function KeyCheck(e) {
var KeyID = (window.event) ? event.keyCode : e.keyCode;
switch(KeyID) {
// Replace "older" and "newer" with whatever ids you gave your pagination links.
case 37:
PageTurn("older");
break;
case 39:
PageTurn("newer");
break;
}
}