Embedding an html link within an animated GIF

Posted on 2009-02-17
Last Modified: 2014-05-28

A client of mine is insisting that I supply an animated banner in GIF format which contains the HTML link. I do not believe this is possible as images have no way of containing action script (as far as I know).

I already know that the normal way is to supply a GIF then whoever puts the web page together will code the link directly into the HTML file.

Can someone just confirm that there is no way to contain a link within the actual GIF itself?

many thanks in advance
Question by:rtzan
    LVL 10

    Accepted Solution

    I am not aware of a way to embed the URL with an image in the way described. It is added in the call string of the HTML page code as you mentioned. The other alternative is using a flash object instead of an animated GIF as Flash objects can contain embeded code.

    Author Comment

    Thanks for your quick reply, I agree, the best way is to supply an SWF file.
    I just wanted to be certain before I went back to them with this.
    LVL 10

    Expert Comment

    Ok rtzan, how bout them points? =)
    LVL 7

    Assisted Solution

    Why not create a div with the image on top, and a scrolling marquee below that is the width of the image above? Each text element in the marqee can be a different link.

    Text can even be pulled from a DB making updates easier.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    The first time you look at a web page and its source code, you are probably a little intimidated by the use of symbols and jargon that really looks foreign to you. You might not even know where to start to begin learning what it all means. That’…
    Both Easy and Powerful How easy is PHP? (  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
    This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
    The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now