Before and After Images using TwentyTwenty

Add TwentyTwenty to your website and then use the following HTML.

HTML

<div id="container1">
  <img src="before.jpg">
  <img src="after.jpg">
</div>

JavaScript

$(window).load(function() {
  $("#container1").twentytwenty();
});
Show Comments