MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.191.27.78
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home2/ppcad7no/vivahmilankendra.com/../natureamrit.com/js/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/vivahmilankendra.com/../natureamrit.com/js/pro-bars.js
//	ProBars v1.0, Copyright 2014, Joe Mottershaw, https://github.com/joemottershaw/
//	===============================================================================

	function animateProgressBar() {
		$('.pro-bar').each(function(i, elem) {
			var	elem = $(this),
				percent = elem.attr('data-pro-bar-percent'),
				delay = elem.attr('data-pro-bar-delay');

			if (!elem.hasClass('animated'))
				elem.css({ 'width' : '0%' });

			if (elem.visible(true)) {
				setTimeout(function() {
					elem.animate({ 'width' : percent + '%' }, 2000, 'easeInOutExpo').addClass('animated');
				}, delay);
			} 
		});
	}

	$(document).ready(function() {
		animateProgressBar();
	});

	$(window).resize(function() {
		animateProgressBar();
	});

	$(window).scroll(function() {
		animateProgressBar();

		if ($(window).scrollTop() + $(window).height() == $(document).height())
			animateProgressBar();
	});

MMCT - 2023