Reputation:
Does anybody have a clue, if it's possible 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
?
Upvotes: 0
Views: 1917
Reputation: 47968
you can try :
$('DIV').resizable({ handles: 'se', alsoResize: 'img' });
or set your images Width & Height to % values.
By the way, class/id names
are allowed for alsoResize
.
Upvotes: 1