PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
themes
/
wpnull24
/
framework
/
js
/
elements
/** * UpSolution Element: Progbar */ ( function( $ ) { $.fn.wProgbar = function() { return this.each( function() { var $container = $( this ), count = $container.data( 'count' ) + '', $titleCount = $container.find( '.w-progbar-title-count' ), $barCount = $container.find( '.w-progbar-bar-count' ); // Prevent double init if ( $container.data( 'progBarInit' ) == 1 ) { return; } $container.data( 'progBarInit', 1 ); if ( count === null ) { count = 50; } if ( /bot|googlebot|crawler|spider|robot|crawling/i.test( navigator.userAgent ) ) { $container.removeClass( 'initial' ); $titleCount.html( count + '%' ); $barCount.html( count + '%' ); return; } $titleCount.html( '0%' ); $barCount.html( '0%' ); $us.scroll.addWaypoint( this, '15%', function() { var current = 0, step = 40, stepValue = count / 40, interval = setInterval( function() { current += stepValue; step --; $titleCount.html( current.toFixed( 0 ) + '%' ); $barCount.html( current.toFixed( 0 ) + '%' ); if ( step <= 0 ) { $titleCount.html( count + '%' ); $barCount.html( count + '%' ); window.clearInterval( interval ); } }, 20 ); $container.removeClass( 'initial' ); } ); } ); }; $( function() { jQuery( '.w-progbar' ).wProgbar(); } ); } )( jQuery );
[+]
..
[-] counter.min.js
[edit]
[-] grid.js
[edit]
[-] itext.min.js
[edit]
[-] message.js
[edit]
[-] gallery.js
[edit]
[-] dropdown.js
[edit]
[-] popup.js
[edit]
[-] progbar.min.js
[edit]
[-] itext.js
[edit]
[-] menu.js
[edit]
[-] grid.min.js
[edit]
[-] page-scroller.js
[edit]
[-] sharing.min.js
[edit]
[-] menu.min.js
[edit]
[-] page-scroller.min.js
[edit]
[-] gallery.min.js
[edit]
[-] slider.js
[edit]
[-] popup.min.js
[edit]
[-] flipbox.min.js
[edit]
[-] gmaps.js
[edit]
[-] tabs.js
[edit]
[-] dropdown.min.js
[edit]
[-] progbar.js
[edit]
[-] gmaps.min.js
[edit]
[-] sharing.js
[edit]
[-] lmaps.min.js
[edit]
[-] lmaps.js
[edit]
[-] counter.js
[edit]
[-] tabs.min.js
[edit]
[-] slider.min.js
[edit]
[-] flipbox.js
[edit]
[-] message.min.js
[edit]