jquery - Trying to animate the size of 4 images, each inside their own div? -
I want to enlarge the size of four different small images, each in their own div. Right now, I can animate the div, but the image inside the divis does not change. Is there any way to do this?
This is an example of what's currently working:
My current JavaScript:
$ (document). Ready (work () ($ ("# green_box_container a"). (Function () {$ (this). Child (). ({Height: 105, width: 105}) $ (this) .siblings () Edit: It does not work just trying to enter $ (this).
There are several ways to do this but to add a CSS style
div img {width: 100%; height: 100%;}
UPDATE
What is the price of this, I have your HTML Is simplified.
Check ... much simpler and cleaner.
Comments
Post a Comment