GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Trying to figure out a good lazy load solution (https://gfy.com/showthread.php?t=1065483)

redwhiteandblue 04-21-2012 05:57 AM

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?

barcodes 04-21-2012 06:04 AM

Will this help?
http://www.appelsiini.net/projects/lazyload

Best of luck with it

redwhiteandblue 04-21-2012 06:20 AM

Hmmm

Quote:

Google crawlers do not execute JavaScript but also seem to ignore noscript content.
I'm not sure that's right.

barcodes 04-21-2012 06:24 AM

shit, sorry i didn't read this well enough, just woke up.

redwhiteandblue 04-21-2012 09:26 AM

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.


All times are GMT -7. The time now is 02:50 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123