This is a jQuery plugin, for binding "j" and "k" key strokes to scroll the page paragraph wise.
This also comes as a bookmark-let to add this functionality to arbitrary pages.
Bookmark-let
Follow the instruction given on this page.
PS: Google Code wiki does not allow javascript: links.
Requirements
- jQuery (http://jquery.com/)
- Dimensions Plugin (http://jquery.com/plugins/project/dimensions)
- shortKey Plugin (http://rikrikrik.com/jquery/shortkeys/)
Usage
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="jquery.shortkeys.js"></script>
<script type="text/javascript" src="jquery.dimensions.js"></script>
<script type="text/javascript" src="jquery.jackass.js"></script>
<script type="text/javascript">
$(function(){
$.jackass({ css_class: "current" });
});
</script>
<style type="text/css">
.current
{
background: yellow;
}
</style>Further configurations are allowed, check plugin source to find out about them.