HEX
Server: Apache/2.4.41
System: Linux mainweb 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: nationalmedicaregrp (1119)
PHP: 8.3.7
Disabled: exec,passthru,shell_exec,system,popen,proc_open,pcntl_exec
Upload Files
File: /home/intake/public_html/wwwroot/js/examples/examples.loading.progress.js
/*
Name: 			UI Elements / Loading Progress - Examples
Written by: 	Okler Themes - (http://www.okler.net)
Theme Version: 	4.0.0
*/

(function($) {

	'use strict';

	// PLUGIN DOCUMENTATION: https://github.com/rstacruz/nprogress

	$(function() {
		$('#NPStart').on( 'click', function() {
			NProgress.start();
		});

		$('#NPStop').on( 'click', function() {
			NProgress.done();
		});

		$('#NPInc').on( 'click', function() {
			NProgress.inc();
		});

		$('#NPStartStop').on( 'click', function() {
			NProgress.done(true);
		});

		$('[data-np-set]').on( 'click', function() {
			var $this = $(this);

			NProgress.set( $this.data('np-set') / 100 );
		});

		$('#NPCallbacks').on( 'click', function() {
			NProgress.set( 0.5, {
				onInit: function() {
					alert('initializing');
				},
				onFinish: function() {
					alert('finished');
				}
			})
		});
	});

}).apply(this, [jQuery]);