Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vvo committed Jun 20, 2012
1 parent c777ef8 commit 039f64d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,19 @@ Most of the time, when you have 100 images on a page, your user doesn't need the

This lazyloader will only load what is necessary.

It's a standalone script that weights 919b gzipped.
It's a standalone script that weights 919 bytes gzipped.

## How to use

1. Add lazyload.min.js to your page before any `<script>` tag, either src or inline if
you do not have any other scripts in the `<head>`.

2. Change all `<img>` tags to lazyload :

```html
<img
data-src="real/image/src.jpg"
src=data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
onload=lzld(this) onerror=lzld(this) />
```

3. Enjoy

## Production ready? Yes.
Expand Down

0 comments on commit 039f64d

Please sign in to comment.