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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T00:06:16+00:00 2026-06-17T00:06:16+00:00

I have a one page website in which I use this script to lazy

  • 0

I have a one page website in which I use this script to lazy load the images: http://appelsiini.net/projects/lazyload
Now, I also have anchor links on that page, like #footer. When the script is enabled, anchor links pointing to a position below a lazy loaded image break because when the image is loaded, the content gets pushed down.

So somehow the position needs to be recalculated, but I can’t wrap my head around the technique behind this. I found a bug report from Mozilla with the exact same problem here: https://bugzilla.mozilla.org/show_bug.cgi?id=718321, but still I am unable to understand how they solved it. Looking at their Git changelog here actually shows how they solved that problem, but because I don’t understand the steps necessary I am unable to recreate that.

How do I recalculate the anchor position to make anchor links working again, even with lazy loading enabled?

  • 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-17T00:06:18+00:00Added an answer on June 17, 2026 at 12:06 am

    Ok, so I’ve had a good read on lazy loading images and I also managed to fix my problem described above, but in the end I didn’t use it. Why you ask? Because although lazy loading images has some advantages, there are always many disadvantages – problems with touch devices, older browser & Internet Explorer and of course SEO, because Google’s bots won’t execute JavaScript or go into <noscript>tags, so all they see are the placeholder images.

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

Sidebar

Related Questions

I have one master page which applies to all pages in this website. On
I have a asp.net website in my local IIS and one of a page
I'm doing an asp.net application with one page. In this page, I have one
For example I have a website that points to a page like this: http://www.mysite.com/folder/file
I have one page website only using HTML, CSS and JavaScript. I want to
i am porting over a website from asp. i have one page that i
I have two div in my website page one beside the other(one left and
I have one Page which is displaying details of some Client. I am using
OK, I have a website which I am developing for a client. This website
I'm building an ASP.Net MVC website. Rather than have everything in one project, I've

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.