Keyboard page navigation, redux

As a followup to this post I’ve updated my pageturn script to work on any part of the site with paginaiton. To do so, I relied on the getElementById method, which made things incredibly simple. It also means that in order to use the script on your site, you’ll need to specify an id for the pagination hyperlinks in your theme. For mine, I used the ids “older” and “newer.”

Check it out: Press the left or right arrow keys on a date, permalink, or main page and watch with delight.

Feel free to use it, either by linking directly to my script or by downloading and hosting it yourself.

Likes and Reblogs

  1. tooepic posted this

Responses

  1. tooepic posted this
loading

Loading more posts...

Following: