Search and Top Navigation
#6021 closed bug (worksforme)
Opened September 04, 2010 06:05PM UTC
Closed September 05, 2010 06:20PM UTC
Last modified October 11, 2012 09:15PM UTC
Handles ignores atributes concerning width and height
| Reported by: | gmreburn | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | ui.resizable | Version: | 1.8.4 |
| Keywords: | handles, minHeight, maxHeight, minWidth, maxWidth | Cc: | |
| Blocked by: | Blocking: |
Description
Elements can be re-sized above and below the entered min and max widths with the HTML code below.
<html>
<head>
<!--
Be sure to include all the needed jquery files with the correct paths.
-->
<script type="text/javascript">
$(".test").resizable({
handles: 'e',
minWidth: '50px',
maxWidth: '200px'
});
</script>
</head>
<body>
<div class="test" style="border: 1px solid; width: 100px; height: 100px;">Resizable Div</div>
</body>
</html>
minWidth, maxWidth, minHeight and maxHeight must be entered as numbers not strings / pixels.