1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
| <!-- DEBUT DU SCRIPT DIAPORAMA -->
<script type="text/javascript">
var photos=new Array()
var photoslink=new Array()
var which=0
// Définition du chemin de l'image. Vous pouvez en mettre aurant que vous le désirez
photos[0]="../imagesfixes/presse_ercilla.jpg"
photos[1]="../imagesfixes/presse_mercurio.jpg"
photos[2]="../imagesfixes/presse_financerio.jpg"
photos[3]="../imagesfixes/presse_ed.gif"
photos[4]="../imagesfixes/presse_capital.jpg"
photos[5]="../imagesfixes/presse_polo.jpg"
// Spécifiez si l'image doit être cliquable ou pas : 0 = non - 1 = oui
var linkornot=1
// Inscrivez l'URL de chaque image entre les "". Ne le faire que si la variable ci-dessus est égale à 1 (linkornot=1)
photoslink[0]="../imagesfixes/presse_ercilla_g.jpg"
photoslink[1]=""
photoslink[2]=""
// NE RIEN EDITER AU-DESSOUS DE CETTE LIGNE.
var preloadedimages=new Array()
for (i=0;i<photos.length;i++){
preloadedimages[i]=new Image()
preloadedimages[i].src=photos[i]
}
function applyeffect(){
if (document.all && photoslider.filters){
photoslider.filters.revealTrans.Transition=Math.floor(Math.random()*23)
photoslider.filters.revealTrans.stop()
photoslider.filters.revealTrans.apply()
}
}
function playeffect(){
if (document.all && photoslider.filters)
photoslider.filters.revealTrans.play()
}
function keeptrack(){
window.status="Image "+(which+1)+" of "+photos.length
}
function backward(){
if (which>0){
which--
applyeffect()
document.images.photoslider.src=photos[which]
playeffect()
keeptrack()
}
}
function forward(){
if (which<photos.length-1){
which++
applyeffect()
document.images.photoslider.src=photos[which]
playeffect()
keeptrack()
}
}
function transport(){
window.location=photoslink[which]
}
</script>
<!-- FIN DU SCRIPT DIAPORAMA --> |