4702bc665f76f313872e32b6f472db2f681bc435
biblio_theorie.md
... | ... | @@ -5,26 +5,26 @@ title: Bibliographie - Théorie et Pensées |
5 | 5 | |
6 | 6 | <div class="image biblio_theorie"> |
7 | 7 | |
8 | -<img src="media/images/Header_1_vectorized.png" style="background-color: transparent;" alt="theory"> |
|
8 | +<img id="biblio_theorie" src="media/images/Header_1_vectorized.png" style="background-color: transparent;" alt="theory"> |
|
9 | 9 | |
10 | 10 | </div> |
11 | 11 | |
12 | 12 | <div class="image biblio_histoire"> |
13 | 13 | |
14 | -<img src="media/images/Header_2_vecto.png" style="background-color: transparent;" alt="history"> |
|
14 | +<img id="biblio_militantisme" src="media/images/Header_2_vecto.png" style="background-color: transparent;" alt="history"> |
|
15 | 15 | |
16 | 16 | </div> |
17 | 17 | |
18 | 18 | <div class="image biblio_militantisme"> |
19 | 19 | |
20 | -<img src="media/images/Header_3_vectorized.png" style="background-color: transparent;" alt="militant"> |
|
20 | +<img id="biblio_histoire" src="media/images/Header_3_vectorized.png" style="background-color: transparent;" alt="militant"> |
|
21 | 21 | |
22 | 22 | </div> |
23 | 23 | |
24 | 24 | |
25 | -<input type="button" class="button" value="theorie" onclick="filterSelection('biblio_theorie');" > |
|
26 | -<input type="button" class="button" value="mili" onclick="filterSelection('biblio_militantisme');" > |
|
27 | -<input type="button" class="button" value="histoire" onclick="filterSelection('biblio_histoire');" > |
|
25 | +<input type="button" class="button" value="theorie" onclick="filterSelection('biblio_theorie')" > |
|
26 | +<input type="button" class="button" value="mili" onclick="filterSelection('biblio_militantisme')" > |
|
27 | +<input type="button" class="button" value="histoire" onclick="filterSelection('biblio_histoire')" > |
|
28 | 28 | |
29 | 29 | |
30 | 30 |
custom.js
... | ... | @@ -60,8 +60,8 @@ window.onload = function() { |
60 | 60 | |
61 | 61 | function filterSelection(page) { |
62 | 62 | var images, i; |
63 | - images = document.getElementsByClassName("image "+page); |
|
64 | - images.style.display = 'block'; |
|
63 | + document.getElementById('page').style.display = 'block'; |
|
64 | + |
|
65 | 65 | |
66 | 66 | } |
67 | 67 |