Reputation: 58
i have done the resize of elements by using resizable . but there is problem that user can only resize from right end bottom end. i want add the feature of resize from any end. i use the file below
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js"></script>
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/themes/base/jquery-ui.css"/>
i want to know that can i add some feature or manually do in the code inside.
Upvotes: 0
Views: 1802
Reputation: 1198
If you want to add the feature of resize from top or left end, add the option 'handles' in the call function, like this :
$( "#resizable" ).resizable({handles: 'n,w'});
options available are n,e,s,w,se,sw,ne,nw , and you can also use 'all'
Upvotes: 4