Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2014
    Thanked 0 Times in 0 Posts

    Exclamation 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!

  2. #2
    Master Coder sunfighter's Avatar
    Join Date
    Jan 2011
    Thanked 794 Times in 792 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.

    Because I love FLEXBOX and tired of waiting: http://davidwalsh.name/goodbye-vendor-prefixes


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts