Hi,
I currently use JQuery-1.3.2 with JQuery-UI-1.7.2.
I have a small div set as resizable + draggable, to draw a frame on an image to make a crop. Here is my code :
- $('#crop_box').css('left', curLeft)
- .css('top', curTop)
- .css('width', curWidth)
- .css('height', curHeight)
- .resizable({
- containment: $('IMG', $img),
- autoHide: true,
- minWidth: 30,
- minHeight: 30,
- distance: 5,
- stop: _setFormInputs
- })
- .draggable({
- containment: $('IMG', $img),
- cursor: 'move',
- stop: _setFormInputs
- });
Everything is OK on many browsers (tried avec Firefox, Chrome and Safari), except IE (I use IE7) : with it, I can resize the frame only one time horizontally and one time vertically ; after that, the box can be moved but not resized anymore...
Being an entreprise application, I can't actually switch to another release of JQuery/UI.
Any help or idea will be welcome...
Thanks,
Thierry