We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IMPORTANT: Code has been in use for over a year... but loading times for over 70 logos is not what I want
--> setup lozad.js
const observer = lozad(); // lazy loads elements with default selector as '.lozad' observer.observe();
--> fetch json file with radio stations...
--> looped through every record which has the StationNameLogo.png for every radio station
data.forEach(obj => { $('tbody').append("<tr id="+counter+"><td class=\"label-cell\"><button onclick=\"playStation("+counter+");\"><img class=\"lozad stationlogo\" data-src="+stationLogo+"></button></td><td class=\"label-cell\">"+channel+"</td><td class=\"label-cell\">"+genre+"</td></tr>"); } else { offLine++; } }); });
--> images simply disappear and no error is shown on console.logs
Any pointers or suggestions.
STAY SAFE --> the world needs Developers like you!
The text was updated successfully, but these errors were encountered:
@inglesuniversal Codepen sample would be appreciated to debug
Sorry, something went wrong.
No branches or pull requests
IMPORTANT: Code has been in use for over a year... but loading times for over 70 logos is not what I want
--> setup lozad.js
const observer = lozad(); // lazy loads elements with default selector as '.lozad' observer.observe();
--> fetch json file with radio stations...
--> looped through every record which has the StationNameLogo.png for every radio station
data.forEach(obj => { $('tbody').append("<tr id="+counter+"><td class=\"label-cell\"><button onclick=\"playStation("+counter+");\"><img class=\"lozad stationlogo\" data-src="+stationLogo+"></button></td><td class=\"label-cell\">"+channel+"</td><td class=\"label-cell\">"+genre+"</td></tr>"); } else { offLine++; } }); });
--> images simply disappear and no error is shown on console.logs
Any pointers or suggestions.
STAY SAFE --> the world needs Developers like you!
The text was updated successfully, but these errors were encountered: