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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:01:03+00:00 2026-05-26T15:01:03+00:00

i use jquery animate function to increase height & width of jquery dialog. it

  • 0

i use jquery animate function to increase height & width of jquery dialog. it is working but i need to increase only height not width with bit of animation.

i wrote the code like

$("#dialog").animate({ height: $content.outerHeight(), width: $content.outerWidth() }, 1000,
             function () {
                 $("#dialog").removeClass("BusyStyles");
                 $content.fadeIn('slow'); 
             });

but animate function take two parameter height & width but i need to increase only height. so is there anything similar like jquery animate function by which i can increase height only.
please help…thanks

  • 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-26T15:01:04+00:00Added an answer on May 26, 2026 at 3:01 pm

    The first argument of animate in this example is an object which represents the key/value pairs of the css properties you want jquery to animate to. So in your example you are saying animate the width AND height to these sizes. You can give that object as many or as little key/value css pairs as you would like. So for you the below example should work

    $("#dialog").animate({ height: $content.outerHeight() }, 1000,
                 function () {
                     $("#dialog").removeClass("BusyStyles");
                     $content.fadeIn('slow'); 
                 });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When I use jQuery animate() function to change the size of a div, it
Right now I'm getting this strange problem where when I use jQuery's animate() function
I can't figure out how to use a variable in jquery's animate function. I'm
When I use the fade/slide/animate functions in jQuery the callback gets called multiple times
I want to use .animate to change colors when .bind('click') is fired, using jquery
I use jQuery to do AJAX calls. But specialchars like ÆØÅ (danish letter) comes
I use jquery post function to go to server and bring the link to
I use jQuery to fade in a caption on a icon mouseover. $(#v1).mouseover(function() {
I have a problem. I would like to use the animate() function to slide
I want to write some code that allows me to replace jQuery's animate function

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.