Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

zoran

macrumors 601
Original poster
Jun 30, 2005
4,809
134
Can there be http links implemented on gif files, so when pressed it would direct the user to some web address? I think those gif files they are called "call to action" or somethin... does that ring a bell? :(
 

DevMops

macrumors newbie
Feb 27, 2018
16
11
If you're talking about making it in HTML, then yes, you can do this. Basically, animated gifs are the same images just like any other ones. Here's an example code:

HTML:
<a href="https://www.macrumors.com/">
  <img src="some.gif" alt="Link to MacRumors">
</a>

I attached a page with the code so you can take a look at it your browser.
 

Attachments

  • gif-example.zip
    23.3 KB · Views: 254
  • Like
Reactions: zoran
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.