Modifications pour le document Home
Modifié par Quentin / Zèbre STURER le 2024/08/29 17:09
Commentaire de modification :
Il n'y a aucun commentaire pour cette version
Résumé
Détails
- Propriétés de la Page
-
- Contenu
-
... ... @@ -1,13 +1,13 @@ 1 1 {{html clean="false"}} 2 2 3 3 <div style="height:310px; width:300px; padding-left:1em; float:right"> 4 -<div id="slideshow 1" class="slide"> <div><img src="/xwiki/bin/download/Main/WebHome/paul-casserolle-sur-le-feu.JPG?width=450"></div></div>5 -<div id="slideshow 2" class="slide" style="display: none"><div><img src="/xwiki/bin/download/Main/WebHome/timothee-technique-de-feu-5.jpeg?width=450"></div></div>4 +<div id="slideshow0" class="slide"> <div><img src="/xwiki/bin/download/Main/WebHome/paul-casserolle-sur-le-feu.JPG?width=300"></div></div> 5 +<div id="slideshow1" class="slide" style="display: none"><div><img src="/xwiki/bin/download/Main/WebHome/timothee-technique-de-feu-5.jpeg?width=300"></div></div> 6 6 </div> 7 7 8 8 <script type="text/javascript"> 9 9 10 - start_slideshow( 1,2,3000);10 + start_slideshow(0, 1, 4000); 11 11 12 12 function start_slideshow(start_frame, end_frame, delay) { 13 13 setTimeout(switch_slides(start_frame,start_frame,end_frame, delay), delay); ... ... @@ -17,7 +17,7 @@ 17 17 return (function() { 18 18 Effect.Fade('slideshow' + frame); 19 19 frame = Math.floor(Math.random()*(end_frame-start_frame+1))+start_frame; 20 - //if( console)console.log("Nextphoto:"+frame);20 + //if (frame == end_frame) { frame = start_frame; } else { frame = frame + 1; } 21 21 setTimeout("Effect.Appear('slideshow" + frame + "');", 850); 22 22 setTimeout(switch_slides(frame, start_frame, end_frame, delay), delay + 850); 23 23 })