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!
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
williamrossi
6,232 Pointsmaking 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
19,924 Points- 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.
- To me the linked JSFiddle seems a bit useless since I cannot see the relation to your described problem.
- You can embed a GIF using a simple
<img>
tag. What are you going to do with the<iframe>
?

Jouke Jonkers
9,286 PointsWe 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?
williamrossi
6,232 PointsThanks, 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.