73 lines
1.9 KiB
JavaScript
73 lines
1.9 KiB
JavaScript
$(document).ready(function () {
|
|
|
|
|
|
$("#passees").click(function () {
|
|
$(".cache").removeClass("affiche");
|
|
$(".barre").removeClass("barre_active");
|
|
|
|
if ($(this).is(":checked")) {
|
|
$(".pss").show();
|
|
$(".ftr").hide();
|
|
$("#futures").prop("checked", false);
|
|
} else {
|
|
$(".conf").show();
|
|
}
|
|
});
|
|
|
|
|
|
$("#futures").click(function () {
|
|
$(".cache").removeClass("affiche");
|
|
$(".barre").removeClass("barre_active");
|
|
|
|
if ($(this).is(":checked")) {
|
|
$(".ftr").show();
|
|
$(".pss").hide();
|
|
$("#passees").prop("checked", false);
|
|
} else {
|
|
$(".conf").show();
|
|
}
|
|
});
|
|
|
|
|
|
$(".conf").mousedown(function(){
|
|
$(".cache",this).slideToggle("slow");
|
|
$(".cache",this).toggleClass("affiche");
|
|
$(".barre",this).toggleClass("barre_active");
|
|
$('.affiche').mousedown(function(){return false;});
|
|
});
|
|
|
|
$("#header").mouseenter(function(){
|
|
$("#categories").slideDown(300);
|
|
});
|
|
|
|
$("#header").mouseleave(function(){
|
|
$("#categories").slideUp(300);
|
|
});
|
|
|
|
// $(".conf").click(function(){
|
|
// $(".cache",this).toggleClass("affiche");
|
|
// $(".barre",this).toggleClass("barre_active");
|
|
// $('.affiche').click(function(){return false;});
|
|
// });
|
|
|
|
|
|
$('#titre').marquee({
|
|
allowCss3Support:true,
|
|
css3easing:'linear',
|
|
easing:'linear',
|
|
direction:'left',
|
|
duplicated:true,
|
|
duration: 170000,
|
|
pauseOnCycle:false,
|
|
pauseOnHover:false,
|
|
startVisible:true,
|
|
delayBeforeStart: 0,
|
|
gap:0,
|
|
|
|
});
|
|
|
|
|
|
});
|
|
|
|
|