-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new TB #1
Comments
Thanks ! I fixed the readme. About your problem, have you create the html tag "grid-home" (Your can pass ID or Class in the method) ? <div id="grid-home"></div> |
Yes, the tag is there, but _Tumblr.prototype.getPostOfPage only fails on the ajax request when it is used by getFirstPushHome. The request itself seems unnecessary as the posts are already available myTumblr.data.posts. If you could provide a demo with your exact steps, it would help me debug. |
Ok it's strange, have you an url to look the problem ? |
test url - try running |
You have instanciate the class with |
Thanks, a bit to quick on testing, missed the targetPost. |
Nice class!
I fixed some minor errors like new TB -> _Tumblr and missing comma after targetPost: '#content' to get your script up and running.
var myTumblr = new _Tumblr({ url : 'http://overflowhidden.tumblr.com', limitPostInJSON : 40, sessionStorage : true, postSelector : '.post', privateBlog: { activate : false, password : '' }, infiniteScroll: { activate : true, nearBottom : 200, targetPost : '#content', appendMethod : 'normal' } });
This above works, myTumblr is instantiated but I keep getting an error when pushing content to the DOM with
myTumblr.getFirstPushHome('#grid-home');
Would you be kind to provide a full example with HTML and infiniteScroll?
The text was updated successfully, but these errors were encountered: