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
Change comment: There is no comment for this version
To version 36.1
edited by Erik Bakker
on 2024/07/30 14:22
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -42,41 +42,45 @@
42 42  
43 43  == Current slide ==
44 44  
45 +
46 +
45 45  {{html}}
46 -<!-- Slideshow container -->
47 -<div class="slideshow-container">
48 48  
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>
49 +<html>
50 +<body>
51 +
52 + <!-- Define the slideshow container -->
53 + <div id="slideshow">
54 + <div class="slide-wrapper">
55 +
56 + <!-- Define each of the slides
57 + and write the content -->
58 +
59 + <div class="slide">
60 + <h1 class="slide-number">
61 + GeeksforGeeks
62 + </h1>
63 + </div>
64 + <div class="slide">
65 + <h1 class="slide-number">
66 + A computer science portal
67 + </h1>
68 + </div>
69 + <div class="slide">
70 + <h1 class="slide-number">
71 + This is an example of
72 + </h1>
73 + </div>
74 + <div class="slide">
75 + <h1 class="slide-number">
76 + Slideshow with HTML and CSS only
77 + </h1>
78 + </div>
79 + </div>
80 + </div>
81 +</body>
82 +
83 +</html>
55 55  
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>
61 -
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 -
68 - <!-- Next and previous buttons -->
69 - <a class="prev" onclick="plusSlides(-1)">&#10094;</a>
70 - <a class="next" onclick="plusSlides(1)">&#10095;</a>
71 -</div>
72 -<br>
73 -
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>
79 -</div>
80 -
81 81  {{/html}}
82 82  
XWiki.StyleSheetExtension[0]
Code
... ... @@ -1,82 +1,0 @@
1 -* {box-sizing:border-box}
2 -
3 -/* Slideshow container */
4 -.slideshow-container {
5 - max-width: 1000px;
6 - position: relative;
7 - margin: auto;
8 -}
9 -
10 -/* Hide the images by default */
11 -.mySlides {
12 - display: none;
13 -}
14 -
15 -/* Next & previous buttons */
16 -.prev, .next {
17 - cursor: pointer;
18 - position: absolute;
19 - top: 50%;
20 - width: auto;
21 - margin-top: -22px;
22 - padding: 16px;
23 - color: white;
24 - font-weight: bold;
25 - font-size: 18px;
26 - transition: 0.6s ease;
27 - border-radius: 0 3px 3px 0;
28 - user-select: none;
29 -}
30 -
31 -/* Position the "next button" to the right */
32 -.next {
33 - right: 0;
34 - border-radius: 3px 0 0 3px;
35 -}
36 -
37 -/* Caption text */
38 -.text {
39 - color: #f2f2f2;
40 - font-size: 15px;
41 - padding: 8px 12px;
42 - position: absolute;
43 - bottom: 8px;
44 - width: 100%;
45 - text-align: center;
46 -}
47 -
48 -/* Number text (1/3 etc) */
49 -.numbertext {
50 - color: #f2f2f2;
51 - font-size: 12px;
52 - padding: 8px 12px;
53 - position: absolute;
54 - top: 0;
55 -}
56 -
57 -/* The dots/bullets/indicators */
58 -.dot {
59 - cursor: pointer;
60 - height: 15px;
61 - width: 15px;
62 - margin: 0 2px;
63 - background-color: #bbb;
64 - border-radius: 50%;
65 - display: inline-block;
66 - transition: background-color 0.6s ease;
67 -}
68 -
69 -.active, .dot:hover {
70 - background-color: #717171;
71 -}
72 -
73 -/* Fading animation */
74 -.fade {
75 - animation-name: fade;
76 - animation-duration: 1.5s;
77 -}
78 -
79 -@keyframes fade {
80 - from {opacity: .4}
81 - to {opacity: 1}
82 -}