| Server IP : 89.108.64.180 / Your IP : 216.73.216.60 Web Server : Apache/2.4.41 (Ubuntu) System : Linux 89-108-64-180.cloudvps.regruhosting.ru 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : www-root ( 1010) PHP Version : 8.0.30 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/www-root/data/www/aravanatula.ru/wp-content/plugins/google-maps-easy/js/ |
Upload File : |
(function( $ ){
var methods = {
init : function( options ) {
return this.each(function(){
var $this = jQuery(this);
this._options = options || {};
if (!$this.hasClass('gmpWpTabs')) {
$this.addClass('gmpWpTabs');
var navigations = $this.find('.nav-tab-wrapper:first').find('a.nav-tab:not(.notTab)')
, firstNavigation = null;
navigations.each(function(){
if(!firstNavigation)
firstNavigation = jQuery(this);
jQuery(this).click(function(){
$this.wpTabs('activate', jQuery(this).attr('href'));
return false;
});
});
var locationHash = document.location.hash;
if(locationHash && locationHash != '' && $this.find(locationHash)) {
$this.wpTabs('activate', locationHash);
if(jQuery(locationHash).size()) {
// Avoid scrolling to hashes
jQuery(window).load(function(){
setTimeout(function(){
jQuery('html, body').animate({
scrollTop: 0
}, 100);
}, 1);
});
}
} else {
$this.wpTabs('activate', firstNavigation.attr('href'));
}
}
});
}
, activate: function(selector) {
return this.each(function(){
var $this = jQuery(this);
if($this.find(selector).size()) {
var navigations = $this.find('.nav-tab-wrapper:first').find('a.nav-tab:not(.notTab)');
if(!this._firstInit) {
if(this._options.uniqId)
$this.find('.gmpTabContent').attr('data-tabs-for', this._options.uniqId);
this._firstInit = 1;
}
var allTabsContent = this._options.uniqId
? $this.find('.gmpTabContent[data-tabs-for="'+ this._options.uniqId + '"]')
: $this.find('.gmpTabContent');
allTabsContent.hide();
$this.find(selector).show();
navigations.removeClass('nav-tab-active');
$this.find('[href="'+ selector+ '"]').addClass('nav-tab-active');
if(this._options.change) {
this._options.change(selector);
}
}
});
}
};
$.fn.wpTabs = function( method ) {
if ( methods[method] ) {
return methods[method].apply( this, Array.prototype.slice.call( arguments, 1 ));
} else if ( typeof method === 'object' || ! method ) {
return methods.init.apply( this, arguments );
} else {
$.error( 'There are no method with name: '+ method);
}
};
})( jQuery );