Cookie Consent by Free Privacy Policy Generator ๐Ÿ“Œ ScrollProgressJS- Customisable scroll progress indicator for web pages

๐Ÿ  Team IT Security News

TSecurity.de ist eine Online-Plattform, die sich auf die Bereitstellung von Informationen,alle 15 Minuten neuste Nachrichten, Bildungsressourcen und Dienstleistungen rund um das Thema IT-Sicherheit spezialisiert hat.
Ob es sich um aktuelle Nachrichten, Fachartikel, Blogbeitrรคge, Webinare, Tutorials, oder Tipps & Tricks handelt, TSecurity.de bietet seinen Nutzern einen umfassenden รœberblick รผber die wichtigsten Aspekte der IT-Sicherheit in einer sich stรคndig verรคndernden digitalen Welt.

16.12.2023 - TIP: Wer den Cookie Consent Banner akzeptiert, kann z.B. von Englisch nach Deutsch รผbersetzen, erst Englisch auswรคhlen dann wieder Deutsch!

Google Android Playstore Download Button fรผr Team IT Security



๐Ÿ“š ScrollProgressJS- Customisable scroll progress indicator for web pages


๐Ÿ’ก Newskategorie: Programmierung
๐Ÿ”— Quelle: dev.to

ScrollProgressJS Visitors

ScrollProgressJS is a lightweight JavaScript library that creates a customizable scroll progress indicator for web pages. It allows you to display a visual progress bar indicating how much of the page has been scrolled.

ScrollProgressJS Demo

Features

  • Customizable Progress Bar: Configure color, height, and position of the progress bar.
  • Auto-Initialization: Automatically initializes if data-autoload attribute is set.
  • Responsive: Adjusts dynamically as users scroll through the page.
  • Lightweight: Simple and efficient library with no external dependencies.

Installation

You can include ScrollProgressJS in your project via CDN or by downloading the script:

CDN

<script src="https://cdn.jsdelivr.net/gh/SH20RAJ/ScrollProgressJS@main/ScrollProgress.js"></script>

Download

Usage

Basic Initialization

To initialize ScrollProgressJS with default settings:

<script src="https://cdn.jsdelivr.net/gh/SH20RAJ/ScrollProgressJS@main/ScrollProgress.js" data-autoload="true"></script>

Advanced Configuration

You can also customize the progress bar with your own configurations:

<script src="scrollprogress.js"></script>
<script>
  // Custom initialization
  ScrollProgress.init({
    color: '#ff5722',   // Progress bar color
    height: '4px',      // Progress bar height
    position: 'bottom'  // Progress bar position ('top' or 'bottom')
  });
</script>

Updating Configuration

After initialization, you can update the configuration:

ScrollProgress.setConfig({
  color: 'hotpink',  // Updated color
  height: '4px',     // Updated height
  position: 'top'    // Updated position
});

Destroying the Progress Bar

To remove the ScrollProgressJS and stop listening for scroll events:

ScrollProgress.destroy();

Examples

Auto-Initialization

<!-- Auto-initialize with default settings -->
<script src="https://cdn.jsdelivr.net/gh/SH20RAJ/ScrollProgressJS@main/ScrollProgress.js" data-autoload="true"></script>

Custom Initialization

<!-- Custom initialization -->
<script src="scrollprogress.js"></script>
<script>
  ScrollProgress.init({
    color: '#007bff',   // Blue color
    height: '3px',      // 3px height
    position: 'bottom'  // Progress bar at the bottom
  });
</script>

Contributing

Contributions are welcome! For major changes, please open an issue first to discuss what you would like to change.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Create a new Pull Request

Please make sure to update tests as appropriate.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

  • Inspired by the need for a simple and customizable scroll progress indicator.
  • Built with โค๏ธ and JavaScript.

Contact

For issues, suggestions, or feedback, please create an issue.

Made with โค๏ธ by SH20RAJ

...



๐Ÿ“Œ Scroll Improvement - An Epiphany extension to scroll more pixels smoothly


๐Ÿ“ˆ 31.94 Punkte

๐Ÿ“Œ How to Scroll on Mac Easier by Always Showing Scroll Bars


๐Ÿ“ˆ 31.94 Punkte

๐Ÿ“Œ Smart Scroll 4.6.2 - Scroll more smoothly, more quickly, and more comfortably.


๐Ÿ“ˆ 31.94 Punkte

๐Ÿ“Œ How to Use New CSS Features to Build a Progress Indicator


๐Ÿ“ˆ 31.21 Punkte

๐Ÿ“Œ Google Chrome to Remove &ldquo;Secure&rdquo; Indicator From HTTPS Pages in September


