jQuery Before and After Plugin
A jQuery plugin that adds a before and after swiping effect for images.
jQuery UI slider - a version of this is included in the src dir
markup: <div class="before-after" data-after="<img2 src>"><img src="<img1 src>" alt="before" /></div> call the plugin: $('.before-after').beforeafter();
I expect it to work in all modern browsers. If you encounter any issues, please let me know.
This plugin was originally authored by Caleb Brown (twitter.com/kayluhb), and is released under an MIT License (do what you want with it).