%PDF-
%PDF-
Mini Shell
Mini Shell
<?php
/**
* UABB Progress Bar Module front-end JS php file
*
* @package UABB Progress Bar Module
*/
?>
(function($) {
UABBProgressBar = function( settings )
{
this.settings = settings;
this.animation_delay = settings.animation_delay;
this.viewport_position = 90;
this.animation_speed = settings.animation_speed;
this.nodeClass = '.fl-node-' + settings.id;
this._init();
};
UABBProgressBar.addCommas = function( n ){
var rgx = /(\d+)(\d{3})/;
n += '';
x = n.split('.');
x1 = x[0];
x2 = x.length > 1 ? '.' + x[1] : '';
while (rgx.test(x1)) {
x1 = x1.replace(rgx, '$1' + ',' + '$2');
}
return x1 + x2;
};
UABBProgressBar.prototype = {
settings : {},
nodeClass : '',
animation : '',
animation_speed : '1000',
animation_delay : 0,
viewport_position : 90,
_init: function()
{
if( typeof jQuery.fn.waypoint !== 'undefined' ) {
$(this.nodeClass).waypoint({
offset: this.viewport_position + '%',
handler: $.proxy( this._initProgressBar, this )
});
}
},
/**
* Initiate animation.
*
* @since 0.0.7
* @access private
* @method _initProgressBar
*/
_initProgressBar: function()
{
<?php $settings->delay = ( '' !== $settings->delay ) ? $settings->delay : '1'; ?>
var delay = '<?php echo esc_attr( ( $settings->delay * 1000 ) ); ?>';
if( !isNaN( delay ) && delay > 0 ) {
setTimeout( function(){
<?php
if ( 'vertical' === $settings->layout ) {
?>
this._executeProgressBarVertical();
<?php
} elseif ( 'horizontal' === $settings->layout ) {
?>
this._executeProgressBarHorizontal();
<?php
} elseif ( 'circular' === $settings->layout ) {
?>
this._executeProgressBarCircular();
<?php
} elseif ( 'semi-circular' === $settings->layout ) {
?>
this._executeProgressBarSemiCircular();
<?php
}
?>
this._countProgressNumber();
}.bind( this ), delay );
}
else {
<?php
if ( 'vertical' === $settings->layout ) {
?>
this._executeProgressBarVertical();
<?php
} elseif ( 'horizontal' === $settings->layout ) {
?>
this._executeProgressBarHorizontal();
<?php
} elseif ( 'circular' === $settings->layout ) {
?>
this._executeProgressBarCircular();
<?php
} elseif ( 'semi-circular' === $settings->layout ) {
?>
this._executeProgressBarSemiCircular();
<?php
}
?>
this._countProgressNumber();
}
},
_countProgressNumber: function()
{
<?php $settings->animation_speed = ( '' !== $settings->animation_speed ) ? $settings->animation_speed : '1'; ?>
var ani_speed = parseInt('<?php echo esc_attr( ( $settings->animation_speed * 1000 ) ); ?>');
jQuery( '.fl-node-<?php echo esc_attr( $id ); ?>' ).find( '.uabb-layout-<?php echo esc_attr( $settings->layout ); ?>' ).each( function( index ) {
var form = jQuery( '.fl-node-<?php echo esc_attr( $id ); ?>' ).find( '.uabb-layout-<?php echo esc_attr( $settings->layout ); ?>.uabb-progress-bar-' + index );
<?php
if ( 'vertical' === $settings->layout || 'horizontal' === $settings->layout ) {
?>
var text_field = form.find('.uabb-progress-value');
var number = form.data( 'number' );
<?php
} elseif ( 'circular' === $settings->layout || 'semi-circular' === $settings->layout ) {
?>
var text_field = form.find('.uabb-percent-counter');
var number = form.find('.uabb-svg-wrap').data( 'number' );
<?php
}
?>
var completeClass = form.hasClass('uabb-progress-complete-number');
if( !completeClass ) {
text_field.animate({
Counter: number
}, {
duration: (ani_speed),
easing: 'linear',
step: function ( now ) {
<?php if ( 'horizontal' === $settings->layout && 'style4' === $settings->horizontal_style ) : ?>
text_field.find('span').text( UABBProgressBar.addCommas( Math.ceil( now ) ) + '%' );
<?php else : ?>
text_field.text( UABBProgressBar.addCommas( Math.ceil( now ) ) + '%' );
<?php endif; ?>
}
});
form.addClass( 'uabb-progress-complete-number' );
}
});
},
_executeProgressBarHorizontal: function()
{
<?php $settings->animation_speed = ( '' !== $settings->animation_speed ) ? $settings->animation_speed : '1'; ?>
var ani_speed = parseInt('<?php echo esc_attr( ( $settings->animation_speed * 1000 ) ); ?>');
jQuery( '.fl-node-<?php echo esc_attr( $id ); ?>' ).find( '.uabb-layout-horizontal' ).each( function( index ) {
var form = jQuery( '.fl-node-<?php echo esc_attr( $id ); ?>' ).find( '.uabb-layout-horizontal.uabb-progress-bar-' + index );
var completeClass = form.hasClass('uabb-progress-complete');
if( !completeClass ) {
var number = Math.ceil( form.data( 'number' ) );
form.find('.uabb-progress-bar').animate({
width: number + '%'
}, {
duration: ani_speed,
easing: 'linear',
queue: false
});
<?php
if ( 'style4' === $settings->horizontal_style ) {
?>
form.find('.uabb-progress-box .uabb-progress-info').animate({
width: ( number / 2 ) + '%'
}, {
duration: ani_speed,
easing: 'linear',
queue: false
});
<?php } ?>
form.addClass( 'uabb-progress-complete' );
}
});
},
_executeProgressBarVertical: function()
{
<?php $settings->animation_speed = ( '' !== $settings->animation_speed ) ? $settings->animation_speed : '1'; ?>
var ani_speed = parseInt('<?php echo esc_attr( ( $settings->animation_speed * 1000 ) ); ?>');
jQuery( '.fl-node-<?php echo esc_attr( $id ); ?>' ).find( '.uabb-layout-vertical' ).each( function( index ) {
var form = jQuery( '.fl-node-<?php echo esc_attr( $id ); ?>' ).find( '.uabb-layout-vertical.uabb-progress-bar-' + index );
var completeClass = form.hasClass('uabb-progress-complete');
if( !completeClass ) {
var number = Math.ceil( form.data( 'number' ) );
var progressBarWidth = number + '%';
form.find('.uabb-progress-bar').animate({
height: number + '%'
}, {
duration: ani_speed,
easing: 'linear'
});
form.addClass( 'uabb-progress-complete' );
}
});
},
_executeProgressBarCircular: function( e )
{
<?php $settings->animation_speed = ( '' !== $settings->animation_speed ) ? $settings->animation_speed : '1'; ?>
var ani_speed = parseInt('<?php echo esc_attr( ( $settings->animation_speed * 1000 ) ); ?>');
jQuery( '.fl-node-<?php echo esc_attr( $id ); ?>' ).find( '.uabb-layout-circular' ).each( function( index ) {
var form = jQuery( '.fl-node-<?php echo esc_attr( $id ); ?>' ).find( '.uabb-layout-circular.uabb-progress-bar-' + index );
var completeClass = form.hasClass('uabb-progress-complete');
if( !completeClass ) {
var circle = form.find('.uabb-bar'),
circular_number = Math.ceil( form.find('.uabb-svg-wrap').data( 'number' ) );
<?php
$width = ! empty( $settings->circular_thickness ) ? $settings->circular_thickness : 300;
$pos = ( $width / 2 );
$radius = $pos - 10;
?>
var r = <?php echo esc_attr( $radius ); ?>,
circlePi = Math.PI*(r*2);
var pct = ( ( 100 - circular_number ) /100) * circlePi;
circle.animate({
strokeDashoffset: pct
}, {
duration: ani_speed,
easing: 'linear'
});
form.addClass( 'uabb-progress-complete' );
}
});
},
_executeProgressBarSemiCircular: function( e )
{
<?php $settings->animation_speed = ( '' !== $settings->animation_speed ) ? $settings->animation_speed : '1'; ?>
var ani_speed = parseInt('<?php echo esc_attr( ( $settings->animation_speed * 1000 ) ); ?>');
jQuery( '.fl-node-<?php echo esc_attr( $id ); ?>' ).find( '.uabb-layout-semi-circular' ).each( function( index ) {
var form = jQuery( '.fl-node-<?php echo esc_attr( $id ); ?>' ).find( '.uabb-layout-semi-circular.uabb-progress-bar-' + index );
var completeClass = form.hasClass('uabb-progress-complete');
if( !completeClass ) {
var circle = form.find('.uabb-bar'),
circular_number = Math.ceil( form.find('.uabb-svg-wrap').data( 'number' ) ) / 2;
<?php
$stroke_thickness = ! empty( $settings->stroke_thickness ) ? $settings->stroke_thickness : 10;
$width = ! empty( $settings->circular_thickness ) ? $settings->circular_thickness : 300;
$pos = ( $width / 2 );
$radius = $pos - ( $stroke_thickness / 2 );
?>
var r = <?php echo esc_attr( $radius ); ?>,
circlePi = Math.PI*(r*2);
var pct = ( ( 100 - circular_number ) /100) * circlePi;
circle.animate({
strokeDashoffset: pct
}, {
duration: ani_speed,
easing: 'linear'
});
form.addClass( 'uabb-progress-complete' );
}
});
},
};
new UABBProgressBar({
id: '<?php echo esc_attr( $id ); ?>',
animation_delay: '<?php echo esc_attr( ( $settings->delay ) ); ?>',
animation_speed: '<?php echo esc_attr( ( $settings->animation_speed ) ); ?>',
viewport_position: 90
});
})(jQuery);
Zerion Mini Shell 1.0
Reliable Trucking and Freight Services - CALZONA LLC
Skip to content
Transporting
Goods From Coast to Coast
A Trusted Provider of Exceptional Delivery Services
Transporting
Goods From Coast to Coast
A Trusted Provider of Exceptional Delivery Services
Rely on Us for
All Your Trucking Needs
Located in Fort Myers, Florida, CALZONA LLC is an exceptional intermodal freight service that has roots in the trucking industry. Our team works hard to provide you with superior services.
Rest easy knowing that we train all our employees to make sure that transfers are done seamlessly so that there is no time wasted during the delivery process. With our experienced drivers transporting your goods, we can efficiently send your packages and get them to their recipients on time and in the condition you sent them in.
We are searching for seasoned drivers to deliver freight safely and promptly. Our team will be a vital part of reaching an exceptional level of service. Become a part of our crew now to help us build excellence.
For additional information about our company and what we offer, contact us today. We look forward to hearing from you.
Scroll To Top