Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 6 of 6
  1. #1
    Formerly 'aZooZa'
    Dale Hubbard's Avatar
    Join Date
    Jan 2003
    Location
    UK Expat in CN
    Posts
    6,239
    Country

    England Follow Dale Hubbard On Twitter
    DNF$
    3,122
    Bank
    0
    Total DNF$
    3,122
    Donate  

    Question Animated .GIFs question

    Is is possible to have animated gifs, where the link target changes through each rotation of the image?

    Example: The gif shows an ad. It has a target link. Then the animation moves on to the next frame (given, say x seconds) and the target link changes.

    Or is this Flash only or even Java?

    Also, forgetting graphics, could this be done with text links at all? Via PHP perhaps?

    Thanks!

  2. #2
    DNF Regular
    DNGeeks's Avatar
    Join Date
    Jan 2005
    Location
    Winnipeg Canada
    Posts
    625
    Country

    Canada
    DNF$
    10,316
    Bank
    0
    Total DNF$
    10,316
    Donate  

    Re: Animated .GIFs question

    No. This can only be done in flash (possibly java too). A gif cannot have a url embedded in it which would be required to do what you're asking.

    For text links, and the gif above, you may be able to do it with a script that would time itself and change the URL's. This might work well in theory, but may not work well in practice, I've never tried it.

  3. #3
    Formerly 'aZooZa'
    Dale Hubbard's Avatar
    Join Date
    Jan 2003
    Location
    UK Expat in CN
    Posts
    6,239
    Country

    England Follow Dale Hubbard On Twitter
    DNF$
    3,122
    Bank
    0
    Total DNF$
    3,122
    Donate  

    Re: Animated .GIFs question

    Thanks DNGeeks. Anyone else tried to do something similar to this?

  4. #4
    Platinum Lifetime Member
    DogFaceBoy's Avatar
    Join Date
    Sep 2005
    Location
    Canada
    Posts
    1,038
    DNF$
    4,788
    Bank
    0
    Total DNF$
    4,788
    Donate  

    Re: Animated .GIFs question

    There are simple PHP scripts that will do this though. But won't be a .gif animation, they will all have to be separate images.

  5. #5
    Gold Lifetime Member
    ForumDomains's Avatar
    Join Date
    Jul 2004
    Posts
    387
    DNF$
    798
    Bank
    0
    Total DNF$
    798
    Donate  

    Re: Animated .GIFs question

    You should search for a image scheduling script not for animated gifs with different links!

  6. #6
    Gold Lifetime Member

    Join Date
    Oct 2004
    Posts
    204
    DNF$
    340
    Bank
    0
    Total DNF$
    340
    Donate  

    Re: Animated .GIFs question

    I've done stuff like this in javascript using innerHTML, not too hard.

    <body onload="animate()">
    <div id="thegif">
    </div>

    <script>
    frame = 1
    function animate() {
    if (frame==1) document.getElementById("thegif").innerHTML = "<a href='target1.html'><img src='img1.gif' border=0></a>"
    if (frame==2) document.getElementById("thegif").innerHTML = "<a href='target2.html'><img src='img2.gif' border=0></a>"
    frame++
    if (frame > 2) frame=1
    timerx = setTimeout("animate()", 2000)
    }
    </script>
    </body>

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Domain name forum recommended by Domaining.com