Dev Depot: UseHook.com — Allowing Users to 'Pull' New Content
A product of Jordan Singer and Brandon Jacoby, Hook.js brings the “pull to refresh” navigational feature found on many mobile devices to web browsers — providing a useful tool for adult webmasters offering frequently updated content.
“We love that neat little ‘pull to refresh’ feature on our devices, but wouldn’t it be awesome if it was for the web? Well, that’s what Hook is here to do,” say its developers. “We took a concept from mobile phones and tablets and made it work for the web — Simply scroll down a bit, and then back up to the top. Bam! You’ve just ‘Hooked’ for the first time on the web.”
<link rel=”stylesheet” href=”hook/hook.css”>
The following code is then placed right after the BODY tag (“<body>”):
That’s all there is to it! It’s easier to understand when you see it in action, so visit UseHook.com to demo and download Hook.js to see if it enhances the way your website presents its content.