tomsansome / data-img-jquery Goto Github PK
View Code? Open in Web Editor NEWSmall plugin to deal with responsive image delivery. Think responsive.io minus the cdn.
Small plugin to deal with responsive image delivery. Think responsive.io minus the cdn.
resize: true/false as to weather this will work on browser resize (default = false)
s/weather/whether
This statement on line 10 will set window.This
:
This = $(this);
Should probs have a var
in front to keep it in the lexical scope:
var This = $(this);
Isn't it bad for SEO to use a placeholder gif as the "main" image
for some reason, when using your plugin, I have to subtract 18px from whatever breakpoint I want to use. I even noticed the image on your projects home page changing at this point. For example, the 800x600 switches over at 817px or 818px.
Is there a possibility for support with lazyload?
Latest lazyload uses the following setup:
<img class="lazy" data-original="img/example.jpg" width="640" height="480">
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.