左上のデフォルトのサイズ変更ではなく、クリックした領域からコンテンツのサイズを変更できるかどうか知りたいのですが。
たとえば、ここに私のコードがありますhttp://jsfiddle.net/2drYk/29/
var $cont = $('.container .content'),
init_size = $cont.width()*0.1,
ratio = $cont.width() / $cont.height(),
c =0,
s = [400,init_size];
$cont.height( init_size );
$cont.click(function(){
$(this).stop().animate({height: s[c%2], width: s[c%2] * ratio });
c++;
});
左上から右下にサイズ変更されているのがわかりますが、クリックした場所に応じてサイズ変更を開始するポイントを設定できますか?