Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: on Click resize an image
02-25-2014, 11:04 PM #1
- Join Date
- Feb 2014
- Thanked 0 Times in 0 Posts
on Click resize an image
Hello, I am making a new website and i wanted to have a small image that when it was clicked it would get larger and you would be able to see the whole image. I have a height and width size in side of the image tag in the html because I need to size the image down in order to get it to look the way i want it to look. As of now I do not have any extra code on this so any ideas on how to get this done anything will be greatly appreciated!
02-26-2014, 06:43 AM #2
- Join Date
- Jan 2011
- Thanked 734 Times in 732 Posts
You might be interested in programs called lightbox(google it) or fancybox(fancybox.net).
If not and a roll your own is what you want follow instructions on the page: Enlarge Image On Hover CSS3 Demos | Grains of Sand - CSS & HTML5 Demos & Templates But do better at placing the larger image.
Evolution - The non-random survival of random variants.
Soon to not be a resident of Missouri - hitting the road for better pastures.