This is my blog: http://9gago.blogspot.com/ it is a blog made out of bloggger/blogspot I want this feature wherein you scrolldown it will load the older posts so that the user doesnt have to click on older posts everytime it reaches the last post of the page. Here's a site that does exactly that http://9gag.com/ or used to have it.
automatically load older posts when scrolling down like 9gag on blogspot
4.9k Views Asked by weakprogrammer At
1
There are 1 best solutions below
Related Questions in BLOGGER
- i want to create a drop down menu for blogger
- Convert HTML Menu Code In Blogger to SubMenu
- Blogger next previous navigations missing
- How to link thumbnails at its redpectives post in blogger
- Can I remove this code from blogger contempo template
- How to exclude the current post from related articles on my theme
- How to use Blogger API v3 on Google Colab?
- How I can reorganize my hole old blogs in to a organization group for analytics
- How do I index my Blogger post on Google using Google API Indexing?
- How to auto display image from Google Drive hosted?
- Tumblr Automatic Insertion of Image Caption Base Upon Image File Name? - Example Script I Use on Blogger to Do This
- Blogger get part of text body post
- how to add badge button to blogger ( blogspot ) post in homepage
- Failed to Authenticate Blogger Rest Api from laravel Controller
- Not a programer so dont know the issue with the code
Related Questions in BLOGSPOT
- .Header h1 disappears with margin-top and margin-bottom
- Add padding on blogspot title
- How to bring Footer to bottom back?
- Blogspot post content : How to get second image src using javascript
- How to adjust the title in the header of my blogspot blog?
- How to Create Other Widgets in Blogger
- Code runs fine in .html, but not in blogspot.com
- I want sidebar to move between right and bottom when resizing browser window
- How to hide Blogger's sidebar on mobile
- Blogspot Template: pass widget output to javascript
- Add random number to script source (Blogger JSON call)
- How to limit Previous/Older and Next/Newer links on a post page to specific labels
- Htaccess Redirect To Custom Permalinks from Blogspot to Wordpress
- blogspot.com List of all posts of the same tag
- How can I embed an iframe with HTTP URL into Blogger
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I've got one implementation you might like. There are several ways to do this with several more variations.
First, you need to store the keys of the data that you displaying in the grid somewhere. This assumes that you've got a key that is sequential in nature. An auto incrementing integer would work.
The markup in your grid might look something like this:
Then you need a function to show a "loading" icon that will also grab the next batch of data. Use the id from the last element in the grid to run a query on the server side that would grab the next 20 (or however many you want) rows of data.
Then one last function to detect the user has scrolled down to the end of the page.
Clearly, you need some code to take what you're post returns to load the data into your page through the DOM. I've written this code to show you conceptually what needs to happen. Your markup will be different and your grid could be anything from Sencha Ext JS to something hand rolled.
Hopefully this is enough to get the wheels turning for you.