Test d'impression du CV

This commit is contained in:
2024-01-17 12:48:41 +01:00
parent bd5753b984
commit 4683b04796
6 changed files with 235 additions and 1 deletions

10
js/notre-equipe.js Normal file
View File

@@ -0,0 +1,10 @@
function printCV(cvUrl) {
var newWindow = window.open(cvUrl, '_blank');
if (newWindow) {
newWindow.onload = function () {
newWindow.print();
};
} else {
alert("Impossible d'ouvrir une nouvelle fenêtre. Veuillez autoriser les nouvelles fenêtres.");
}
}