I thought that's what alsoResize was for... couldn't you do something
like:
$('#myDiv').resizable({alsoResize: '#myDiv img'});

or something like that? Otherwise, perhaps you could use the resizable
event, and do the resizing yourself:

$('#myDiv').resizable({
   resize: function(event, ui) {
      // get the ui children and update the width in relation to the
event data
   }
});


On Sep 10, 2:09 am, Tobi <he...@eggger.com> wrote:
> (jQuery UI Resizable Plugin)
>
> Hi there!
> Does anybody have a clue, if it's possible or a workaround existing,
> to resize a <DIV> and the content (here: images)
> within without using "alsoResize in combination with a class/id
> name".
>
> In other words: Is there a workaround for:
>  $('DIV').resizable({ handles: 'se', alsoResize: 'ITS CHILDREN' });
> or are just class/id names allowed for "alsoResize"?
>
> So basically I have a DIV and stacked Images inside.
> I want the DIV to be resizeable and the images inside resized at the
> same time.
>
> Thank you and greetings from Vienna,
> Tobi

Reply via email to