{"size": 903, "ext": "js", "max_stars_repo_path": "web/js/main.js", "max_stars_repo_name": "AshvinPainiaye/Locaest-JLG", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "web/js/main.js", "max_issues_repo_name": "AshvinPainiaye/Locaest-JLG", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "web/js/main.js", "max_forks_repo_name": "AshvinPainiaye/Locaest-JLG", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 25.8, "max_line_length": 83, "alphanum_fraction": 0.5880398671}
$( function() {
  $( "#reservation_depart" ).datepicker({ minDate: 0 });
  $( "#reservation_depart" ).datepicker( $.datepicker.regional[ "fr" ] );
} );

$(window).scroll(
  function (){
    if ($(window).scrollTop() > $("#navbarFixedTop").offset().top){
      $('nav').addClass("navbarFixed");
      $('.retour_top').css('visibility', 'visible');
    } else{
      $('nav').removeClass("navbarFixed");
      $('.retour_top').css('visibility', 'hidden');
    }
 }
 )


$('a[href^="#vehicules"], a[href^="#services"], a[href^="#top"]').click(function(){
  var the_id= $(this).attr("href");

  $('html, body').animate({
    scrollTop: $(the_id).offset().top
  }, 'slow');
  return false;
});


$('#buttonReservation').click(function(){
  $('#reservation div').removeClass('hidden');
  $('#reservation #buttonReservation').addClass('hidden');
  $('#reservation #buttonSoumettre').removeClass('hidden');

})
