403Webshell
Server IP : 103.234.187.230  /  Your IP : 216.73.216.216
Web Server : Apache
System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/adeetie_hellogtx/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/adeetie_hellogtx/assets/js/custom.js
 (function($) {

 	"use strict";
	$(document).ready(function() {


		$("#emailid").keyup(function(){
			const email = $("#emailid").val();
			console.log(email);
		});
	 
		//jQuery for page scrolling feature - requires jQuery Easing plugin
	
			$('a.page-scroll').on('click', function(event) {
				var $anchor = $(this);
				$('html, body').stop().animate({
					scrollTop: $($anchor.attr('href')).offset().top
				}, 1500, 'easeInOutExpo');
				event.preventDefault();
			});
	

		
		//LightCase
		
			$('a[data-rel^=lightcase]').lightcase({
				showCaption:true,
				showTitle:true
			});
		

		//Js code for search box 
		
		$('body').on('click','.search-toggle', function(){
			if(!$('#search-container').hasClass('search_box')){
				// alert('asdf');
				setTimeout(function(){
					$('#all-search').get(0).focus();
				},500);
			}
			$('#search-container').toggleClass('search_box');
		});




		/*=====from test site changes ======*/
		var swiper = new Swiper('.sponsors-container', {
			pagination: '.swiper-pagination',
			slidesPerView: 6,
			spaceBetween: 20,
			autoplay: 1000,
			paginationClickable: true,
			nextButton: '.swiper-button-next',
			prevButton: '.swiper-button-prev',
			loop:true,
			 breakpoints: {
				1024: {
					slidesPerView: 6,
					spaceBetween: 20
				},
				768: {
					slidesPerView: 2,
					spaceBetween: 30
				},
				640: {
					slidesPerView: 1,
					spaceBetween: 20
				},
				400: {
					slidesPerView: 1,
					spaceBetween: 10
				}
			}
		});
		/*=====from test site changes ======*/
		
		//testimonial swiper
		
		var swiper = new Swiper('.testimonial-container', {
			pagination: '.swiper-pagination',
			slidesPerView: 3,
			spaceBetween: 20,
			autoplay: 3000,
			paginationClickable: true,
			nextButton: '.swiper-button-next',
			prevButton: '.swiper-button-prev',
			 breakpoints: {
				1024: {
					slidesPerView: 3,
					spaceBetween: 20
				},
				768: {
					slidesPerView: 2,
					spaceBetween: 30
				},
				640: {
					slidesPerView: 1,
					spaceBetween: 20
				},
				400: {
					slidesPerView: 1,
					spaceBetween: 10
				}
			}
		});
		
		
		//people say container swiper
		
		var swiper = new Swiper('.people-say-container', {
			pagination: '.swiper-pagination',
			slidesPerView: 1,
			spaceBetween: 25,
			autoplay: false,
			paginationClickable: true,
			nextButton: '.swiper-button-next',
			prevButton: '.swiper-button-prev',
			 breakpoints: {
				1024: {
					slidesPerView: 1,
					spaceBetween: 20
				},
				768: {
					slidesPerView: 1,
					spaceBetween: 30
				},
				640: {
					slidesPerView: 1,
					spaceBetween: 20
				},
				400: {
					slidesPerView: 1,
					spaceBetween: 10
				}
			}
		});
		
		//Pre-Loader
	
			
			$("#loading").delay(2000).fadeOut(500);
			$("#loading-center").on("click",function() {
			$("#loading").fadeOut(500);
			});
		
		
		
		//Scroll Top Top 
		
		var link,
		toggleScrollToTopLink = function(){
			
			if($("body").scrollTop() > 0 || $("html").scrollTop() > 0){
				link.fadeIn(400);
			}else{
				link.fadeOut(400);
			}
			
		};
		
			link = $(".scroll-img");
			
			$(window).scroll(toggleScrollToTopLink);
			
			toggleScrollToTopLink();
			
			link.on("click", function(){
				
				$("body").animate({scrollTop: 0});
				$("html").animate({scrollTop: 0});
				
			});
	
		
		//Menu Fixed Top
		
			var fixed_top = $(".menu-scroll");

			$(window).on('scroll', function() {
				
				if( $(this).scrollTop() > 100 ){	
					fixed_top.addClass("menu-fixed animated fadeInDown");
				}
				else{
					fixed_top.removeClass("menu-fixed animated fadeInDown");
				}
				
			});
			
	
			//Pricing Slider
		
			$('.nstSlider').nstSlider({
				"left_grip_selector": ".leftGrip",
				"right_grip_selector": ".rightGrip",
				"value_bar_selector": ".bar",
				"value_changed_callback": function(cause, leftValue, rightValue) {
					$(this).parent().find('.leftLabel').text(leftValue);
					$(this).parent().find('.rightLabel').text(rightValue);
				}
			});

			
		
		
		
	//Flex Slider
			
		$(window).load(function() {
		  // The slider being synced must be initialized first
		  $('#carousel').flexslider({
			animation: "slide",
			controlNav: false,
			animationLoop: false,
			slideshow: false,
			itemWidth: 74,
			itemMargin: 5,
			asNavFor: '#slider'
		  });
		 
		  $('#slider').flexslider({
			animation: "slide",
			controlNav: false,
			animationLoop: false,
			slideshow: false,
			sync: "#carousel"
		  });
		});
		
		

	//nst Slider
	
		$('.nstSlider').nstSlider({
			"left_grip_selector": ".leftGrip",
			"right_grip_selector": ".rightGrip",
			"value_bar_selector": ".bar",
			"value_changed_callback": function(cause, leftValue, rightValue) {
				$(this).parent().find('.leftLabel').text(leftValue);
				$(this).parent().find('.rightLabel').text(rightValue);
			}
		});

		jQuery(document).ready(function () {
			jQuery("#fieldSelectorId").keypress(function (e) {
			   var length = jQuery(this).val().length;
			 if(length > 9) {
				  return false;
			 } else if(e.which != 8 && e.which != 0 && (e.which < 48 || e.which > 57)) {
				  return false;
			 } else if((length == 0) && (e.which == 48)) {
				  return false;
			 }
			});
		  });

		
	});	

    $(document).ready(function(){
      $("select#sectorid").change( function(){
        var sectorId = $(this).val();
        var sectorName = $(this).find("option:selected").text();
        $("#sector_name").val('');
        if(sectorId !=""){
          $("#sector_name").val(sectorName);
        }
      });


      jQuery("select#nature_project").change( function(){
        var natureProject = $(this).val();
        var natureProjectName = $(this).find("option:selected").text();
        $("#nature_project_name").val('');
        if(natureProject !=""){
          $("#nature_project_name").val(natureProjectName);
        }
      });

    });


})(jQuery);




	



Youez - 2016 - github.com/yon3zu
LinuXploit