forked from vergnet/site-accueil-insa
Enigma v00.3
This commit is contained in:
parent
64d065712b
commit
c521f86cda
2 changed files with 15 additions and 1 deletions
BIN
assets/images/blouse/reverse.jpg
Normal file
BIN
assets/images/blouse/reverse.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 81 KiB |
16
blouse.php
16
blouse.php
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue