Browse Source

Merge branch 'master' into gh-pages

v1
David DeSandro 13 years ago
parent
commit
7386949e95
  1. 11
      _posts/demos/2011-01-02-infinite-scroll.html
  2. 1
      css/style.css

11
_posts/demos/2011-01-02-infinite-scroll.html

@ -35,13 +35,10 @@ infinite_scroll: true
navSelector : '#page_nav', // selector for the paged navigation
nextSelector : '#page_nav a', // selector for the NEXT link (to page 2)
itemSelector : '.element', // selector for all items you'll retrieve
donetext : 'No more pages to load.',
loadingImg : 'http://i.imgur.com/qkKy8.gif',
debug: false,
errorCallback: function() {
// fade out the error message after 2 seconds
$('#infscr-loading').animate({opacity: .8},2000).fadeOut('normal');
}
loading: {
finishedMsg: 'No more pages to load.',
img: 'http://i.imgur.com/qkKy8.gif'
}
},
// call Isotope as a callback
function( newElements ) {

1
css/style.css

@ -750,6 +750,7 @@ code .nd { color: #9FAD7E; } /* CSS pseudo selector */
#infscr-loading {
position: fixed;
text-align: center;
bottom: 30px;
left: 42%;
z-index: 100;

Loading…
Cancel
Save