No announcement yet.

Gif question...

  • Filter
  • Time
  • Show
Clear All
new posts

  • Gif question...

    I have some links in my header of my website that I'm trying to make more attractive by using a tiny gif file that adds visual affect. This gif file is supposed to work like this:

    When the user hovers over the image and or link, the image is supposed to display a motion after which the remaining 2 layers of the gif image are supposed to repeat. Keep in mind that the final moment which the mouse remains hovered over the image, it is not in :active mode, but still, in :hover mode.

    Can this be done? Have a gif that has only 2 or so images within the entire gif file only repeat while the others are cycled through only once?

  • #2
    It's not the image that does what you want, it's Javascript or CSS or Flash...

    The image you set to hover is going to be your animated version while the others may be static. There's some issues with that though, animated files take up file size and may not be loaded up when roll over.
    “Pain is temporary. Quitting lasts forever.” Lance Armstrong


    • #3
      You could do it with multiple GIF files and a CSS/JS trick but you'll probably want to use Flash. I'd advise against using too much animation on your site.
      Swedish Meatball Pornography






      Latest Topics


      home | site map | advertising/sponsorships | about us | careers | contact us | help courses | browse jobs | freelancers | events | forums | content | member benefits | reprints & permissions about | terms of use | privacy policy | Copyright © 2013 Mediabistro Inc. Mediabistro Inc. call (212) 389-2000 or email us