Modèle:Slideshow : Différence entre versions
[version vérifiée] | [version vérifiée] |
Ligne 1 : | Ligne 1 : | ||
− | + | <div class="slider" id="main-slider" style="width:{{{width|100%}}}"> | |
<div class="slideshow-container" style="height:{{{height|50px}}};"> | <div class="slideshow-container" style="height:{{{height|50px}}};"> | ||
{{#loop: numeroSlide | 1 | {{{TotaleSlide|1}}} |<div class="mySlides fade" style="font-size:90%; padding-left:10px" alt="Slide {{#var:numeroSlide}}">{{{Slide{{#var:numeroSlide}}}}}</div>}} | {{#loop: numeroSlide | 1 | {{{TotaleSlide|1}}} |<div class="mySlides fade" style="font-size:90%; padding-left:10px" alt="Slide {{#var:numeroSlide}}">{{{Slide{{#var:numeroSlide}}}}}</div>}} | ||
+ | <div class="slider-nav"> | ||
<a class="next" style="border:1px solid #FF0202; background: #050404; color:#FFFFFF; {{Rounder|All|5px}}; padding-left:10px; padding-right:10px; float:right; cursor:pointer"><center>'''Suivant''' > | <a class="next" style="border:1px solid #FF0202; background: #050404; color:#FFFFFF; {{Rounder|All|5px}}; padding-left:10px; padding-right:10px; float:right; cursor:pointer"><center>'''Suivant''' > | ||
</center></a> | </center></a> | ||
<a class="prev" style="border:1px solid #FF0202; background: #050404; color:#FFFFFF; {{Rounder|All|5px}}; padding-left:5px; padding-right:5px; float:left; cursor:pointer"><center>< '''Précedent''' | <a class="prev" style="border:1px solid #FF0202; background: #050404; color:#FFFFFF; {{Rounder|All|5px}}; padding-left:5px; padding-right:5px; float:left; cursor:pointer"><center>< '''Précedent''' | ||
</center></a> | </center></a> | ||
+ | </div> | ||
<div style="text-align:center"> | <div style="text-align:center"> | ||
{{#loop: numeroSlide | 1 | {{{TotaleSlide|1}}} |<span class="dot"></span>}} | {{#loop: numeroSlide | 1 | {{{TotaleSlide|1}}} |<span class="dot"></span>}} | ||
+ | </div> | ||
</div> | </div> | ||
</div> | </div> |