Hacked By AnonymousFox
home/missmand/public_html/learning/js/index.js 0000644 00000001106 15200146650 0015466 0 ustar 00 $(document).ready(function(){
/* Popup de la vidéo */
$('#btnVideo').click(function(){
$('#popup').fadeIn('fast');
$('#popup #video').load('connexion/video.html');
});
$('#popup').click(function(){
$('#popup').fadeOut('fast');
$('#video',this).html('');
});
/* Changement de la langue via un switcher */
$('#switchLangue').on('change',function(){
var option = $(this);
var value = option.val();
var url = option.attr('data-url');
window.location.href = url+'index.php?langue='+value;
});
});
home/missmand/public_html/gameapp/js/index.js 0000644 00000001675 15200224410 0015303 0 ustar 00 $(document).ready(function()
{
document.body.style.zoom = 1.4;//1 / window.devicePixelRatio;
$('.intro_container').show();
//resize();
//$(window).resize(resize);
//Init player data
var player = window.localStorage.getItem('player');
//if (player == null)
//{
player = { avatar: -1, name: 'test nom', gauge: [10, 10, 10, 10, 10, 10], mission: [false, false, false]};
window.localStorage.setItem('player', JSON.stringify(player));
//}
//else
// player = JSON.parse(player);
$('.start_btn').click(function()
{
if (player.avatar < 0)
document.location.href = 'avatar.html';
else
document.location.href = 'select.html';
})
});
function resize()
{
var intro = $('.intro_container');
var h = $('body').height();
console.log(h);
console.log(intro.height());
intro.css('margin-top', ((h-intro.height() - 60)/2) + 'px');
} home/missmand/public_html/missmandarine.ch/learning/js/index.js 0000644 00000001106 15200453042 0020705 0 ustar 00 $(document).ready(function(){
/* Popup de la vidéo */
$('#btnVideo').click(function(){
$('#popup').fadeIn('fast');
$('#popup #video').load('connexion/video.html');
});
$('#popup').click(function(){
$('#popup').fadeOut('fast');
$('#video',this).html('');
});
/* Changement de la langue via un switcher */
$('#switchLangue').on('change',function(){
var option = $(this);
var value = option.val();
var url = option.attr('data-url');
window.location.href = url+'index.php?langue='+value;
});
});
Hacked By AnonymousFox1.0, Coded By AnonymousFox