Permalink
Browse files

jquery, lazyload updated

  • Loading branch information...
1 parent 647ab51 commit e48e973fd0da0c447861ca0018033fc97ec87f58 @octatone committed Apr 17, 2012
Showing with 18 additions and 4 deletions.
  1. +1 −1 index.html
  2. +15 −1 js/jquery.lazyload.min.js
  3. +2 −2 js/tv.js
View
@@ -10,7 +10,7 @@
<link rel="alternate stylesheet" href="css/theme_dark.css" type="text/css" />
<link rel="stylesheet" href="css/theme_light.css" type="text/css" id="theme" />
-<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>
+<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script src="js/jquery.escapify.js" type="text/javascript"></script>
<script src="js/jquery.cookie.js" type="text/javascript"></script>
<script src="js/jquery.scrollTo-1.4.2-min.js" type="text/javascript"></script>
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -353,7 +353,8 @@ function loadVideoList(chan) {
}
$thumbnail
- .attr('src', getThumbnailUrl(this_chan, i))
+ .attr('src', 'img/noimage.png')
+ .attr('data-original', getThumbnailUrl(this_chan, i))
.click(function() { loadVideo( Number($(this).attr('rel')) ); });
$list.append($thumbnail);
@@ -365,7 +366,6 @@ function loadVideoList(chan) {
.show()
.animate({ height: '88px', padding: '5px' }, 1000, function() {
$('img').lazyload({
- placeholder : "img/noimage.png",
effect : "fadeIn",
container: $("#video-list")
});

0 comments on commit e48e973

Please sign in to comment.