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 8336501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:00:35+00:00 2026-06-09T04:00:35+00:00

I have few elements in my HTML page which are only images and tooltip.

  • 0

I have few elements in my HTML page which are only images and tooltip. I wanted them to animate randomly based on the animation I have done on the CSS part.

Currently all the elements will animate together when the page is loaded, I do no want this.

I am thinking of calling the CSS class from jQuery one by one, but looking at the number of elements and since it is just a basic translation animation, is there any better way to do this?

Here are the elements:

<div class="twitter-animate">
  <div id="twitter-wrap"><a href="#" id="twitter"><img src="img/link-twitter.png"></a></div>
    <div id="twitter-tooltip"><span>Tweet!</span></div>
</div>


    <div id="youtube-wrap"><a href="#" id="youtube"><img src="img/link-youtube.png"></a></div>
    <div id="youtube-tooltip"><span>YouTube</span></div>

    <div id="facebook-wrap"><a href="#" id="facebook"><img src="img/link-fb.png"></a></div>
    <div id="facebook-tooltip"><span>Facebook</span></div>

    <div id="newspaper-wrap"><a href="#" id="newspaper"><img src="img/link-newspaper.png"></a></div>
    <div id="newspaper-tooltip"><span>Newspaper</span></div>

    <div id="www-wrap"><a href="#" id="www"><img src="img/link-www.png"></a></div>
    <div id="www-tooltip"><span>Put your URL!</span></div>

    <div id="email-wrap"><a href="#" id="email"><img src="img/link-email.png"></a></div>
    <div id="email-tooltip"><span>Mail me!</span></div>
  • 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-06-09T04:00:37+00:00Added an answer on June 9, 2026 at 4:00 am

    For the sake of simplicity I’m going to assume you want your elements to to be translated from left to right. The tooltips are also irrelevant, so I’ll remove them.

    The first thing you need to do is add a common class to all your elements. Here I added share as a class:

    <div id="twitter-wrap" class="share"><a href="#" id="twitter">Twitter</a></div>
    <div id="youtube-wrap" class="share"><a href="#" id="youtube">YouTube</a></div>
    <div id="facebook-wrap" class="share"><a href="#" id="facebook">Facebook</a></div>
    <div id="newspaper-wrap" class="share"><a href="#" id="newspaper">Newspaper</a></div>
    <div id="www-wrap" class="share"><a href="#" id="www">WWW</a></div>
    <div id="email-wrap" class="share"><a href="#" id="email">Email</a></div>
    

    Then your CSS should look something like this…

    .share {
      width: 100px;
      background-color: #333;
      padding: 3px  0 3px 10px;
      margin-bottom: 3px;
      -webkit-transform: translate(-100px, 0);
      -moz-transform: translate(-100px, 0); 
      -o-transform: translate(-100px, 0);  
      -ms-transform: translate(-100px, 0); 
       transform: translate(-100px, 0); 
      -webkit-transition: all 500ms ease;
      -moz-transition: all 500ms ease; 
      -o-transition: all 500ms ease;  
      -ms-transition: all 500ms ease;
       transition: all 500ms ease;    
    }
    
    .share.animate {
      -webkit-transform: translate(0, 0);
      -moz-transform: translate(0, 0); 
      -o-transform: translate(0, 0);  
      -ms-transform: translate(0, 0); 
       transform: translate(0, 0); 
    }
    

    ​Then you need a little bit of javascript to fire off the first animation, and then listen when each trasition ends to fire off the next one…

    //after document ready
    $(".share").first().addClass("animate")
    
    $(".share").bind("webkitTransitionEnd oTransitionEnd msTransitionEnd transitionend", function(e){
      $(e.target).next('.share').addClass("animate");
    })
    

    You can find it all put together here: http://jsfiddle.net/HYAWj/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My Page is 980px in Width, but I have a few design elements (which
I have a few scattered <p> elements on the aspx page which I am
I have few element in my html page which has tabIndex attribute. Now I
I have DIV element which only has a few lines in and a background
I have a main page (main.html) which opens an iframe page (iframe.html).. The iframe
I have a HTML page that displays a few values. I also have a
I have a page in which there are a few textarea and <input type=text>
I have few div HTML elements and i am cloning it with a clone(true)
I have a html page where i have a few textfields. Each set of
I have a page, in which there are a couple of Option elements whose

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.