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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T03:19:12+00:00 2026-06-17T03:19:12+00:00

I have a navigation container with vertically ordered links inside. What I would like

  • 0

I have a navigation container with vertically ordered links inside. What I would like is for each link to fade in and fly from left to right. I am not sure however how to do this sequentially? I have code that does them all at once but I want to do them one at a time. Or at least have them staggered so there is an arbitary delay between animations firing

Code:

$(document).ready(function(){
    $("#navigation a")
        .css({opacity:0,"margin-right":"10px"})
        .animate({opacity:1,"margin-right":"0"});
});
  • 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-17T03:19:13+00:00Added an answer on June 17, 2026 at 3:19 am

    Update

    As Nate commented below, arguments.callee is deprecated. Although not everyone agrees on this matter, generally deprecated functionality should be avoid. Thanks to Nate, the following will work without using arguments.callee.

    Working Example: http://jsbin.com/idizi/1359/edit

    var paras = $('p'),
        i = 0;
    
    // If using jQuery 1.3 or lower, you need to do 
    // $(paras[i++] || []) to avoid an "undefined" error
    function animateNav () {
        $(paras[i++]).fadeIn('fast', animateNav)
                     .css({opacity:0,"margin-left":"10px"})
                     .animate({opacity:1,"margin-left":"0"});
    }
    
    animateNav();
    

    This will get the desired result.

    Working Example: http://jsbin.com/idizi/1356/edit

    var paras = $('p'),
            i = 0;
    
    // If using jQuery 1.3 or lower, you need to do 
    // $(paras[i++] || []) to avoid an "undefined" error
    (function() {
      $(paras[i++]).fadeIn('fast', arguments.callee)
                   .css({opacity:0,"margin-right":"10px"})
                   .animate({opacity:1,"margin-right":"0"});
    })();
    

    via http://net.tutsplus.com/tutorials/javascript-ajax/quick-tip-easy-sequential-animations-in-jquery/

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

Sidebar

Related Questions

I have a horizontal navigation of <li> 's which on click I would like
I am using WordPress I have put an extra container in the navigation menu.
I have a navigation list I placed inside of a , I am attempting
I have all the menu items in a Zend Navigation Container. I'm displaying the
I am doing a website in wordpress. And under the navigation I have container(id=cover_photo)
I have a horizontal navigation bar. Each button is a span with a background
I have an application that uses a UITabBarController as its outer container. Each tab
I have the following css .container {margin-left:auto; margin-right:auto; width:1020px;} .body {float:left; width:1020px;} .leftcont {float:left;
I have a navigation div with three images. Each image has a title element
I have a Navigation bar set up with images for the links to other

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.