Changes for page Presentation Test Page
Last modified by Erik Bakker on 2024/07/30 14:39
From version 45.1
edited by Erik Bakker
on 2024/07/30 14:31
on 2024/07/30 14:31
Change comment:
There is no comment for this version
To version 52.1
edited by Erik Bakker
on 2024/07/30 14:38
on 2024/07/30 14:38
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -49,19 +49,19 @@ 49 49 <!-- Full-width images with number and caption text --> 50 50 <div class="mySlides fade"> 51 51 <div class="numbertext">1 / 3</div> 52 - <img src="img 1.jpg" style="width:100%">52 + <img src="/bin/download/Main/Images/General/WebHome/main-background-slide-emagiz.png" style="width:100%"> 53 53 <div class="text">Caption Text</div> 54 54 </div> 55 55 56 56 <div class="mySlides fade"> 57 57 <div class="numbertext">2 / 3</div> 58 - <img src="img 2.jpg" style="width:100%">58 + <img src="/bin/download/Main/Images/General/WebHome/Logo_Vogelbekdier.png" style="width:100%"> 59 59 <div class="text">Caption Two</div> 60 60 </div> 61 61 62 62 <div class="mySlides fade"> 63 63 <div class="numbertext">3 / 3</div> 64 - <img src="img 3.jpg" style="width:100%">64 + <img src="/bin/download/Main/Images/General/WebHome/statuspage.png" style="width:100%"> 65 65 <div class="text">Caption Three</div> 66 66 </div> 67 67
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -34,6 +34,11 @@ 34 34 border-radius: 3px 0 0 3px; 35 35 } 36 36 37 +/* On hover, add a black background color with a little bit see-through */ 38 +.prev:hover, .next:hover { 39 + background-color: rgba(0,0,0,0.8); 40 +} 41 + 37 37 /* Caption text */ 38 38 .text { 39 39 color: #f2f2f2;
- XWiki.JavaScriptExtension[0]
-
- Caching policy
-
... ... @@ -1,0 +1,1 @@ 1 +long - Code
-
... ... @@ -1,0 +1,28 @@ 1 +let slideIndex = 1; 2 +showSlides(slideIndex); 3 + 4 +// Next/previous controls 5 +function plusSlides(n) { 6 + showSlides(slideIndex += n); 7 +} 8 + 9 +// Thumbnail image controls 10 +function currentSlide(n) { 11 + showSlides(slideIndex = n); 12 +} 13 + 14 +function showSlides(n) { 15 + let i; 16 + let slides = document.getElementsByClassName("mySlides"); 17 + let dots = document.getElementsByClassName("dot"); 18 + if (n > slides.length) {slideIndex = 1} 19 + if (n < 1) {slideIndex = slides.length} 20 + for (i = 0; i < slides.length; i++) { 21 + slides[i].style.display = "none"; 22 + } 23 + for (i = 0; i < dots.length; i++) { 24 + dots[i].className = dots[i].className.replace(" active", ""); 25 + } 26 + slides[slideIndex-1].style.display = "block"; 27 + dots[slideIndex-1].className += " active"; 28 +} - Name
-
... ... @@ -1,0 +1,1 @@ 1 +Javascript Tryout - Parse content
-
... ... @@ -1,0 +1,1 @@ 1 +Yes - Use this extension
-
... ... @@ -1,0 +1,1 @@ 1 +always