Skip to content

emmanpbarrameda/scrollify-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Scrollify - Scroll Progress Bar Indicator

A modern, lightweight scroll progress indicator for web pages
based on Scrollify JS

Made by Open Source

Preview

🔴 Live Demo on CodePen
Looking for CSS-JS Version?

✨ Features

  • Sleek and modern scroll progress indicator
  • Fully customizable appearance (height, colors, position)
  • Smooth animation effects
  • Lightweight with no dependencies
  • Easy integration with any website

🚀 Installation

1. Download the scrollify_php.php File

First, download the scrollify_php.php file from the following GitHub repository:

This PHP file will handle the inclusion of necessary resources for the scroll progress bar.

Next, place the scrollify_php.php in your project directory.

2. Include Required Asset Files

Next, download the required CSS and JS files for the scroll progress bar from the CDN:

Note: Download these files manually on this github repo, or by using the provided links.

Next, place them in your project directory under: e.g.,; assets/css/ and assets/js/ folders.

3. Include in Your PHP Blade Files

In your PHP Blade files, include the scrollify_php.php using the following PHP code:

<?php include 'scrollify_php.php'; ?>

This will include the necessary CSS and JS files for the scroll progress bar to function properly.

💻 Usage Example on your PHP Blade File

<!DOCTYPE html>
<html>
<head>
    <title>My Website with Scrollify - PHP</title>
</head>
<body>
    <!-- Progress Bar -->
     <?php include_once 'scrollify_php.php'; ?>

    <!-- Your content here -->

</body>
</html>

🎨 Customization

You can customize the progress bar using the following data attributes, located on scrollify_php.php file

Attribute Description Default Value
data-height Height of the progress bar 4px
data-background Background color/gradient linear-gradient(to left, #B374F8, #4da3ff)
data-z-index Stack order of the bar 10000
data-top Top position of the bar 0px

🤝 Contributing

Want to contribute? That's great! You can:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/NewFeature)
  3. Push your changes (git push origin feature/NewFeature)
  4. Open a Pull Request

📄 License

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

💪 Support the Project

If you find this project helpful, consider:

  • ⭐ Starring the repository on GitHub
  • 🐦 Sharing it on Twitter
  • ☕ Supporting via PayPal

👤 Get in touch

Visit My Portfolio
Profile Image

Check out my portfolio to learn more about me!

GitHub Followers
Cover Image

              


Made with ❤️ by emmanpbarrameda

About

Scrollify-PHP - A modern, lightweight scroll progress indicator for web pages. Based on Scrollify-JS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages