Hello and welcome to our community! Is this your first visit?
Register
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
    Posts
    1
    Thanks
    0
    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
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,354
    Thanks
    23
    Thanked 618 Times in 617 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.

    "If you leave hydrogen alone, for long enough, it begins to think about itself."


  •  

    Posting Permissions

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