![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Bollocks
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,792
|
Trying to figure out a good lazy load solution
I want to post-load images on my page that are below the fold. I can't seem to find a simple solution that takes into account non-javascipt enabled users. They all seem to rely on having JS/Jquery.
I'm thinking, put the standard HTML in a noscript tag, then have a js function which takes all the elements in the noscript tag and writes them out but omits the src attribute in the img tags (or swaps them for a "loading..." gif), then a post-load function fills all the src attributes back in. Sound reasonable? Will googlebot understand what I'm doing though?
__________________
Interserver unmanaged AMD Ryzen servers from $73.00 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Mar 2011
Location: Florida
Posts: 2,040
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Bollocks
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,792
|
Hmmm
Quote:
__________________
Interserver unmanaged AMD Ryzen servers from $73.00 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Mar 2011
Location: Florida
Posts: 2,040
|
shit, sorry i didn't read this well enough, just woke up.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Bollocks
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,792
|
Actually I've just figured out something really clever, really fucking clever and it doesn't need noscript. This is fucking genius actually, probably about the most cleverest thing I've ever thought of. You'd fucking love this if I told you what it was.
__________________
Interserver unmanaged AMD Ryzen servers from $73.00 |
![]() |
![]() ![]() ![]() ![]() ![]() |