javascript - jQuery resizable synch resize -


i ask if how can fix resizable jquery. want if resize parent element resize children inside of parent element. here's current code:

<div id="img_holder" style="width:100px;height:120px;float:left;margin:5px;">     <a href="#" target="_blank" class="thumbnail" style="text-decoration:none;height:120px;">         <img src="suits.jpg" style="height:110px !important;" />     </a> </div>  $("#img_holder").resizable({alsoresize: "#img_holder a, #img_holder img"}); 

here's output when resizing enter image description here

thank you!

the anchor , images in example have preset height, not going resize height larger set height. notice img height set using !important.


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -