veselov.sumy.ua > JavaScript > jQuery /

jQuery /


29.07.10.
jQuery  /




Download jquery.beforeafter.zip

:

before

after






:
animateIntro whether or not to have the drag bar start completely to the right of the container and gradually move by itself to the midpoint (default false)
introDelay if animateIntro is true, the number of milliseconds to wait before beginning the automatic drag bar move to the center of the image (default 1000)
introDuration if animateIntro is true, the number of milliseconds it will take for the drag bar to go from the right side of the image to the middle of the image (default 1000)
showFullLinks whether or not to display links below the image that a visitor can click on that will automatically show the full before or full after image (default true)
imagePath the path (absolute or relative) to where you store the navigation images (default /js/beforeAfter/)

- :
$('#container').beforeAfter({
animateIntro : true,
introDelay : 2000,
introDuration : 500,
showFullLinks : false
});