Quantcast
Channel: jQuery Script, Animate() increase the size of an image - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by DaniP for jQuery Script, Animate() increase the size of an image

If you want to keep the animate() on the div, you will need to set your img to be 100% of the container div, try with CSS:div img { width: 100%; height: 100%;}Check this...

View Article



Answer by Tim Howland for jQuery Script, Animate() increase the size of an image

It looks like you are setting the height of the DIV around the image, not the image itself.How about you give the image an id:<img src="Resources/pez.jpg" id="pez" height="20" />and then your...

View Article

jQuery Script, Animate() increase the size of an image

Im running a jQuery Script, Animate()...I want to increase the size of the image when I press the button, how can I do this?$(document).ready(function() { $("button").click(function() {...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>