๐Ÿ“ˆ 29.86 Punkte

๐Ÿ“Œ Google Chrome To Remove 'Secure' Indicator From HTTPS Pages in September


๐Ÿ“ˆ 29.86 Punkte

๐Ÿ“Œ Creating an Interactive Scroll Page Progress Bar with CSS to Enhance User Engagement


๐Ÿ“ˆ 28.52 Punkte

๐Ÿ“Œ Creating Scroll Progress Bar using CSS and JavaScript in React


๐Ÿ“ˆ 28.52 Punkte

๐Ÿ“Œ 2B Pages On Web Now Use Google's AMP, Pages Now Load Twice As Fast


๐Ÿ“ˆ 26.3 Punkte

๐Ÿ“Œ Progress-Burp - Burp Suite Extension To Track Vulnerability Assessment Progress


๐Ÿ“ˆ 25.09 Punkte

๐Ÿ“Œ Progress in My P2P Library: A Work in Progress


๐Ÿ“ˆ 25.09 Punkte

๐Ÿ“Œ Bugtraq: APPLE-SA-2017-03-27-1 Pages 6.1, Numbers 4.1, and Keynote 7.1 for Mac; Pages 3.1, Numbers 3.1, and Keynote 3.1 for iOS


๐Ÿ“ˆ 22.39 Punkte

๐Ÿ“Œ TLDR pages: Simplified, community-driven man pages


๐Ÿ“ˆ 22.39 Punkte

๐Ÿ“Œ MULTIDOTS Mass Pages-Posts Creator Plugin 1.2.2 on WordPress Capability Check mass-pages-posts-creator.php privilege escalation


๐Ÿ“ˆ 22.39 Punkte

๐Ÿ“Œ CVE-2015-7034 | Apple iWork/Pages on iOS Pages Document memory corruption (SBV-53527 / ID 1033821)


๐Ÿ“ˆ 22.39 Punkte

๐Ÿ“Œ Toolbox for Pages 7.0.1 - Collection of Pages templates.


๐Ÿ“ˆ 22.39 Punkte

๐Ÿ“Œ MULTIDOTS Mass Pages-Posts Creator Plugin 1.2.2 auf WordPress Capability Check mass-pages-posts-creator.php erweiterte Rechte


๐Ÿ“ˆ 22.39 Punkte

๐Ÿ“Œ How to deploy to GitHub Pages using gh-pages package


๐Ÿ“ˆ 22.39 Punkte

๐Ÿ“Œ How to Deploy Your React or Vite Project on GitHub Pages using gh-pages


๐Ÿ“ˆ 22.39 Punkte

๐Ÿ“Œ New in Chrome 69: CSS Scroll Snapping, Notches, Web Locks and more


๐Ÿ“ˆ 19.89 Punkte

๐Ÿ“Œ BeaconMedaes Scroll Medical Air Systems prior v4107600010.23 TotalAlert Web Application privilege escalation


๐Ÿ“ˆ 19.89 Punkte

๐Ÿ“Œ BeaconMedaes Scroll Medical Air Systems prior v4107600010.23 TotalAlert Web Application Credentials information disclosure


๐Ÿ“ˆ 19.89 Punkte

๐Ÿ“Œ BeaconMedaes TotalAlert Scroll Medical Air System prior 4107600010.23 Web Application Password weak encryption


๐Ÿ“ˆ 19.89 Punkte

๐Ÿ“Œ Mozilla and Scroll Partner To Test Alternative Funding Models for the Web


๐Ÿ“ˆ 19.89 Punkte

๐Ÿ“Œ JavaScript Scroll Animation Tutorial: Web Animations API


๐Ÿ“ˆ 19.89 Punkte

๐Ÿ“Œ Firefox Is Launching a New Test Pilot With Scroll To Pay Web Publishers


๐Ÿ“ˆ 19.89 Punkte

๐Ÿ“Œ BeaconMedaes Scroll Medical Air Systems vor v4107600010.23 TotalAlert Web Application erweiterte Rechte


๐Ÿ“ˆ 19.89 Punkte

๐Ÿ“Œ BeaconMedaes Scroll Medical Air Systems vor v4107600010.23 TotalAlert Web Application Credentials Information Disclosure


๐Ÿ“ˆ 19.89 Punkte

๐Ÿ“Œ BeaconMedaes TotalAlert Scroll Medical Air System vor 4107600010.23 Web Application Password schwache Verschlรผsselung


๐Ÿ“ˆ 19.89 Punkte

๐Ÿ“Œ How Core Web Vitals saved users 10,000 years of waiting for web pages to load


๐Ÿ“ˆ 19.03 Punkte











matomo