Black Eagle Team Minishell
Path:
/
home
/
c
/
c
/
p
/
ccpsafy
/
www
/
pict
/
dia_index
/
[
Home
]
File: slide_index.php
<script language="JavaScript1.2"> /*********************************************** * Flexi Slideshow- © Dynamic Drive (www.dynamicdrive.com) * This notice must stay intact for use * Visit http://www.dynamicdrive.com/ for full source code ***********************************************/ var variableslide=new Array() //variableslide[x]=["path to image", "OPTIONAL link for image", "OPTIONAL text description (supports HTML tags)"] variableslide[00]= ['pict/dia_index/alexis1.jpg', '', '<br />Sylvie Alexis'] variableslide[01]= ['pict/dia_index/arnoux2.jpg', '', '<br />Wilfried Arnoux'] variableslide[02]= ['pict/dia_index/arnoux3.jpg', '', '<br />Wilfried Arnoux'] variableslide[03]= ['pict/dia_index/aurand1.jpg', '', '<br />Patrice Aurand'] variableslide[04]= ['pict/dia_index/barnett2.jpg', '', '<br />Nigel Barnett'] variableslide[05]= ['pict/dia_index/barnett3.jpg', '', '<br />Nigel Barnett'] variableslide[06]= ['pict/dia_index/capuano1.jpg', '', '<br />Jocelyne Capuano'] variableslide[07]= ['pict/dia_index/couderc1.jpg', '', '<br />Rémy Couderc'] variableslide[08]= ['pict/dia_index/desmedt1.jpg', '', '<br />Guillaume De Smedt'] variableslide[09]= ['pict/dia_index/fischer1.jpg', '', '<br />Mickaël Fischer'] variableslide[10]= ['pict/dia_index/fusco1.jpg', '', '<br />Jacky Fusco'] variableslide[11]= ['pict/dia_index/grignon2.jpg', '', '<br />Michel Grignon'] variableslide[12]= ['pict/dia_index/grignon3.jpg', '', '<br />Michel Grignon'] variableslide[13]= ['pict/dia_index/oliviero1.jpg', '', '<br />Gérard Oliviero'] variableslide[14]= ['pict/dia_index/perrossier1.jpg', '', '<br />Jean-Luc Perrossier'] variableslide[15]= ['pict/dia_index/perrossier2.jpg', '', '<br />Jean-Luc Perrossier'] variableslide[16]= ['pict/dia_index/prat1.jpg', '', '<br />Jean-Christophe Prat'] variableslide[17]= ['pict/dia_index/roy1.jpg', '', '<br />Sébastien Roy'] variableslide[18]= ['pict/dia_index/soussi1.jpg', '', '<br />Mathilde Soussi'] variableslide[19]= ['pict/dia_index/fischer2.jpg', '', '<br />Mickaël Fischer'] //configure the below 3 variables to set the dimension/background color of the slideshow var slidewidth='1100px' //set to width of LARGEST image in your slideshow var slideheight='430px' //set to height of LARGEST iamge in your slideshow, plus any text description var slidebgcolor='#fff' //var slidebgcolor='#fff' var textcolor='#999' //configure the below variable to determine the delay between image rotations (in miliseconds) //debut version michel var slidedelay=4000 var NbPh=variableslide.length // +++ nb de photos ////Do not edit pass this line//////////////// var ie=document.all var dom=document.getElementById for (i=0;i<NbPh;i++){ var cacheimage=new Image() cacheimage.src=variableslide[i][0] } var TblNoPh= new Array() // +++ tableau avec les photos non encore passées var NbPhNp=0 // +++ function rotateimages(){ // +++ nouveau traitement if (TblNoPh.length==0){ for (i=0;i<NbPh;i++){ TblNoPh[i]=i } } NbPhNp=TblNoPh.length placeRndNbr=Math.floor(Math.random()*NbPhNp) randomnumber=TblNoPh.splice(placeRndNbr,1) // +++ fin nouveau traitement currentslide=randomnumber //fin version michel contentcontainer='<center>' if (variableslide[currentslide][1]!="") contentcontainer+='<a href="'+variableslide[currentslide][1]+'">' contentcontainer+='<img src="'+variableslide[currentslide][0]+'">' if (variableslide[currentslide][1]!="") contentcontainer+='</a>' contentcontainer+='<center>' if (variableslide[currentslide][2]!="" ) contentcontainer+=variableslide[currentslide][2] if (document.layers){ crossrotateobj.document.write(contentcontainer) crossrotateobj.document.close() } else if (ie||dom) crossrotateobj.innerHTML=contentcontainer if (currentslide==variableslide.length-1) currentslide=0 else currentslide++ setTimeout("rotateimages()",slidedelay) } if (ie||dom) document.write('<div id="slidedom" style="width:'+slidewidth+';height:'+slideheight+'; background-color:'+slidebgcolor+'"></div>') function start_slider(){ crossrotateobj=dom? document.getElementById("slidedom") : ie? document.all.slidedom : document.slidensmain.document.slidenssub if (document.layers) document.slidensmain.visibility="show" rotateimages() } if (ie||dom) start_slider() else if (document.layers) window.onload=start_slider </script>
©
2020 Black Eagle Team