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

  • Home
  • SEARCH
  • 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 9005467
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T01:09:10+00:00 2026-06-16T01:09:10+00:00

I am using CSS transitions to animate the removal of an element from the

  • 0

I am using CSS transitions to animate the removal of an element from the screen. In FireFox I use the “transitionend” event to detect when the transition is complete and then remove it from the DOM. This only works however if an transition actually occurs.

How can I tell, from JavaScript, whether the change in a property will ultimately result in a “transitionend” event being sent? If there is no transition then I must remove the element directly.

For clarity, I wish to know whether a change in property will trigger an event or not (FireFox is fine for now). This is because I need to trigger an action at the end of the transition, and if there will be no transition I need to trigger it immediately.

  • 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-16T01:09:11+00:00Added an answer on June 16, 2026 at 1:09 am

    Here are the equivalents for transitionend for the major vendors (that support transitions):

    • Webkit: webkitTransitionEnd
    • Opera: oTransitionEnd
    • IE and Mozilla: transitionend

    To find out whether the property is being animated, simply check if it has reached the destination value immediately:

    el = $('myElement');
    el.css('top', '100px');
    if(!el.css('top') == '100px'){
        alert('No transition');
    }
    

    Here is a demonstration: http://jsfiddle.net/6Q9XC/

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

Sidebar

Related Questions

I'm using WebKit transition to animate certain CSS changes. For example, say I've got
I've found that there seems to be a problem using css transitions properties when
I have a large wheel of div's which I rotate. I use CSS transitions
I'm trying to use CSS Transitions with a :before selector and currently the only
I want to animate two (or more) CSS transform properties separately using keyframe animation
I have an apple like coverflow element built using CSS3 transition and 3D transforms.
In a HTML5 / CSS3 Demo I am making, Im using CSS transitions mostly
I would like to make a css transition on an element which has display:
I am trying to make a <ul> slide down using CSS transitions. The <ul>
I am trying to animate my pages using css3 transitions. I need to be

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.