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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:53:55+00:00 2026-06-12T07:53:55+00:00

I have built a site with a header that is fixed over top of

  • 0

I have built a site with a header that is fixed over top of the design so it is ever present throughout the site. Problem is I have had to make the container of the header and dock tall enough to accommodate the drop state. This is almost working correctly but now some of the page is not clickable due to the header/dock overlaying… This is a css issue and the way the header/doc was built. I am not sure there is another way to do this. If anyone would like to chime in on ideas or a solution that would be wonderful.

The container has overflow hidden on it so when in the drop state the play all videos gets cut off. Play around in firebug and you will see my dilemma.

This is the actual JS but is not quite working correctly as I have been unable to move the dock back up after many different tries..

$('#play-the-series').click(function(){
            $('#main-nav #content').animate({
                    top: '0'
                }, 1000, 'jswing');
        });

here is the link to the site: http://www.districtdesigngroup.com/basho/

This is a tough one so I commend anyone who wants to take a crack at it.
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-06-12T07:53:56+00:00Added an answer on June 12, 2026 at 7:53 am

    Basically you’ll want to make the #main-nav element only 195px height with CSS, then at the same time you animate +200px on the top of the inner element, you should expand the height of #main-nav 200px as well. Do the opposite when collapsing the header.

    Try this code:

    $('#play-the-series').click(function(){
      // check for a "open" class on the main-nav
      if (!$("#main-nav").hasClass('open')) {
    
        // your animation
        $('#main-nav #content').animate({
          top: 0
        }, 1000, 'jswing');
    
        // container animation
        $('#main-nav').animate({
          height: 395
        }, 1000, 'jswing');
    
        // add class to main-nav
        $("#main-nav").addClass('open');
    
      } else {
    
        //reverse everything:
    
        $('#main-nav #content').animate({
          top: -200
        }, 1000, 'jswing');
        $(this).addClass('open');
    
        $('#main-nav').animate({
          height: 195
        }, 1000, 'jswing');
    
        $("#main-nav").removeClass('open');
      }
    });
    

    Alternatively you could make use of absolute positioning within the #main-nav element, but then you’d have to make changes to your markup and make a ton of other new CSS edits

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

Sidebar

Related Questions

I have a very complicated site built on CSS3 that has html elements 3d-transformed,
I have a simple php site that I built, but for some reason my
I have a site built with simple templates; header.tpl, navigation.tpl, body_home.tpl, body_about.tpl, body_anotherpage.tpl, etc.
We have a site hosted in IIS6 that we built using the .NET 1.1
I have a site that I built with jsp's and I would like to
I have a site that I have built, with a colour scheme based around
I have built a site which requires user to login. Now I have decided
I have built a site using php and want to try keep it one
I have built a site in wordpress and the home page is really screwed
I have already built a site from scratch. It has banning, PM, comments, etc.

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.