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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:58:30+00:00 2026-05-28T13:58:30+00:00

What I want to do can be accomplished just by using: slideDown(fast); However, I

  • 0

What I want to do can be accomplished just by using:

 slideDown("fast");

However, I don’t like how it reveals the element, I would like for it to be 100% of the elements original height, and roll down. I’m wondering if there’s an easy way of doing this? Other than perhaps changing the margin-top and such, then animating it back to normal.

Example of what I want to do:
http://jsfiddle.net/7dary/1/
However I would like to have it just do all of the calculations automatically, and it not show in the middle of the page if it’s at the bottom of the page and I personally assign -200px or something to it.

  • 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-28T13:58:30+00:00Added an answer on May 28, 2026 at 1:58 pm

    Solution:

    var $element = $("#itemToSlide"); // make sure its visible
    var height = $element.height(); // get the height when its populated
    $element.css({marginTop:height*-1}); // set it to 0 with an overflow hidden
    
    // trigger the animate now or later in an event
    $element.show().animate({marginTop:0},2200); 
    

    link: http://jsfiddle.net/MattLo/7dary/2/

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

Sidebar

Related Questions

I will start by saying that I don't think what I want can be
Just want to ask can netbean IDE get connected to clearcase remote client server
I want to post on twitter wall but don't want that user can edit
I searched and tried a lot, but I can't accomplish it as I want..
i want users can log in my website throw FB connect ON MOBILE but
I am getting parameters from user ./inputControl.sh param1 param2 ... I want users can
I want anonymous user can view projects' status and logs but can not start/stop/force
I want to know can we have a JPanel with a Layout other than
I want to pause the timer thread....or i can say want to put it
When I disabled Numeric UpDown control I want that user can still read its

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.