PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/internetmoney.kerihosting.com/wp-content/plugins/wp-automatic/js/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //home/trave494/internetmoney.kerihosting.com/wp-content/plugins/wp-automatic/js/main-front.js

jQuery(document).ready(function(){
	
	var attrName = 'data-a-src' ;
	if(jQuery('.wp_automatic_gallery').attr('data-a-src') == undefined) attrName = 'src'; 
	
	var wp_automatic_main_scr = jQuery('.wp_automatic_gallery:first-child').attr(attrName);
	 
	jQuery('.wp_automatic_gallery:first-child').before('<div class="wp_automatic_gallery_wrap"><div style="background-image:url(\'' + wp_automatic_main_scr +'\')" class="wp_automatic_gallery_main" ></div><div class="clear"></div></div>');
	
	
	jQuery('.wp_automatic_gallery').each(function(){
		
		jQuery('.wp_automatic_gallery_wrap').append('<div class="wp_automatic_gallery_btn" style="background-image:url(\''+ jQuery(this).attr( attrName ) + '\')" ></div>');
		jQuery(this).remove();
	});
	
	
	jQuery('.wp_automatic_gallery_btn:last').after('<div style="clear:both"></div><br>');
	
 	
	
	jQuery('.wp_automatic_gallery_btn').click(function(){
	  
	  jQuery('.wp_automatic_gallery_main').css('background-image', jQuery(this).css('background-image')  );
	  
	});

	
});