mburakerman / prognroll Goto Github PK
View Code? Open in Web Editor NEW[DEPRECATED] A tiny, lightweight jQuery plugin that creates scroll progress bar on the page.
Home Page: https://mburakerman.github.io/prognroll/
License: MIT License
[DEPRECATED] A tiny, lightweight jQuery plugin that creates scroll progress bar on the page.
Home Page: https://mburakerman.github.io/prognroll/
License: MIT License
If i have an xem height navbar at the top, how would i make the bar start gaining width AFTER the user scrolls past it?
Thank you,
While I like the plugin, I don't understand why you need to set the height for an element - especially the body. It kind of defeats the purpose of using it as a reading indicator, since not all articles are the same length. Isn't there a way to calculate the height of a div/body at page load and use that as a value?
Hi,
Awesome plugin!
Did you think about applying bar to custom element?
Example (body has top and bottom margin of 200px, div has for example 1000px height):
<body>
<div></div>
</body>
$("div").prognroll();
Width of the indicator should start increasing when scroll position will be at the top of the div and achieve 100% when scroll position will be at the bottom of the div.
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.