jQuery Pull to Refresh Plugin for Web Page - Hook.js

File Size: 25.1 KB
Views Total: 6913
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
jQuery Pull to Refresh Plugin for Web Page - Hook.js

Hook.js is cool jQuery plugin that adds Pull to Refresh feature for your web page.  Pull to Refresh is a popular feature on our mobile devices/Apps that refreshes the current page/screen by pulling down on the view.

How to use it:

1. Add jQuery library and Hook.js on your page

<script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"></script>
<script src="hook/hook.js" type="text/javascript"></script>

2. Include jQeury Hook CSS to style the Pull to Refresh effect

<link rel="stylesheet" href="hook/hook.css" type="text/css" />

3. Markup

<div id="hook">
	<div id="loader">
		<div class="spinner"></div>
	</div>
	<span id="hook-text">Reloading...</span>
</div>

This awesome jQuery plugin is developed by unknown. For more Advanced Usages, please check the demo page or visit the official website.