Animation clipping image
<p>I want to get a animation clipping image effect but I don't know how. This don't work.</p>

<pre><code>#img {
    background: url('i1.jpg');
    width: 0;
    height: 0;
}   

&lt;a href="#"&gt;link&lt;/a&gt;
&lt;div id="img"&gt;&lt;/div&gt;    

$(function(){
    $('a').click(function(){
        $('img').animate({
            width: '+=300px',
            height: '+=212px'
        });
    });
});
</code></pre>

<p><img src="http://i.stack.imgur.com/i51LQ.jpg" alt="enter image description here"></p>

<p>Any clues?</p>
