jQuery Scroll Image Inside is a jQuery plugin that allows you to scroll an image inside a container element.
scrollImageInside.js is a jQuery image scroller plugin that smoothly scrolls the image up and down based on the position of the mouse hovering over the image bin.
How to make use of it:
1. Add the jQuery library and the scrollImageInside.js script to the webpage.
<script src="/path/to/cdn/jquery.min.js"></script> <script src="/path/to/jquery.scrollimageinside.js"></script>
2. Call the function on the picture container.
<div id="example"> <img src="1.jpg" alt="" /> </div>
$(function(){ $('#example').scrollimageinside(); });
3. Customize the scroll speed.
$('#example').scrollimageinside({ speed: 900 });
4. Customize the duration of the animation.
$('#example').scrollimageinside({ duration: 50 });
5. Apply an easing equation to the animation.
$('#example').scrollimageinside({ easing: 'ease-in-out' });
6. Set the height of the picture.
$('#example').scrollimageinside({ height: 0 });
See Demo And Download
Official Website(ashwebstudio): Click Here
This superior jQuery/javascript plugin is developed by ashwebstudio. For extra Advanced Usage, please go to the official website.