If you move the mouse cursor from the left side of this picture to the right one, this picture will be interchanged by another one. Where the first one shows the model made by previous version of this soft, and the second one - the newest version.
I’d like use this feature on my own site as well. Maybe you can give me some clues how to implement it on my site.
function moveHandle(e) {
var divider = $(this).find('.as11-compare-divider');
var touch = e.pageX || e.touches[0].pageX;
var position = touch - $(this).offset().left;
if (position < $(this).width() && position > 0) {
divider.css("left", position);
var width = $(this).width() - divider.position().left;
$(this).find('.as11-compare-right').width(width);
}
}