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

                      Advertisement

                      Collapse

                      Latest Topics

                      Collapse

                      • B
                        Reply to Is the forum particularly quiet of late?
                        B
                        The forum is busiest from Monday to Friday. It's quite slow on the weekends.

                        Like you mentioned with the other forums, this forum has slowed down considerably over the past two or three years....
                        Today, 01:25 AM
                      • taraesque
                        Reply to Would appreciate some feedback on my newest commisioned skateboard graphic
                        taraesque
                        I think she looks pretty good. My only critique would be that her hips are rather narrow that they don't seem to be in proportion to her body. I would bump them out just some more....
                        Yesterday, 11:17 PM
                      • Pacman Ghost
                        Is the forum particularly quiet of late?
                        Pacman Ghost
                        Good evening, everyone.

                        As a new member to this excellent forum, I have no idea whether the current level of activity is to be expected, but it seems very quiet at just a few posts per day....
                        Yesterday, 08:53 PM
                      • salsa
                        Comment on Typesetting. Can you spot my obsession?
                        salsa
                        Two spaces was never a thing. Ever. It was invented by high school typewriting teachers who thought that the monospaced letters on a typewriter made it difficult to see where the end of a sentence occurred....
                        Yesterday, 01:57 PM
                      • salsa
                        Reply to Attach a PDF to an InDesign file
                        salsa
                        It's an interesting request. I think the answer depends on what your designing. Who's going to use it, why, and what solution makes the most sense from the end user's view.
                        Yesterday, 01:48 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