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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T06:49:54+00:00 2026-06-18T06:49:54+00:00

I have the following animation : $(this).animate({ marginLeft: ‘-25%’, width: 50%, minWidth: ‘400px’, maxWidth:

  • 0

I have the following animation :

           $(this).animate({
              marginLeft: '-25%',
              width: "50%",
              minWidth: '400px',
              maxWidth: '700px',
              padding: 0,
              minHeight: "580px",
              height: 'auto',
              borderRadius: 0
            }, 1000, function () {
              alert("I'm not being displayed!!");
              $(this).addClass('completed');
            });

All seems ok, but the callback is not been called in IE7 or 8. Why would this be?
I removed the last comma after borderRadius which fixed the original animation problem, but now this is the new issue.
Can anyone help?

EDIT:

The final alert with the punctuation error is not actually in the code, I have only placed it there to avoid people pointing out that the addClass part may have been the problem!

  • 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-18T06:49:55+00:00Added an answer on June 18, 2026 at 6:49 am

    For anyone interested I found out what the problem was. Apparently IE 7 and 8 had problems dealing with height: 'auto' within the animate function, which was causing it to not fire off the callback.

    I decided to use trial and error to comment out certain properties until I found the culprit after reading an answer on this question – jQuery example (in jsfiddle) working in firefox but not in IE8, 7 – by Jeff B

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

Sidebar

Related Questions

I have the following animation AxisAngleRotation3D rotation = (AxisAngleRotation3D)Template.FindName(rotationName, this); DoubleAnimation angleAnimation = new
I have this following jquery text fly-in animation.Here is my code before I explain
I have the following animations in my web page: $(.anim-item).not(this).animate({ opacity: 0, }, {
I have the following jQuery code: $content.each(function(i) { $body = $(this); $(this).find('div.field-content') .animate( {
I have the following code: $(#myDiv).hover( function () { $(this).clearQueue().animate({ backgroundColor: #d7df23, opacity: 0.95
I have the following animation set up using Three.js: http://frontier.lincoln.ac.uk/3d/development/Stage2/characters/man2.html Please ignore the ropey
I have a storyboard like the following Duration=0:0:1 Completed=DeviceExplorer_Completed> The animation for some reason
I have Divs show and hide (with an animation) using the following script (I
I have a sequence of images to create an animation. this works by using
The following code operates a JQuery based horizontal animation system. $(document).ready(function(){ maxWidth = 700;

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.