// Set slideShowSpeed (milliseconds) var slideShowSpeed = 5000 // Duration of crossfade (seconds) var crossFadeDuration = 2 var SSPic = new Array() var SSTekst = new Array() var SSLinks = new Array() SSPic[0] = "/fotoalbum/thumb/47_0aji9yoe75.jpg"; SSTekst[0] = ""; SSLinks[0] = "fotoalbum.php?foto=55405"; SSPic[1] = "/fotoalbum/thumb/47_x60t4k9jr4a.jpg"; SSTekst[1] = ""; SSLinks[1] = "fotoalbum.php?foto=55404"; SSPic[2] = "/fotoalbum/thumb/47_8pbhq0963.jpg"; SSTekst[2] = ""; SSLinks[2] = "fotoalbum.php?foto=55403"; SSPic[3] = "/fotoalbum/thumb/47_jiw4gq6dub.jpg"; SSTekst[3] = ""; SSLinks[3] = "fotoalbum.php?foto=55402"; SSPic[4] = "/fotoalbum/thumb/47_fzqiiba2f.jpg"; SSTekst[4] = ""; SSLinks[4] = "fotoalbum.php?foto=55401"; SSPic[5] = "/fotoalbum/thumb/47_74jmv9x7stn.jpg"; SSTekst[5] = ""; SSLinks[5] = "fotoalbum.php?foto=55400"; // ======================================= // do not edit anything below this line // ======================================= var t var j = 0 var p = SSPic.length var preLoad = new Array() for (i = 0; i < p; i++){ preLoad[i] = new Image() preLoad[i].src = SSPic[i] } function getBrowserType(){ if (navigator.userAgent.indexOf("Opera")!=-1 && document.getElementById) type="OP"; else if (document.all) type="IE"; else if (document.layers) type="NN"; else if (!document.all && document.getElementById) type="MO"; //alert(type); return type; } function runSlideShow(){ var bType = getBrowserType(); /* if (document.all){ document.images.SlideShow.style.filter='blendTrans(duration=2)' document.images.SlideShow.style.filter='blendTrans(duration=crossFadeDuration)' document.images.SlideShow.filters.blendTrans.Apply() } document.images.SlideShow.src = preLoad[j].src if (document.all){ document.images.SlideShow.filters.blendTrans.Play() } SlideShowImgLink.href = SSLinks[j]; SlideShowTekstLink.href = SSLinks[j]; SlideShowTekst.innerHTML = SSTekst[j]; */ if(bType == "IE"){ document.images.SlideShow.style.filter='blendTrans(duration=2)' document.images.SlideShow.style.filter='blendTrans(duration=crossFadeDuration)' document.images.SlideShow.filters.blendTrans.Apply() } if(bType == "IE" || bType == "NN" ){ document.images.SlideShow.src = preLoad[j].src if(bType == "IE"){ document.images.SlideShow.filters.blendTrans.Play() } SlideShowImgLink.href = SSLinks[j]; // SlideShowTekstLink.href = SSLinks[j]; // bij aanzetten komt de focus op de fck editor, onderaan de pagina SlideShowTekst.innerHTML = SSTekst[j]; }else if( bType == "OP" ){ document.images.SlideShow.src = preLoad[j].src document.getElementById("SlideShowImgLink").href = SSLinks[j]; // document.getElementById("SlideShowTekstLink").href = SSLinks[j]; document.getElementById("SlideShowTekst").innerHTML = SSTekst[j]; }else if( bType == "MO" ){ document.images.SlideShow.src = preLoad[j].src document.getElementById("SlideShowImgLink").href = SSLinks[j]; // document.getElementById("SlideShowTekstLink").href = SSLinks[j]; document.getElementById("SlideShowTekst").innerHTML = SSTekst[j]; } j = j + 1 if (j > (p-1)) j=0 t = setTimeout('runSlideShow()', slideShowSpeed) } runSlideShow();