Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7026493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:07:29+00:00 2026-05-28T00:07:29+00:00

I have a gif animation that will loop forever. However, I don’t want it

  • 0

I have a gif animation that will loop forever. However, I don’t want it to be visible all the time, so what I basicly need is to give the animation 3 seconds to run once, then hide it and after 10 seconds make it visible again for 3 seconds.

I currently have this, but it isn’t working:

<script type="text/javascript">

    function autoupdate() {

  $('#bird').delay(3000);
  $('#bird').css('display', 'none'):
  $('#bird').delay(10000);
  $('#bird').css('display', 'block');
  }

  $(document).ready(function() {
    setInterval("autoupdate()", 50);
  }); 
  </script>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T00:07:30+00:00Added an answer on May 28, 2026 at 12:07 am

    There is a mistake in Neal’s solution as it will hidden for 13 seconds.. not 10.
    I think the following will suit you better, and it does not contain those 50 millis workaround.

    Here is my fiddle

    <div id="bird">
        bird
    </div>
    <script>
         function autoupdate() {
    
      $('#bird').css('display', 'none');
      setTimeout(function(){$('#bird').css('display', 'block')},10000);
      setTimeout(autoupdate,13000);
    
      }
    
     setTimeout(autoupdate,3000);
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a page that has a gif animation in a hidden div. Upon
I have a animated GIF that I want as a watermark. How do I
I do have a gif image load bar animation I do want it to
I have a GIF animation that is large and I am having it display
i have develop one application in which i want to play gif animation. for
I have an animated GIF that plays once (doesn't loop). I would like it
If I have an animated gif that just runs a single animation, IE. it
I have an animated gif image that gets swapped to another animated gif onclick.
I have an array with .gif, .png, etc in it. And I want to
I have some jpg files i want to create gif animated from them. i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.