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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T12:47:01+00:00 2026-05-24T12:47:01+00:00

I looking for way to animate text with jQuery. I want to display ‘logging

  • 0

I looking for way to animate text with jQuery.

I want to display ‘logging in…’ message where 3 dots should be hidden on page load and after every lets say 300ms 1 dot to become visible. Which all together should create animation.

Is there any jQuery function created to do exact that or I will have to right my own?

Any suggestions much appreciated.

  • 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-24T12:47:02+00:00Added an answer on May 24, 2026 at 12:47 pm

    This can be done rather nicely with a jQuery plugin. This makes it re-usable and configurable.

    Something like this is simple enough. It has 3 defaults, which can be overriden

    • text defaulted to “Loading”
    • numDots the number of dots to count up to before recycling back to zero, defaults to 3
    • delay the delay inbetween adding new dots. defaults to 300ms

      (function($) {
      
      $.fn.elipsesAnimation = function(options) {
      
          var settings = $.extend({}, { //defaults
              text: 'Loading',
              numDots: 3,
              delay: 300
          }, options);
          var currentText = "";
          var currentDots = 0;
          return this.each(function() {
              var $this = $(this);
              currentText = settings.text;
              $this.html(currentText);
              setTimeout(function() {
                  addDots($this);
              }, settings.delay);
          });
      
          function addDots($elem) {
              if (currentDots >= settings.numDots) {
                  currentDots = 0;
                  currentText = settings.text;
              }
              currentText += ".";
              currentDots++;
              $elem.html(currentText);
              setTimeout(function() {
                  addDots($elem);
              }, settings.delay);
          }
      }
      
      })(jQuery);
      

    Usage could then be

    // Writes "Hello World", counts  up to 10 dots with a 0.5second delay
    $('#testDiv').elipsesAnimation ({text:"Hello World",numDots:10,delay:500});
    

    And a live example: http://jsfiddle.net/6bbKk/

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

Sidebar

Related Questions

I'm looking for the best way to animate several divs onscreen. I tried jQuery,
I am looking for a way to animate my sprites with jquery. When I
I am looking for a way to animate a view transition when using the
I'm looking a way to enable IP logging with log4net in ASP.NET. I found
I'm trying to animate something using jQuery. UPDATE I have it working the way
I am looking for a way to display an animated progress indicator (animated GIF,
I'm looking for a way to animate the drawing of a stroke with HTML
I was looking for a way to animate the scrolling of a ScrollViewer and
I'm looking for way to write Javascript programs / scripts on desktop, not inside
I'm looking a way to build conditional assignments in bash: In Java it looks

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.