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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:49:09+00:00 2026-06-14T08:49:09+00:00

I am developing a site that has a pop out calculator. On clicking the

  • 0

I am developing a site that has a pop out calculator. On clicking the button ‘Quote Calculator’ a div animates, first height then width and sits on top of all other elements on the page. This works in IE9, Chrome, FireFox & Safari, unfortunately it refuses to work in IE7/IE8.

When ‘Quote Calculator’ is clicked it only animates the height and then stops – leaving a thick blue line over the page, it does not animate the width.

I have searched for a similar problem here, and on Google, to no avail.. What is the problem?

Here is my code:

$("#calcbutton").click(function () {
    $("#pnecontainer").show();
    $("#pnecontainer").animate({height: "550px", position: "absolute", top: "75px"});
    $("#pnecontainer").animate({width: "925px", left: "-635px"});
});

Is there a way to make it work on IE7/IE8 or will I have to settle for something less aestetically pleasing, like a disappearing/reappearing box?

UPDATE:

I have implemented the animations all on one line/as part of same function.

Interestingly, for some reason, whilst it won’t allow me to implement 2 animations in the same function on first click, it does allow me to do so on the minimize function like so:

$("#minimizebutton").click(function () {
    $("#pnecontainer").animate({width: "-925px"});
    $("#pnecontainer").animate({height: "-550px", top: "-635px"});
    $("#pnecontainer").hide(100);
});

Odd.. thoughts anyone? (comments only please, answer has been accepted)

  • 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-14T08:49:10+00:00Added an answer on June 14, 2026 at 8:49 am

    You want to be using callback functions, waiting to animate the width until the other animation finishes, or maybe just put all the animations in the same .animate()

    IE7/8 aren’t great with JS let alone animations, so the 2 animations on the same item running at the same time are probably what’s causing the issue.

    $("#pnecontainer").animate({height: "550px", position: "absolute", top: "75px"}
        , function () {
             $("#pnecontainer").animate({width: "925px", left: "-635px"});
    });
    

    Or animate it all in 1 line

    $("#pnecontainer").animate({height: "550px", position: "absolute", top: "75px", 
                                width: "925px", left: "-635px"});
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Developing a site that requires monthly subscriptions via PayPal. If a buyer has an
I'm developing a web site that has a search box as part of the
I'm developing a site that has a few files on it that I only
We are developing a site that has a Japanese localization. In that site, we
I have a query. I am developing a site that has a search engine.
I'm developing a site for a company that has clients from all over the
I'm developing a site that has a REST API and I'd like to track
I'm developing a web site that has a master page that consists of 4
I'm developing web site that loads pages dynamically using the .load function. For example:
I'm developing a site that's pretty lightweight on the interface and mostly database driven

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.