Uname:Linux EDL-STRETCH 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64

403WebShell
403Webshell
Server IP : 188.114.97.2  /  Your IP : 104.23.197.231
Web Server : Apache/2.4.59 (Debian)
System : Linux EDL-STRETCH 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
User : edlftp ( 1002)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/nicolasj/www/maisondegaia.be/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/nicolasj/www/maisondegaia.be/js/main.js
// Encodé en UTF-8

$(document).ready(function() {

	// tous les liens externes s'ouvrent dans une nouvelle fenĂȘtre et ont la classe "ext"

	$("a[href^=http]").addClass("ext");
	
	$("a.ext, a[rel='ext']").live('click',function(event){
		event.preventDefault();
		window.open(this.href);
	}); 
		
	// NAVIGATION
	$("#content div.slide, #content div.slide h2").hide();
	
	$("#menu li a").click(function (event) { 	
		event.preventDefault();
		$("#menu li a").addClass("innactive");
		$(this).removeClass("innactive");
		var page = $(this).parent().attr("class");
		var activepage = $("#content div.active").attr("id");
		//alert (page);
		//alert (activepage);
		if (page != activepage) {
			if ($("#content div.active").length == 0) {
				$("#content #"+page).slideDown().addClass("active");
			} else {
				$("#content div.active").slideUp("normal", function () {
					$("#content #"+page).slideDown("normal").addClass("active");
				}).removeClass("active");
			}
		} else {
			$("#content div.active").slideUp("normal", function () {
				$("#menu li a").removeClass("innactive");
				$("#content div.slide").removeClass("active");
			});
		}
	});
	
	$("#content p.top a").click(function (event) { 	
		event.preventDefault();
		$("#content div.active").slideUp("normal", function () {
			$("#menu li a").removeClass("innactive");
			$("#content div.slide").removeClass("active");
		});
	});
		
	// EMAIL/*
	$("#sidebar address span.mail")
		.hover(
			function () { $(this).parent().addClass("hover"); }, 
			function () { $(this).parent().removeClass("hover");}
		)
		.click(function () { 	
			var first = $("#sidebar address span.postal").attr("title");
			var last = $("#sidebar address span.phone").attr("title");
			window.location="mailto:"+first+"@"+last;
		})
		;*/
		
	// SITUATION ODD/EVEN
	$("#situation ul.city li:odd").addClass("odd");
	$("#situation ul.city li:even").addClass("even");
		
	// MAP 
	$("#sidebar a.map").attr({href: "/images/plan/carte.png", title: ""});
		
	// FANCYBOX
	$("#sidebar a.map, #content a.fancy").fancybox({
		'overlayShow': true
	}); 
	
	$("#sidebar a.galerie-photos").fancybox({ 
		'hideOnContentClick': true,
		'overlayShow': true,
		'frameWidth': 800,
		'frameHeight': 491
	});
});

Youez - 2016 - github.com/yon3zu
LinuXploit