Changes for page Presentation Test Page
Last modified by Erik Bakker on 2024/07/30 14:39
From version 32.1
edited by Erik Bakker
on 2024/07/30 12:14
on 2024/07/30 12:14
Change comment:
There is no comment for this version
To version 42.1
edited by Erik Bakker
on 2024/07/30 14:29
on 2024/07/30 14:29
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -43,44 +43,40 @@ 43 43 == Current slide == 44 44 45 45 {{html}} 46 -<html xmlns:v="urn:schemas-microsoft-com:vml" 47 -xmlns:o="urn:schemas-microsoft-com:office:office" 48 -xmlns:w="urn:schemas-microsoft-com:office:word" 49 -xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" 50 -xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" 51 -xmlns="http://www.w3.org/TR/REC-html40"> 46 +<!-- Slideshow container --> 47 +<div class="slideshow-container"> 52 52 53 -<head> 54 -<meta http-equiv=Content-Type content="text/html; charset=windows-1252"> 55 -<meta name=ProgId content=Word.Document> 56 -<meta name=Generator content="Microsoft Word 15"> 57 -<meta name=Originator content="Microsoft Word 15"> 58 -<link rel=File-List href="Test%20Slide%20-%20HTML_files/filelist.xml"> 59 -<link rel=Edit-Time-Data href="Test%20Slide%20-%20HTML_files/editdata.mso"> 60 -<link rel=themeData href="Test%20Slide%20-%20HTML_files/themedata.thmx"> 61 -<link rel=colorSchemeMapping 62 -href="Test%20Slide%20-%20HTML_files/colorschememapping.xml"> 49 + <!-- Full-width images with number and caption text --> 50 + <div class="mySlides fade"> 51 + <div class="numbertext">1 / 3</div> 52 + <img src="img1.jpg" style="width:100%"> 53 + <div class="text">Caption Text</div> 54 + </div> 63 63 64 -<style> 56 + <div class="mySlides fade"> 57 + <div class="numbertext">2 / 3</div> 58 + <img src="img2.jpg" style="width:100%"> 59 + <div class="text">Caption Two</div> 60 + </div> 65 65 66 -</style> 62 + <div class="mySlides fade"> 63 + <div class="numbertext">3 / 3</div> 64 + <img src="img3.jpg" style="width:100%"> 65 + <div class="text">Caption Three</div> 66 + </div> 67 67 68 -</head> 68 + <!-- Next and previous buttons --> 69 + <a class="prev" onclick="plusSlides(-1)">❮</a> 70 + <a class="next" onclick="plusSlides(1)">❯</a> 71 +</div> 72 +<br> 69 69 70 -<body lang=NL style='tab-interval:35.4pt;word-wrap:break-word'> 71 - 72 -<div class=WordSection1> 73 - <label> 74 - 226 - Alerting Alchemy 75 - 76 -<p class=MsoNormal><span style='mso-no-proof:yes'><img width=605 height=341 77 -src=/bin/download/Main/Images/General/WebHome/main-background-slide-emagiz.png v:shapes="Graphic_x0020_1"><![endif]></span></p> 78 - 79 - </label> 74 +<!-- The dots/circles --> 75 +<div style="text-align:center"> 76 + <span class="dot" onclick="currentSlide(1)"></span> 77 + <span class="dot" onclick="currentSlide(2)"></span> 78 + <span class="dot" onclick="currentSlide(3)"></span> 80 80 </div> 81 81 82 -</body> 83 - 84 -</html> 85 - 86 86 {{/html}} 82 +
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -1,0 +1,68 @@ 1 +/* Styling the area of the slides */ 2 +#slideshow { 3 + overflow: hidden; 4 + height: 1240px; 5 + width: 860px; 6 + margin: 0 auto; 7 +} 8 + 9 +/* Style each of the sides 10 + with a fixed width and height */ 11 +.slide { 12 + float: left; 13 + height: 1240px; 14 + width: 860px; 15 +} 16 + 17 +/* Add animation to the slides */ 18 +.slide-wrapper { 19 + 20 + /* Calculate the total width on the 21 + basis of number of slides */ 22 + width: calc(860px * 4); 23 + 24 + /* Specify the animation with the 25 + duration and speed */ 26 + animation: slide 10s ease infinite; 27 +} 28 + 29 +/* Set the background color 30 + of each of the slides */ 31 +.slide:nth-child(1) { 32 + background: green; 33 +} 34 + 35 +.slide:nth-child(2) { 36 + background: pink; 37 +} 38 + 39 +.slide:nth-child(3) { 40 + background: red; 41 +} 42 + 43 +.slide:nth-child(4) { 44 + background: yellow; 45 +} 46 + 47 +/* Define the animation 48 + for the slideshow */ 49 +@keyframes slide { 50 + 51 + /* Calculate the margin-left for 52 + each of the slides */ 53 + 20% { 54 + margin-left: 0px; 55 + } 56 + 57 + 40% { 58 + margin-left: calc(-860px * 1); 59 + } 60 + 61 + 60% { 62 + margin-left: calc(-860px * 2); 63 + } 64 + 65 + 80% { 66 + margin-left: calc(-860px * 3); 67 + } 68 +}