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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T18:19:54+00:00 2026-05-30T18:19:54+00:00

I had this idea for a website of creating a fixed horizontal navigation bar

  • 0

I had this idea for a website of creating a fixed horizontal navigation bar that simply scrolls through the content when you press the menu items but I wanted to have an “introduction” div on top of it with a background image and a logo, lets say of 300px height that displays when you first load the page.

So the navigation bar would appear attached to the bottom of this “introduction” div and only when you scrolled past it would it become attached to the top of the window and become fixed positioned when you scrolled.

If you clicked a certain menu item or if you simply scrolled up to the start of the page it would attach itself to the bottom of the “introduction” div again.

Is this possible to do simply with CSS or would I have to use javascript to achieve this effect?

Thanks in advance!

  • 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-30T18:19:56+00:00Added an answer on May 30, 2026 at 6:19 pm

    I think you’ll need JavaScript for this one. It will not be hard however. The only thing you need to do is to switch the positioning of the menu to ‘fixed’ when the menu would otherwise scroll out of the viewport.

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

Sidebar

Related Questions

I had this idea of creating a count down timer, like 01:02, on the
I was wondering if anyone had a better idea how to do this. atm
I just got this question on an interview and had no idea how to
I had this nasty bug that disappeared in the past but now after quite
I had this doubt for sometime now, some people say that there's no such
I had this error when I browse new web site that site sub from
I'm building a website that will be an open-source, user-contributed content kind of thing,
I currently work for a social networking website. My boss recently had the idea
I'm just starting to research an idea that I had to update a form
I'm new to the wold of javascript/jquery, but had this fantastic idea for an

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.