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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T21:49:44+00:00 2026-06-02T21:49:44+00:00

I have been impressed with Facebook’s new timeline feature, especially when you scroll down

  • 0

I have been impressed with Facebook’s new timeline feature, especially when you scroll down the profile and a small menu is displayed giving you the options to view their timeline or view more information about them. This div is only displayed when you scroll down to a certain length of the page, and then when you scroll back up i disappears again.

I’m building a project and this sort of system would benefit it hugely. There’s a long FAQ page and I think it would be better to offer the menu of the FAQ to the left of the screen so the user can scroll down naturally and have the option to jump to different questions, instead of using an accordion system and have the user click on the FAQ title and then display the content.

However, I’m not sure what it’s called and how I would go about building it. Has anyone ever built something like this?

  • 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-02T21:49:50+00:00Added an answer on June 2, 2026 at 9:49 pm

    I found the answer, what I was looking for is called “sticky divs”. I first found this post on Stackoverflow, which then led me to this website which explained the concept and gave the code.

    Using that code, I tinkered with it to give me what I needed. So in the HTML I put:

    <div id="quicknav" style="display:none;">
        <p>Navigation!</p>
    </div>
    

    And in the JQuery:

    function sticky_relocate() {
      var window_top = $(window).scrollTop();
    
      var div_top = $('#faq').offset().top;
    
      if (window_top > div_top)
        $('#quicknav').show()
      else
        $('#quicknav').hide();
      }
    
      // If you have jQuery directly, use the following line, instead
      $(function() {
        $(window).scroll(sticky_relocate);
        sticky_relocate();
      });
    

    This code has made me have a Facebook Timeline-esque div, which I’m happy about!

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

Sidebar

Related Questions

I'm relatively new to both scala and jodatime, but have been pretty impressed with
I'm new to MVC3 coming from CakePHP, and have been quite impressed. But I've
I'm playing around with Django South, and have been impressed by it's power, but
I have been playing with DynamicJasper lately, and have been pretty impressed. The only
I've recently started coding in Lisp, and have already been most impressed with macros
I have been testing the new deferred AJAX functions in jquery 1.5 and am
I have been trying out a few index views and am impressed but I
I have been writing .NET applications and have been impressed with the error handling
Have been working on this question for a couple hours and have come close
Have been looking on some tutorials for drawing canvas using SurfaceView, but the only

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.