Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
content-progress
Advanced tools
Readme
A Work in Progress* A jQuery plugin that creates a progress bar/frame based on a user's scroll position.
You can customise the following settings
$(document).ready(function(){
$('body').contentProgress({
//defaults
type: 'bar', //you can specify either frame or bar.
wrapper: '<div />', //the wrapper for the progress bars
attr: {
class: 'content-progress' // the class name of the progress bar container
},
onComplete: function() {
// callback when user reaches end of page or content
},
fromComplete: function() {
// callback when user scrolls back from end of page
}
});
});
#Dependencies jQuery & jquery-transit
install via npm
npm install content-progress
To use, just include the contentProgress.js and css to your page. The appearance of the progressbars can be styled via css (bar thickness, color, etc.). Please take note container paddings to account for the thickness of your progressbars. Progress bars are highly customisable via CSS, you can basically do anything with it! Thickness, background, colors, positioning, go wild! If you decide to change the classname, please change the css accordingly.
$(document).ready(function(){
$('body').contentProgress({
type: 'bar'
});
});
Please see the demo!
FAQs
A jquery plugin that creates stylable progress bars based on scroll position.
The npm package content-progress receives a total of 0 weekly downloads. As such, content-progress popularity was classified as not popular.
We found that content-progress demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.