Tell me how to make the plugin add an attribute not style="height: 0px;" , and style="min-height: 0px; ;?
$( "#content" ).resizable({ handles: "s", }); Tell me how to make the plugin add an attribute not style="height: 0px;" , and style="min-height: 0px; ;?
$( "#content" ).resizable({ handles: "s", }); I don’t know if there is such functionality, but I solved my problem in this way:
$( "#content" ).resizable({ handles: "s", start: function() { $(this).css({ "minHeight": "auto", "height": "auto" }); }, stop: function() { var elHeight = $(this).height(); $(this).css({ "minHeight": elHeight + "px", "height": "inherit" }); } }); Source: https://ru.stackoverflow.com/questions/504771/
All Articles