7
I need to do an effect like this example:
What I noticed by debugging is that there are two images one div inside the other:
<div class="box-image-differ" style="width: 620px; height: 366px;">
<img src="http://f.i.uol.com.br/folha/ilustrada/images/15203312.jpeg" onload="folha.media.fotoAB.ok( this , '#imagediffer0' )">
<div class="box-image-differ-ui ui-resizable" style="height: 366px; width: 318px;">
<div class="box">
<img src="http://f.i.uol.com.br/folha/ilustrada/images/15203326.jpeg" onload="folha.media.fotoAB.ok( this , '#imagediffer0' )">
</div>
<div class="ui-resizable-handle ui-resizable-e" style="z-index: 90; height: 366px;"></div>
</div>
</div>
But I could not understand how javascript is done to do the effect, someone has done something like this?
This is a native tool of
JQuery-UI
– MarceloBoni
I did not find an example of this type on the jQuery website
– SneepS NinjA
Actually the name of the library is
twentytwenty
– MarceloBoni
Can anyone do? to demonstrate an example here on the site, or give me a link so I can learn on my own
– SneepS NinjA
http://zurb.com/playground/twentytwenty
– MarceloBoni