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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:26:58+00:00 2026-05-31T16:26:58+00:00

Please help. I’m losing sleep over this one! :) I have a list of

  • 0

Please help. I’m losing sleep over this one! 🙂

I have a list of short posts; call them quotes if you will. I have a fixed position header that is 200px high with a transparent background. I need the header visible for each and every post that the user scrolls through (hence the fixed positioning), and I’d like the read posts to disappear (or lower substantially in opacity) when they are scrolled up and behind the header; an inverse of “lazyload” with a 200px pad, if you will. Of course if the user scrolls the opposite direction to have the post back in the viewport (and below the header), I need it to reappear.

I’m fairly new with jQuery so please bear with me. I’ve searched extensively for help and hints but no fix yet. Your help is sincerely appreciated!

Mockup:

Test Page

jQuery:

$(document).ready(function(){

  var headerheight = $('#header').height();
  var scrollposition = $(window).scrollTop();

    $(window).scroll(function(){

        var offset = .offset();

        $('li').each(function() {

            if(scrollposition <= $(this)offset.top-headerheight){

            // 
            $(this).fadeOut(400);
            // 

            } else {

            //
            $(this).fadeIn(400);
            //

            }
        });
    });
});
  • 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-31T16:26:59+00:00Added an answer on May 31, 2026 at 4:26 pm

    Got it. Used this plugin: http://imakewebthings.github.com/jquery-waypoints/

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

Sidebar

Related Questions

Please help me on this problem. I have 2 identical tables, one is timetable
Please help me about this issue... In my application i have calender where user
Please Help me to do this first i have this div <div class=loader alt=stat.php>
Please help me understand the meaning of this code. I have seen this kind
please help .... i have a tableview with a list of vehicle what i
Please help me with this. I am totally stuck. I have coders block or
Please help me to do this way I have 2 MVC3 apps with form
Please Help me on this: In here I need to call this Add(...) method
please help me understand this. You have a function that calls a few methods:
please help on this issue: Within a loop, I first call a function, which

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.