jQuery plugin that scrolls content based on mouse position.
HTML:
<link href="path/to/jquery.scroller.css" type="text/css" rel="stylesheet" />
<script src="path/to/jquery.scroller.js" type="text/javascript"></script>
JavaScript:
$(function(){
$('selector').scroller();
});
CSS:
selector {
position: relative;
overflow: hidden;
height: <value>;
}
- Firefox: 3.5.19, 5.0
- Opera: 11.50
- Google Chrome: 12
- Internet Explorer: 6, 8, 9
- Safari: 5.0.5
- Required jQuery 1.3+