Article View: pl.comp.lang.javascript
Article #50781Re: jQuery resizable i problem z aspectRatio
From: desertman
Date: Mon, 30 May 2011 16:34
Date: Mon, 30 May 2011 16:34
19 lines
1353 bytes
1353 bytes
No i znalazłem rozwiązanie.
Tu jest opisany ten bug i jego rozwiązanie jeśli by ktoś kiedyś potrzebował
http://bugs.jqueryui.com/ticket/5208
Ale znalazłem za to podobny bug (?)
$(function() {
$("#resizable").resizable({
handles: 's'
});
$('#resizable').resizable('option', 'handles', 'e');
});
Powinno się dać skalować diva tylko poprzez 'uchwyt' z prawej strony,
ale się nie da. Tak jakby ignorował zmianę "handles".
--
desertman
Technical Details
Message-ID:
<is0gsb$b6q$1@news.onet.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!.POSTED!not-for-mailReferences:
<is0et3$3im$1@news.onet.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!.POSTED!not-for-mail From: desertman <d3z3rt@poczta.onet.pl> Newsgroups: pl.comp.lang.javascript Subject: Re: jQuery resizable i problem z aspectRatio Date: Mon, 30 May 2011 18:34:07 +0200 Organization: http://onet.pl Lines: 19 Message-ID: <is0gsb$b6q$1@news.onet.pl> References: <is0et3$3im$1@news.onet.pl> NNTP-Posting-Host: abjm135.neoplus.adsl.tpnet.pl Mime-Version: 1.0 X-Trace: news.onet.pl 1306773195 11482 83.7.154.135 (30 May 2011 16:33:15 GMT) X-Complaints-To: niusy@onet.pl NNTP-Posting-Date: Mon, 30 May 2011 16:33:15 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 In-Reply-To: <is0et3$3im$1@news.onet.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit