Enigma v00.3

This commit is contained in:
Ronan 2021-08-11 14:49:27 +02:00
parent 64d065712b
commit c521f86cda
2 changed files with 15 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

View file

@ -92,11 +92,25 @@ favorable ! *sifflement du Geai moqueur*</p>
Et voici la blouse de notre Mister Blouse :
</h3>
<img src="assets/images/blouse/blouse_devant_nathan.jpg" alt="Blouse Nathan devant">
<img src="assets/images/blouse/blouse_devant_nathan.jpg" alt="Blouse Nathan devant" id="reverse" onclick="reverse()">
<img src="assets/images/blouse/blouse_derriere_nathan.jpg" alt="Blouse Nathan dos">
</div>
<script>
function reverse() {
let elmt = document.getElementById("reverse");
if (elmt.getAttribute("src") === "assets/images/blouse/blouse_devant_nathan.jpg") {
elmt.src = "assets/images/blouse/reverse.jpg";
} else {
elmt.src = "assets/images/blouse/blouse_devant_nathan.jpg";
}
return elmt;
}
</script>
<?php
$pageContent = ob_get_clean(); // Store html content in variable
$pageTitle = "Blouse";