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

  • Home
  • SEARCH
  • 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 8994811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T23:30:39+00:00 2026-06-15T23:30:39+00:00

I am trying to achieve a slideUp into view effect, with scrolling. This is

  • 0

I am trying to achieve a slideUp into view effect, with scrolling. This is exactly like any console (shell, browser javascript, any REPL) that we all use multiple of everyday, but with a little animation flair. In the fiddle I have an example of the desired effect first, and the desired overflow: scroll second.

I have been unable to get both pieces working together. I have seen similar examples here on SO, but none with a fiddle, nor answered!

Illustration: http://jsfiddle.net/n8tqw/

  • 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-15T23:30:39+00:00Added an answer on June 15, 2026 at 11:30 pm

    This was quite an interesting puzzle, but I finally got it to work. Essentially you need a relative container that extends to the height of the entire absolute container, and then have another container (relative or static) with the set height (200px). For whatever reason, browsers don’t consider “off the top” absolute content to be outside of the scroll area:

    http://jsfiddle.net/n8tqw/1/

    $('#add-one').click(function() {
    
       var $p = $('<p class="content">' + number++ + '</p>')
            .appendTo('#from-bottom');
        $("#beholder").height($("#from-bottom").height());
        $("#scrollable-container").scrollTop($("#beholder").height());
        $p.hide().slideDown();
    });
    

    The new paragraph cannot be hidden immediately because the relative container needs to get the total height, and if it’s hidden the new paragraph’s height won’t be added. Similarly, scrollable-container‘s scrollTop will be a bit off if it’s hidden. Not hiding it initially seems to be unnoticeable to a user, though.

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

Sidebar

Related Questions

Trying to achieve any moving effect while appending an element from one to another
I am trying to achieve something like this. The Expandable List consists of the
Im trying to achieve an output like this {status:ok,0:{id:11,title:digg,url:http://www.digg.com}} but instead i am getting
Trying to achieve something like this using recursion: if (m > n) return; Foo
Im trying to achieve the effect like Safari on Mac and iPad have with
Im trying to achieve something like this image: the problem its when im on
I'm trying to achieve something like this NSMutableArray *myArray = [NSMutableArray arrayWithObjects:@A,@B,@C, nil]; NSLog(@Array:
Im trying to achieve an inner-shadow effect on a simple box, something like: alt
So I'm trying to achieve something like this in Dreamwaver CS5. I have one
I am trying to achieve an effect of overlapping the main window boundary with

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.