My favorites | Sign in
Project Logo
                
Links:
Blogs:
Feeds:
People details
Project owners:
  upadhyay

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

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.









Hosted by Google Code