0

The CSS animated fadeInLeft effect works on Windows IE but not on Mac OS X when onClick fires a second time.

JavaScript the animate effect only work when click button first time for OS X, Windows IE work well

image.className=null; //remove class

image.className="animated fadeInLeft"; //add class

Thanks.

1 Answer 1

0

You may execute image.className="animated fadeInLeft" Asynchronously. Such as:

image.className=null;////remove class

setTimeout( function(){
  image.className="animated fadeInLeft";////add class
},0);
1
  • i am so glad to get your help !
    – jack8
    Dec 26, 2014 at 7:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.