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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:42:58+00:00 2026-05-23T18:42:58+00:00

The design I’ve been given to work with is 960px wide by around 7000px

  • 0

The design I’ve been given to work with is 960px wide by around 7000px tall, cut into five vertically-stacked segments at arbitrary points. There’s a fixed-placed sidebar that scrolls to each segment, depending on which navigation link is clicked. Atop this are a bunch of sliders, transparent PNGs, headlines and paragraphs, predominantly positioned in a relative fashion.

I need to ultimately do two things:

  1. Hide the corresponding quick-nav links in the sidebar until its related segment’s background image has loaded

  2. Load (and ideally fade in) the transparent PNGs in each section as needed — the user scrolls between two vertical scroll values and stops for a second, causing that section’s transparent PNGs to then load and fade in.

I’m currently using softscroll.js to achieve a smooth scrolling effect for when the sidebar links are clicked (thus scrolling to the related anchors). Thus, lazy loading techniques that begin to load images as you scroll by won’t work — if I click the last link in the sidebar nav and it scrolls me to the bottom, I don’t want every image between the bottom segment and the top loading as a result.

While I’ll need to figure out point 1 sooner rather than later, I’m more interested in the second question.

How would one use jQuery to load images inside a certain element if and only if the user has paused between two specific vertical scroll values?

Thank you!

(BTW, please don’t respond with appelsiini’s lazyload jQuery plugin. It’s unsupported by the developer and doesn’t appear to work in modern browsers. 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-05-23T18:43:00+00:00Added an answer on May 23, 2026 at 6:43 pm

    A slightly more full fat solution to the already great one suggested by Justin is to use jQuery Waypoints to manage the in viewport events.

    You may run into issues if you’re rewritting the scroll mechanism on mobile browsers using something like iScroll or scrollability. In which case you’ll need to use their APIs to investigate a fix.

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

Sidebar

Related Questions

The design I've been given for an iPhone app I'm working on calls for
Design an algorithm that, given a list of n elements in an array, finds
Design a linear algorithm to rearrange the elements of a given array of n
Design a class named Triangle that extends GeometricObject (code given below). The Triangle class
Custom design for <h3> tag... it work nicely on IE8, Firefox and Chrome. But
Hey design pattern experts- I'm trying to build a four step process into a
Design View for Xaml on Visual Studio Professional RC 2012 used to work for
Design patterns are great in that they distill a potentially complex technique into something
Design a data representation mapping a stack S and a queue Q into a
Design requirement: Show a list of items the user can pick from After having

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.