Announcement

Collapse
No announcement yet.

Code to make image expand when mouse hovers over.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Code to make image expand when mouse hovers over.

    Right, I have seen in various places, where there is a central box, then thumbnails around it, then you hover over the thumbnail and it appears in the box...how do I do this?

    If this is too hard, i will be happy if I have all my thumbnails shown, then when you hover the mouse over them, the image appears but larger, do you get what i mean?

    Thanks
    Ollie

    P.S, if its just a case of adding a little bit of simple code to after the image, it would be much appreciated if you could just give me the code to drop in.

    Portfolio- www.oliver-ashley.com

  • #2
    It's probably just some Javascript code (Lightbox/LightBox2.0/litebox, perhaps?).

    Can you post an example of one of the links you are refering too?
    Professional Pixel Pusher Designing the world around you. | Working daily to reach 10,000 hours of practice.

    Comment


    • #3
      Ok, I have literally no idea how to use javascript, so if i could avoid that, it would be good. I would actually prefer the second thing i mentioned, where you just hover over the image and it appears full-size next to the mouse point, have you seen this before?
      Portfolio- www.oliver-ashley.com

      Comment


      • #4
        your first option sounds like a css image gallery...google that, there are several versions and tutorials out there...

        your second option can also be done via css...jquery can be used as well...

        good luck!
        Monarchs Rule!

        Comment


        • #5
          I did a tutorial on how to make the rest of the gallery, but it finished up as just a grid of 6 thumbnails that the border changed colour when you moused over them. It was the "tutvid" one.
          Portfolio- www.oliver-ashley.com

          Comment


          • #6
            I have done it, found a tutorial on how to use spry to make it.

            Thanks
            Ollie
            Portfolio- www.oliver-ashley.com

            Comment


            • #7
              Here is what I meant:
              http://server.microlite23.com/~admin185/index.html

              Thanks
              Ollie
              Portfolio- www.oliver-ashley.com

              Comment


              • #8
                Ollie, so you know... your site loads really really slow...
                I'm not entirely sure why... but maybe the photos are larger than their actual size that you see?

                Glad you figured out spry. I love those things for all us non-coders that need to build websites. (sad but true).
                I'd rather be hated for who I am, than loved for who I am not. ~ Kurt Cobain

                Comment


                • #9
                  Yeh, the site is loading slow as the pics are not compressed, they are just normal JPEG ones. I will shrink them down as GIF's.
                  Portfolio- www.oliver-ashley.com

                  Comment


                  • #10
                    If you try it again now, it should work fine

                    Click here: www.oliverashley.co.uk

                    Cheers
                    Ollie
                    Portfolio- www.oliver-ashley.com

                    Comment


                    • #11
                      Much better!
                      I'd rather be hated for who I am, than loved for who I am not. ~ Kurt Cobain

                      Comment

                      Search

                      Collapse

                      Sponsor

                      Collapse

                      Incredible Stock

                      Latest Topics

                      Collapse

                      • KitchWitch
                        Reply to Hi guys im new
                        KitchWitch
                        Hi Penguinruwan and welcome to GDF.

                        We ask all new members to read very important links here and here. These explain the rules, how the forum runs and a few inside jokes. No, you haven't...
                        Today, 01:24 PM
                      • PrintDriver
                        Reply to Hi guys im new
                        PrintDriver
                        Not quite sure what to tell you.
                        The profession of graphic design is not learned by watching tricks on Youtube or learning the software buttons. There is quite a bit of theory that goes into a good...
                        Today, 01:22 PM
                      • PrintDriver
                        Comment on Google Fiber
                        PrintDriver
                        Boston is only a Webpass city anyway, and only for condos and apartment buildings.
                        Looks like they still plan to expand into a (very) few new cities:
                        https://fiber.google.com/newcities/
                        Today, 01:13 PM
                      • cwelsch
                        UI Designer Full-time in Games/Education (Irvine, CA)
                        cwelsch
                        Your designs can make a difference.
                        MIND Research Institute is utilizing gamification and neuroscientific research to push the boundaries of education, and we need a pixel-perfect UI designer...
                        Today, 01:06 PM
                      • B
                        Comment on Dream jobs?
                        B
                        Yeah, I'm not sure how this one got through. I've changed the URL to something else.
                        Today, 12:45 PM
                      GDF A division of Mediabistro Holdings Adweek | Mediabistro | Clio | Film Expo Group Contact Us | Terms of Use | Privacy Policy Copyright 2016 Mediabistro Holdings
                      Working...
                      X