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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:55:19+00:00 2026-05-28T06:55:19+00:00

The animations that I am using on my site (which is developed for iOS)

  • 0

The animations that I am using on my site (which is developed for iOS) has a simple fade in and fade out using jQ:

$('.loading').fadeOut();

The iPhone, however, is choppy while running these animations. CSS3 animations work much smoother however. How can I fade out the div using jQuery but using CSS3 animations instead of the jQ ones?

  • 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-28T06:55:20+00:00Added an answer on May 28, 2026 at 6:55 am

    This is easier, but once faded out it doesn’t “disappear”, so the page doesn’t reflow once the transition is complete. It’s equivalent to jQuery’s fadeTo(), not fadeOut();

    Fade out

    $('selector').css({
      "opacity": 0,
      "pointer-events": "none"
    });
    

    Fade in

    $('selector').css({
      "opacity": 1,
      "pointer-events": "auto"
    })
    

    Delaying execution with Timeout

    setTimeout(function(){
      $('selector').css({
        "opacity": 1,
        "pointer-events": "auto"
      })
    },)
    

    Delaying execution with .delay

      $('selector')
        .delay(2000)
        .queue(function() {
           $(this).css({
            "opacity": 1,
            "pointer-events": "auto"
          })
        });
    

    But this is probably best done through the transition delay property in your css:

      -vendor-transition-delay: 2s;
    

    Or in shorthand:

      -vendor-transition: opacity 200ms ease 2s;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing a site which has a flash background playing a small video loop
I've just recently started developing a site for iPhone using jQTouch, and have the
I'm noticing that UIView animations using the UIView class methods seem to more or
I am using MBProgressHUD to show animations when the view is loading. WHen the
I have a simple animation on my rails site that pop's a div (with
i have a site with a simple PHP-Navigation (using $_GET-Variables). HTML-code for navigation links
I'm working on a site which has a scrolling background image. When i go
I'm using the SimpleModal plugin to display a dialog on a site. Within that
I am using Mootools extensively for a site which I am developing. But recently
Using jQuery I'm creating a basic 'tooltip' animation so that the tooltip will appear

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.