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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:41:52+00:00 2026-05-31T05:41:52+00:00

I’m trying to make a nice visual effect so the user can actual see

  • 0

I’m trying to make a nice visual effect so the user can actual see that an element was been added to the waiting list.

Moved from the lovely Apple OS effects in several application like iMovie when you swap the library with the video history I’m trying to do a simple movement from a div element… but this turned out to be a little hard.

Question will be, does anyone know any library to do the same in a simpler/nicer way?

What I could accomplish in 5 minutes was this:

http://jsbin.com/efihax

edit link: http://jsbin.com/efihax/edit

My idea is so smoothly shrink the .hero-unit div and make it like it’s been added to the Waiting List

after this first 5 minutes I could see that this would be turn out nice if I started to code an endless animate calls… not a good practice.

Is there any other way? Thought about CCS3 transitions / animations but I’m not that familiarized with it and still don’t know how I could do this…

An image to show what I’m trying to accomplish with the animate

enter image description here

  • 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-31T05:41:53+00:00Added an answer on May 31, 2026 at 5:41 am

    Some issues with your code:

    • The fadeOut callback will be called once for each element that is faded out. Your code might run more smoothly if you dropped the callback and instead set a timeout to start executing the rest of the code only once, when the animation is timed to end.

    • When you start your animation, you’ve set position: absolute, but your size and position of the element is still derived from its DOM position, so that it’ll jump once you start animating these properties.

      In the timeout, try setting the start properties:

        orig
          .css({
            'position':'absolute',
            'width':orig.width(),
            'height':orig.height(),
            'left':orig.position().left,
            'top':orig.position().top
          });
      
        orig.empty(); 
      
    • Your element currently appears below the .waitList .label because of its margin, and it appears greater than 1×1 px because of its padding. Try animating these as well.

    My edit of your code

    Update

    I realized that composite styles don’t animate very well. To get a smooth transition, you’d want to animate margin-top and margin-bottom individually, rather than just margin, and the same with all four padding properties.

    My updated code

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

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm trying to create an if statement in PHP that prevents a single post
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I am trying to render a haml file in a javascript response like so:

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.