1function showPic() { 2 document.images[1].src="https://www.mynavyleague.org/shared/SSV/SSV0.jpg" 3 } 4 5function hidePic() { 6 document.images[1].src="https://www.mynavyleague.org/shared/SSV/SSV1.jpg" 7 } 8 9// Set slideShowSpeed (milliseconds) 10 11var slideShowSpeed = 4000; 12 13// Duration of crossfade (seconds) 14 15var crossFadeDuration = 1; 16 17// Specify the image files 18var Pic = new Array(); 19 20// to add more images, add to the array below 21 22Pic[0] = 'https://www.mynavyleague.org/shared/SSV/SSV0.jpg' 23Pic[1] = 'https://www.mynavyleague.org/shared/SSV/SSV1.jpg' 24Pic[2] = 'https://www.mynavyleague.org/shared/SSV/SSV2.jpg' 25Pic[3] = 'https://www.mynavyleague.org/shared/SSV/SSV3.jpg' 26 27// do not edit anything below this line 28 29var t; 30var j = 0; 31var p = Pic.length; 32var preLoad = new Array(); 33for (i = 0; i < p; i++) { 34 preLoad[i] = new Image(); 35 preLoad[i].src = Pic[i]; 36 } 37 38function runSlideShow() { 39 if (document.all) { 40 document.images.SlideShow.style.filter="blendTrans(duration=2)"; 41 document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"; 42 document.images.SlideShow.filters.blendTrans.Apply(); 43 } 44 document.images.SlideShow.src = preLoad[j].src; 45 if (document.all) { 46 document.images.SlideShow.filters.blendTrans.Play(); 47 } 48 j = j + 1; 49 if (j > (p - 1)) j = 0; 50 t = setTimeout('runSlideShow()', slideShowSpeed); 51 }
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.