HEX
Server: Apache
System: Linux web2213.uni5.net 5.4.282-1.el8.elrepo.x86_64 #1 SMP Mon Aug 19 18:33:22 EDT 2024 x86_64
User: clinicamaciel (596848)
PHP: 7.3.33
Disabled: apache_child_terminate,c99_buff_prepare,c99_sess_put,dl,eval,exec,leak,link,myshellexec,openlog,passthru,pclose,pcntl_exec,php_check_syntax,php_strip_whitespace,popen,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,symlink,system,socket_listen,socket_create_listen,putenv
Upload Files
File: /home/clinicamaciel/www/wp-content/plugins/vc-extensions-bundle/fullscreenintro/js/init.js
jQuery(document).ready(function($) {
	$('.cq-fullscreen-intro').each(function(index) {
		var _this = $(this);
		var _backgroundtype = $(this).data('backgroundtype');
		var _backgroundcolor = $(this).data('backgroundcolor');
		var _image = $(this).data('image');
		var _imagerepeat = $(this).data('imagerepeat');
		var _textcolor = $(this).data('textcolor') || '#fff';
		var _textsize = $(this).data('textsize') || '2em';
		var _textfamily = $(this).data('textfamily');
		var _textposition = $(this).data('textposition');
		var _scrollto = $(this).data('scrollto');
		var _scrolloffset = $(this).data('scrolloffset');
		var _scrollspeed = $(this).data('scrollspeed') || 1000;
		var _containerheight = $(this).data('containerheight') || '100vh';
		var _textclickable = $(this).data('textclickable') == "yes" ? true : false;

		// var _height = $(window).height();
		$(this).css({
			// 'height': _height,
			'height': _containerheight,
			'color': _textcolor,
			'font-size': _textsize,
			'font-family': _textfamily,
			'background-color': _backgroundcolor
		});

		$(this).find('i').css({
			'color': _textcolor
		});

		if(_image!=""&&_backgroundtype=="image"){
			$(this).css({
				'background-image': 'url('+_image+')'
			});
			if(_imagerepeat=="no-repeat"){
				$(this).css({
					'background-size': 'cover'
				});
			}else{
				$(this).css({
					'background-repeat': 'repeat'
				});
			}
			// $(this).css({
			// 	'background-image': 'url('+_image+')',
			// 	'background-size': 'cover'
			// });
		}
		$('.cq-intro-text', _this).css({
			'top': _textposition
		});
		if(_textclickable){
			$('.cq-intro-text', _this).css('cursor', 'pointer').on('click', function(event) {
				$.smoothScroll({
			      // scrollElement: $('div.scrollme'),
			      offset: _scrolloffset,
			      speed: _scrollspeed,
			      scrollTarget: _scrollto
			    });
			    return false;
				// $('html,body').stop(true).animate({
		  //         scrollTop: $('.copyright-area-content').offset().top
		  //       }, 2000);
				event.preventDefault();
			});

		}




	});
});