DatePicker for calculateAge.php

This commit is contained in:
Divlo
2019-08-29 22:33:07 +02:00
parent 521f9ee24a
commit 988dd1f5a9
6 changed files with 796 additions and 2 deletions

File diff suppressed because one or more lines are too long

13
scripts/libs/jquery-ui-min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -147,12 +147,30 @@ $(function () {
/* Window Scroll Top Button */
var $btnScrollTop = $('.scroll-top-arrow');
$btnScrollTop.on('click', function () {
$('html, body').animate({scrollTop: 0}, 800);
return false;
});
/* Date Picker */
$.fn.datepicker.dates['fr'] = {
days: ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"],
daysShort: ["dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam."],
daysMin: ["d", "l", "ma", "me", "j", "v", "s"],
months: ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre"],
monthsShort: ["janv.", "févr.", "mars", "avril", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc."],
today: "Aujourd'hui",
monthsTitle: "Mois",
clear: "Effacer",
weekStart: 1,
format: "dd/mm/yyyy"
};
$('.datepicker').datepicker({
language: 'fr',
autoclose: true,
todayHighlight: true
})
// Fin de l'import des fonctions
});
// Fin de l'import des variables