Hacker News new | past | comments | ask | show | jobs | submit login

I wrote some JS to add keyboard controls to the map, because clicking and dragging is for suckers. http://www.potch.me/blog/press-and-hold.html



I've integrated this into a full-screen view: http://ares.aylett.co.uk/xkcd/


Thanks man, that's especially useful to find the Easter eggs since you can use ctrl + or - to zoom in and out and stay oriented. Between that, and using this as a map, you can pretty much check out the whole comic without getting frustrated: http://www.wickedglitch.com/wp-content/uploads/2012/09/resul...


as a bookmarklet:

    javascript:var kn=document.createElement('script');kn.src='//raw.github.com/gist/3748621/1bbdaee115134d0106978e42a5423f7b3e5de5e3/nav.js'; kn.type='text/javascript';document.getElementsByTagName('head')[0].appendChild(kn);


Thanks!

I added a bookmarklet of the original code to the site- I know you're legit, but I'm always wary of encouraging people to load random external JS via a bookmarklet.


I will steal your XKCD cookie and order a thousand t-shirts :)


I'm holding out for a version that lets me use two-finger scrolling.


Three finger scrolling works on a mac (Lion). I think you can enable drag lock on snow leopard for the same effect.

EDIT: The mouse does move off the view port during drag, so its probably not that much more efficient.


Look at the Trackpad page in System Preferences. There's a reason why it's called "Three finger drag" instead of "Three finger scroll". :)


In Lion, I'm pretty sure this only works if you enable "Three Finger Drag" in the trackpad settings.


Haha, I wrote some, too. I should have checked here before I bothered, I guess.

Ah well, it was a momentary amusement. :)


Thanks! Much easier.


amazing. thanks!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: