wataruoguchi / clever-infinite-scroll Goto Github PK
View Code? Open in Web Editor NEWA useful infinite scroll jQuery plugin. It changes title and URL automatically, it's nice for SEO.
License: MIT License
A useful infinite scroll jQuery plugin. It changes title and URL automatically, it's nice for SEO.
License: MIT License
Is there an option to set the offset distance for fetching the next page?
Noticing that all the titles on my pages get replaced when running this script. I commented out the code that is doing it, but wanted to pass along the info.
Basically, if anything else in the markup has a title tag (a link, svg, etc) it gets replaced in the dom with generated titles that make very little sense.
Great plugin! What would be the best way to add a CSS animation while loading instead of the animated gif that comes with the plugin?
I've applied your latest update that includes adding the "active" class within changeTitleAndURL.
However, I am currently experiencing an issue where if the offset loads the next item without scrolling to it, both the viewable item and the next item have the "active" class...
First of all, I want to thank you for your work -- it saved me a lot of time. But there is one issue with the project -- when this library is active in a page, and you visit a link and want to go back, you have to click browser's back button twice.
Any ideas on why this happens?
it is not working with dynamic data
Great plugin, seems on par with Infinite Ajax Scroll. However, both run into the same issue if you use the following CSS:
html, body {
height: 100%;
width: 100%;
overflow: auto;
}
This prevents the JS from loading anything.
Is it possible to add an "active" class to the contentSelector which is currently in view?
I imagine something tied to the changeTitleAndURL function?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.