Skip to content

Commit

Permalink
Enable effect from main demo page.
Browse files Browse the repository at this point in the history
  • Loading branch information
tuupola committed Nov 17, 2011
1 parent 4fbf902 commit f81a572
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions enabled.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<script src="jquery.lazyload.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
$(function() {
$("img").lazyload({effect: "fadeIn"});
$("img").lazyload();
});
</script>
<link href="http://www.appelsiini.net/stylesheets/main2.css" rel="stylesheet" type="text/css" />
Expand Down Expand Up @@ -57,9 +57,7 @@ <h2>Plugin enabled</h2>

<code>
<pre>
$("img").lazyload({
effect : "fadeIn"
});</pre>
$("img").lazyload();</pre>
</code>

<img src="img/grey.gif" data-original="img/bmw_m1_hood.jpg" width="765" height="574" alt="BMW M1 Hood"><br/>
Expand Down

0 comments on commit f81a572

Please sign in to comment.