Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


6,232 Points

making a a link on a gif, ie troubles!

Hi guys, I have made a gif a clickable link, bur surprize surprize IE8 hates it! Does anyone have a better way of doing it?

here is what i have so far.


many thanks

3 Answers

Lucas Krause
Lucas Krause
19,924 Points
  1. When linking a GIF and the link directs you to a "page not found" page it seems to be a problem with the link instead of the image.
  2. To me the linked JSFiddle seems a bit useless since I cannot see the relation to your described problem.
  3. You can embed a GIF using a simple <img> tag. What are you going to do with the <iframe>?

We might be able to help you better if you are more specific about what the problem is. Maybe share your code? I can confirm I dont see an image right now ^^*

Are you trying to make an animated gif a link? or just a static gif-image?

6,232 Points

Thanks, Jouke. I have updated my post with a jsfiddle. For some reason my code was not showing up in my original post.

I was trying to get an animated gif to link of to another page, it is working in all browsers apart from IE, where it just clicks off into a page not found window.