- This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › A jQuery plugin I built for a work project
Hey guys. I love this forum, and I was hoping you folks could give me a bit of feedback on a plugin I built recently built for a work project.
Basically, it’s just a progress bar that shows in a sticky bar at the bottom of the screen, and advances with each required field filled out on a given form. It intelligently checks the number of fields in the form, assigns each field a weight, and advances the progress bar by that percentage for each field. At predefined intervals (25%, 50%, 75%, 100%) it displays messages of encouragement, which are easily editable in the function options. It’s also collapsible, in case the user feels it’s too distracting. It can be positioned at the top or bottom of the screen, also through function options.
This is the first full-fledged standalone jQuery plugin I’ve ever written, so I’m sure it’s pretty horrible, but I’m still pretty proud of it! Any opinions, feedback, suggestions for improvement, etc. are very welcome.
GitHub link: https://github.com/JoshBlackwood/jquery-progress-bar
CodePen: http://codepen.io/JoshBlackwood/full/hctAy
Thanks!
Thanks!
The project I’m working on will also include separate hand-rolled form validation to compliment built-in HTML5 validation features, so I didn’t think of rolling that into the progress bar.