Your IP : 216.73.216.162


Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/
Upload File :
Current File : /home/x/b/o/xbodynamge/namtation/wp-content/welcome.js.tar

home/xbodynamge/crosstraining/wp-content/themes/zerif-lite/inc/admin/welcome-screen/js/welcome.js000060400000006311151117137310027326 0ustar00/* global zerifLiteWelcomeScreenObject */
/* global zerifLiteWelcomeScreenCustomizerObject */
jQuery( document ).ready(
	function() {

		/* If there are required actions, add an icon with the number of required actions in the About Zerif page -> Actions required tab */
		var zerif_nr_actions_required = zerifLiteWelcomeScreenObject.nr_actions_required;

		if ( (typeof zerif_nr_actions_required !== 'undefined') && (zerif_nr_actions_required !== '0') ) {
			jQuery( 'li.zerif-lite-w-red-tab a' ).append( '<span class="zerif-lite-actions-count">' + zerif_nr_actions_required + '</span>' );
		}

		/* Dismiss required actions */
		jQuery( '.zerif-dismiss-required-action' ).click(
			function(){

				var id = jQuery( this ).attr( 'id' );
				console.log( id );
				jQuery.ajax(
					{
						type       : 'GET',
						data       : { action: 'zerif_lite_dismiss_required_action',dismiss_id : id },
						dataType   : 'html',
						url        : zerifLiteWelcomeScreenObject.ajaxurl,
						beforeSend : function(){
							jQuery( '.zerif-lite-tab-pane#actions_required h1' ).append( '<div id="temp_load" style="text-align:center"><img src="' + zerifLiteWelcomeScreenObject.template_directory + '/inc/admin/welcome-screen/img/ajax-loader.gif" /></div>' );
						},
						success    : function(data){
							jQuery( '#temp_load' ).remove(); /* Remove loading gif */
							jQuery( '#' + data ).parent().remove(); /* Remove required action box */

							var zerif_lite_actions_count = jQuery( '.zerif-lite-actions-count' ).text(); /* Decrease or remove the counter for required actions */
							if ( typeof zerif_lite_actions_count !== 'undefined' ) {
								if ( zerif_lite_actions_count == '1' ) {
									jQuery( '.zerif-lite-actions-count' ).remove();
									jQuery( '.zerif-lite-tab-pane#actions_required' ).append( '<p>' + zerifLiteWelcomeScreenObject.no_required_actions_text + '</p>' );
								} else {
									jQuery( '.zerif-lite-actions-count' ).text( parseInt( zerif_lite_actions_count ) - 1 );
								}
							}
						},
						error     : function(jqXHR, textStatus, errorThrown) {
							console.log( jqXHR + ' :: ' + textStatus + ' :: ' + errorThrown );
						}
					}
				);
			}
		);

		/* Tabs in welcome page */
		function zerif_welcome_page_tabs(event) {
			jQuery( event ).parent().addClass( 'active' );
			jQuery( event ).parent().siblings().removeClass( 'active' );
			var tab = jQuery( event ).attr( 'href' );
			jQuery( '.zerif-lite-tab-pane' ).not( tab ).css( 'display', 'none' );
			jQuery( tab ).fadeIn();
		}

		var zerif_actions_anchor = location.hash;

		if ( (typeof zerif_actions_anchor !== 'undefined') && (zerif_actions_anchor != '') ) {
			zerif_welcome_page_tabs( 'a[href="' + zerif_actions_anchor + '"]' );
		}

		jQuery( '.zerif-lite-nav-tabs a' ).click(
			function(event) {
				event.preventDefault();
				zerif_welcome_page_tabs( this );
			}
		);

		/* Tab Content height matches admin menu height for scrolling purpouses */
		$tab               = jQuery( '.zerif-lite-tab-content > div' );
		$admin_menu_height = jQuery( '#adminmenu' ).height();
		if ( (typeof $tab !== 'undefined') && (typeof $admin_menu_height !== 'undefined') ) {
			$newheight = $admin_menu_height - 180;
			$tab.css( 'min-height',$newheight );
		}

	}
);
home/xbodynamge/lebauwcentre/wp-content/themes/integral/inc/welcome/js/welcome.js000064400000001377151140235470024324 0ustar00jQuery(document).ready(function() {
	
	/* Tabs in welcome page */
	function integral_welcome_page_tabs(event) {
		jQuery(event).parent().addClass("nav-tab-active");
        jQuery(event).parent().siblings().removeClass("nav-tab-active");
        var tab = jQuery(event).attr("href");
        jQuery(".integral-tab-pane").not(tab).css("display", "none");
        jQuery(tab).fadeIn();
	}
	
	var integral_actions_anchor = location.hash;
	
	if( (typeof integral_actions_anchor !== 'undefined') && (integral_actions_anchor != '') ) {
		integral_welcome_page_tabs('a[href="'+ integral_actions_anchor +'"]');
	}
	
    jQuery(".nav-tab-wrapper a").click(function(event) {
        event.preventDefault();
		integral_welcome_page_tabs(this);
    });

});home/xbodynamge/lebauwcentre/wp-content/themes/zerif-lite/inc/admin/welcome-screen/js/welcome.js000064400000006311151146555320027134 0ustar00/* global zerifLiteWelcomeScreenObject */
/* global zerifLiteWelcomeScreenCustomizerObject */
jQuery( document ).ready(
	function() {

		/* If there are required actions, add an icon with the number of required actions in the About Zerif page -> Actions required tab */
		var zerif_nr_actions_required = zerifLiteWelcomeScreenObject.nr_actions_required;

		if ( (typeof zerif_nr_actions_required !== 'undefined') && (zerif_nr_actions_required !== '0') ) {
			jQuery( 'li.zerif-lite-w-red-tab a' ).append( '<span class="zerif-lite-actions-count">' + zerif_nr_actions_required + '</span>' );
		}

		/* Dismiss required actions */
		jQuery( '.zerif-dismiss-required-action' ).click(
			function(){

				var id = jQuery( this ).attr( 'id' );
				console.log( id );
				jQuery.ajax(
					{
						type       : 'GET',
						data       : { action: 'zerif_lite_dismiss_required_action',dismiss_id : id },
						dataType   : 'html',
						url        : zerifLiteWelcomeScreenObject.ajaxurl,
						beforeSend : function(){
							jQuery( '.zerif-lite-tab-pane#actions_required h1' ).append( '<div id="temp_load" style="text-align:center"><img src="' + zerifLiteWelcomeScreenObject.template_directory + '/inc/admin/welcome-screen/img/ajax-loader.gif" /></div>' );
						},
						success    : function(data){
							jQuery( '#temp_load' ).remove(); /* Remove loading gif */
							jQuery( '#' + data ).parent().remove(); /* Remove required action box */

							var zerif_lite_actions_count = jQuery( '.zerif-lite-actions-count' ).text(); /* Decrease or remove the counter for required actions */
							if ( typeof zerif_lite_actions_count !== 'undefined' ) {
								if ( zerif_lite_actions_count == '1' ) {
									jQuery( '.zerif-lite-actions-count' ).remove();
									jQuery( '.zerif-lite-tab-pane#actions_required' ).append( '<p>' + zerifLiteWelcomeScreenObject.no_required_actions_text + '</p>' );
								} else {
									jQuery( '.zerif-lite-actions-count' ).text( parseInt( zerif_lite_actions_count ) - 1 );
								}
							}
						},
						error     : function(jqXHR, textStatus, errorThrown) {
							console.log( jqXHR + ' :: ' + textStatus + ' :: ' + errorThrown );
						}
					}
				);
			}
		);

		/* Tabs in welcome page */
		function zerif_welcome_page_tabs(event) {
			jQuery( event ).parent().addClass( 'active' );
			jQuery( event ).parent().siblings().removeClass( 'active' );
			var tab = jQuery( event ).attr( 'href' );
			jQuery( '.zerif-lite-tab-pane' ).not( tab ).css( 'display', 'none' );
			jQuery( tab ).fadeIn();
		}

		var zerif_actions_anchor = location.hash;

		if ( (typeof zerif_actions_anchor !== 'undefined') && (zerif_actions_anchor != '') ) {
			zerif_welcome_page_tabs( 'a[href="' + zerif_actions_anchor + '"]' );
		}

		jQuery( '.zerif-lite-nav-tabs a' ).click(
			function(event) {
				event.preventDefault();
				zerif_welcome_page_tabs( this );
			}
		);

		/* Tab Content height matches admin menu height for scrolling purpouses */
		$tab               = jQuery( '.zerif-lite-tab-content > div' );
		$admin_menu_height = jQuery( '#adminmenu' ).height();
		if ( (typeof $tab !== 'undefined') && (typeof $admin_menu_height !== 'undefined') ) {
			$newheight = $admin_menu_height - 180;
			$tab.css( 'min-height',$newheight );
		}

	}
);
home/xbodynamge/www/wp-content/themes/zerif-lite/inc/admin/welcome-screen/js/welcome.js000064400000006311151150117610025267 0ustar00/* global zerifLiteWelcomeScreenObject */
/* global zerifLiteWelcomeScreenCustomizerObject */
jQuery( document ).ready(
	function() {

		/* If there are required actions, add an icon with the number of required actions in the About Zerif page -> Actions required tab */
		var zerif_nr_actions_required = zerifLiteWelcomeScreenObject.nr_actions_required;

		if ( (typeof zerif_nr_actions_required !== 'undefined') && (zerif_nr_actions_required !== '0') ) {
			jQuery( 'li.zerif-lite-w-red-tab a' ).append( '<span class="zerif-lite-actions-count">' + zerif_nr_actions_required + '</span>' );
		}

		/* Dismiss required actions */
		jQuery( '.zerif-dismiss-required-action' ).click(
			function(){

				var id = jQuery( this ).attr( 'id' );
				console.log( id );
				jQuery.ajax(
					{
						type       : 'GET',
						data       : { action: 'zerif_lite_dismiss_required_action',dismiss_id : id },
						dataType   : 'html',
						url        : zerifLiteWelcomeScreenObject.ajaxurl,
						beforeSend : function(){
							jQuery( '.zerif-lite-tab-pane#actions_required h1' ).append( '<div id="temp_load" style="text-align:center"><img src="' + zerifLiteWelcomeScreenObject.template_directory + '/inc/admin/welcome-screen/img/ajax-loader.gif" /></div>' );
						},
						success    : function(data){
							jQuery( '#temp_load' ).remove(); /* Remove loading gif */
							jQuery( '#' + data ).parent().remove(); /* Remove required action box */

							var zerif_lite_actions_count = jQuery( '.zerif-lite-actions-count' ).text(); /* Decrease or remove the counter for required actions */
							if ( typeof zerif_lite_actions_count !== 'undefined' ) {
								if ( zerif_lite_actions_count == '1' ) {
									jQuery( '.zerif-lite-actions-count' ).remove();
									jQuery( '.zerif-lite-tab-pane#actions_required' ).append( '<p>' + zerifLiteWelcomeScreenObject.no_required_actions_text + '</p>' );
								} else {
									jQuery( '.zerif-lite-actions-count' ).text( parseInt( zerif_lite_actions_count ) - 1 );
								}
							}
						},
						error     : function(jqXHR, textStatus, errorThrown) {
							console.log( jqXHR + ' :: ' + textStatus + ' :: ' + errorThrown );
						}
					}
				);
			}
		);

		/* Tabs in welcome page */
		function zerif_welcome_page_tabs(event) {
			jQuery( event ).parent().addClass( 'active' );
			jQuery( event ).parent().siblings().removeClass( 'active' );
			var tab = jQuery( event ).attr( 'href' );
			jQuery( '.zerif-lite-tab-pane' ).not( tab ).css( 'display', 'none' );
			jQuery( tab ).fadeIn();
		}

		var zerif_actions_anchor = location.hash;

		if ( (typeof zerif_actions_anchor !== 'undefined') && (zerif_actions_anchor != '') ) {
			zerif_welcome_page_tabs( 'a[href="' + zerif_actions_anchor + '"]' );
		}

		jQuery( '.zerif-lite-nav-tabs a' ).click(
			function(event) {
				event.preventDefault();
				zerif_welcome_page_tabs( this );
			}
		);

		/* Tab Content height matches admin menu height for scrolling purpouses */
		$tab               = jQuery( '.zerif-lite-tab-content > div' );
		$admin_menu_height = jQuery( '#adminmenu' ).height();
		if ( (typeof $tab !== 'undefined') && (typeof $admin_menu_height !== 'undefined') ) {
			$newheight = $admin_menu_height - 180;
			$tab.css( 'min-height',$newheight );
		}

	}
);
home/xbodynamge/dev/wp-content/themes/zerif-lite/inc/admin/welcome-screen/js/welcome.js000064400000006311151151521530025222 0ustar00/* global zerifLiteWelcomeScreenObject */
/* global zerifLiteWelcomeScreenCustomizerObject */
jQuery( document ).ready(
	function() {

		/* If there are required actions, add an icon with the number of required actions in the About Zerif page -> Actions required tab */
		var zerif_nr_actions_required = zerifLiteWelcomeScreenObject.nr_actions_required;

		if ( (typeof zerif_nr_actions_required !== 'undefined') && (zerif_nr_actions_required !== '0') ) {
			jQuery( 'li.zerif-lite-w-red-tab a' ).append( '<span class="zerif-lite-actions-count">' + zerif_nr_actions_required + '</span>' );
		}

		/* Dismiss required actions */
		jQuery( '.zerif-dismiss-required-action' ).click(
			function(){

				var id = jQuery( this ).attr( 'id' );
				console.log( id );
				jQuery.ajax(
					{
						type       : 'GET',
						data       : { action: 'zerif_lite_dismiss_required_action',dismiss_id : id },
						dataType   : 'html',
						url        : zerifLiteWelcomeScreenObject.ajaxurl,
						beforeSend : function(){
							jQuery( '.zerif-lite-tab-pane#actions_required h1' ).append( '<div id="temp_load" style="text-align:center"><img src="' + zerifLiteWelcomeScreenObject.template_directory + '/inc/admin/welcome-screen/img/ajax-loader.gif" /></div>' );
						},
						success    : function(data){
							jQuery( '#temp_load' ).remove(); /* Remove loading gif */
							jQuery( '#' + data ).parent().remove(); /* Remove required action box */

							var zerif_lite_actions_count = jQuery( '.zerif-lite-actions-count' ).text(); /* Decrease or remove the counter for required actions */
							if ( typeof zerif_lite_actions_count !== 'undefined' ) {
								if ( zerif_lite_actions_count == '1' ) {
									jQuery( '.zerif-lite-actions-count' ).remove();
									jQuery( '.zerif-lite-tab-pane#actions_required' ).append( '<p>' + zerifLiteWelcomeScreenObject.no_required_actions_text + '</p>' );
								} else {
									jQuery( '.zerif-lite-actions-count' ).text( parseInt( zerif_lite_actions_count ) - 1 );
								}
							}
						},
						error     : function(jqXHR, textStatus, errorThrown) {
							console.log( jqXHR + ' :: ' + textStatus + ' :: ' + errorThrown );
						}
					}
				);
			}
		);

		/* Tabs in welcome page */
		function zerif_welcome_page_tabs(event) {
			jQuery( event ).parent().addClass( 'active' );
			jQuery( event ).parent().siblings().removeClass( 'active' );
			var tab = jQuery( event ).attr( 'href' );
			jQuery( '.zerif-lite-tab-pane' ).not( tab ).css( 'display', 'none' );
			jQuery( tab ).fadeIn();
		}

		var zerif_actions_anchor = location.hash;

		if ( (typeof zerif_actions_anchor !== 'undefined') && (zerif_actions_anchor != '') ) {
			zerif_welcome_page_tabs( 'a[href="' + zerif_actions_anchor + '"]' );
		}

		jQuery( '.zerif-lite-nav-tabs a' ).click(
			function(event) {
				event.preventDefault();
				zerif_welcome_page_tabs( this );
			}
		);

		/* Tab Content height matches admin menu height for scrolling purpouses */
		$tab               = jQuery( '.zerif-lite-tab-content > div' );
		$admin_menu_height = jQuery( '#adminmenu' ).height();
		if ( (typeof $tab !== 'undefined') && (typeof $admin_menu_height !== 'undefined') ) {
			$newheight = $admin_menu_height - 180;
			$tab.css( 'min-height',$newheight );
		}

	}
);