• This repository has been archived on 15/Dec/2023
  • Stars
    star
    113
  • Rank 310,115 (Top 7 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 8 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

[DEPRECATED] A tiny, lightweight jQuery plugin that creates scroll progress bar on the page.

PrognRoll

A tiny, lightweight jQuery plugin that creates scroll progress bar on the page

Install

Load jQuery and include PrognRoll file

<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script src="https://raw.githack.com/mburakerman/prognroll/master/src/prognroll.min.js"></script>

Usage

To see scrolling progress on your page, you need to activate PrognRoll.

$(function() {
  $("body").prognroll();
});

That's it!

You can also customize the progress bar. These are default settings.

$(function() {
  $("body").prognroll({
    height: 5, // progress bar height
    color: "#50bcb6", // progress bar background color
    custom: false // if you make it true, you can add your custom div and see it's scroll progress on the page
  });
});

Examples

Body

<body>
<!-- Content -->
</body>
$(function() {
  $("body").prognroll();
});

Body demo on JSFiddle

Custom div

<div class="box">
<!-- Content -->
</div>
$(function() {
  $(".box").prognroll({
    custom: true
  });
});

Custom div demo on JSFiddle

Size

1 kb minified

License

Licensed under the MIT License.

More Repositories

1

hrjs

๐Ÿ”„ Tiny JavaScript plugin for highlighting and replacing text in the DOM
JavaScript
447
star
2

numscrubberjs

โ†”๏ธ Let's change values of input numbers by dragging the mouse left & right
JavaScript
230
star
3

toolgif

๐Ÿ’ญ The only GIF tooltip plugin you need
JavaScript
79
star
4

draweditor

๐Ÿ–Œ๏ธ Quickly draw sketches, edit images
HTML
49
star
5

tensorflowjs-webcam-transfer-learning

๐Ÿ”ฎ Tensorflowjs Webcam Transfer Learning
JavaScript
49
star
6

cambridge-cli

๐Ÿ‡ฌ๐Ÿ‡ง Terminal dictionary for English Learners
Go
42
star
7

hangmanizr

โž– Quick hangman game
JavaScript
30
star
8

dinstagram

easily download instagram images & videos with your terminal
JavaScript
21
star
9

mackernews

๐Ÿ–ฅ๏ธ A tiny Mac menu bar app that enables you to quickly access latest & most popular Hacker News stories
Go
17
star
10

colortopng

๐ŸŽจ Solid & Gradient PNG Generator
CSS
16
star
11

vuexplosive-modal

๐Ÿ”ฅ A simple Vue modal component with an explosion effect
Vue
16
star
12

clap-emoji-generator

Don't ๐Ÿ‘ stop ๐Ÿ‘๐Ÿป emphasizing ๐Ÿ‘๐Ÿผ your ๐Ÿ‘๐Ÿฝ point ๐Ÿ‘๐Ÿพ by ๐Ÿ‘๐Ÿฟ putting ๐Ÿ‘ clap ๐Ÿ‘๐Ÿป emojis ๐Ÿ‘๐Ÿผ after ๐Ÿ‘๐Ÿฝ every ๐Ÿ‘๐Ÿพ word
HTML
15
star
13

ai-profile-picture-maker

๐Ÿค– AI Profile Picture Maker
HTML
11
star
14

css3-checkbox-switch-generator

๐ŸŽŠ Turn an input checkbox into a toggle without any additional elements in a second! ๐ŸŽŠ
JavaScript
8
star
15

reactplosive-modal

๐Ÿ”ฅ A simple React modal component with an explosion effect
TypeScript
7
star
16

memorizr

Animal Pairs Game
CSS
5
star
17

twitter-trends

๐Ÿ—บ๏ธ (Currently down due to the new Twitter API policy) Discover Twitter Trends on Google Maps using Twitter API
TypeScript
5
star
18

file-system-access-api-demo

HTML
4
star
19

emoji-snake

๐Ÿ Emoji Snake
TypeScript
3
star
20

aestextic

Aesthetic Text Generator
HTML
2
star
21

badass-log-in-ui

๐Ÿคข BADass Log In UI
HTML
2
star
22

mburakerman.github.io

Personal Portfolio Website
Astro
2
star
23

tureng-api

Unofficial The Tureng Dictionary JSON API
JavaScript
2
star
24

babel-plugin-console-line

Add line information to console.log statements
JavaScript
1
star
25

firemember

๐Ÿ”ฅ Fire in the DOM
JavaScript
1
star
26

dinstagram-python

easily download instagram images & videos with your terminal using python
Python
1
star
27

toggle-hidden-files

Easily show & hide hidden files on Mac
Go
1
star
28

react-sparkly-text

โœจsparkleโœจyour texts
JavaScript
1
star