Images of U-15ジュニアセレクトカップハンドボール大会
/* 設定部分 */ var interval = 5000; //切り替わる時間(1000=1秒) var imgs = new Array(); var hrefs = new Array(); imgs[0] = new Image(); imgs[0].src = "https://blog-imgs-118.fc2.com/h/i/n/hinodeboxing/2017010012.png"; imgs[1] = new Image(); imgs[1].src = "https://blog-imgs-118.fc2.com/h/i/n/hinodeboxing/20170801224612157_20180212181223663.jpg"; imgs[2] = new Image(); imgs[2].src = "https://blog-imgs-118.fc2.com/h/i/n/hinodeboxing/201700001.jpg"; imgs[3] = new Image(); imgs[3].src = "https://blog-imgs-126.fc2.com/h/i/n/hinodeboxing/201904071654202b4.jpg"; imgs[4] = new Image(); imgs[4].src = "https://blog-imgs-126.fc2.com/h/i/n/hinodeboxing/20190407165418b32.jpg"; imgs[5] = new Image(); imgs[5].src = "https://blog-imgs-126.fc2.com/h/i/n/hinodeboxing/201904071654168a6.jpg"; imgs[6] = new Image(); imgs[6].src = "https://blog-imgs-126.fc2.com/h/i/n/hinodeboxing/20190407165415905.jpg"; /* プログラム部分 */ var num = Math.floor(Math.random()*imgs.length); document.write(''); var cti = document.getElementById("cti"); var cth = document.getElementById("cth"); setInterval(function(){ num += Math.floor(Math.random()*(imgs.length-1))+1; if(num>=imgs.length) num -= imgs.length; cti.src = imgs[num].src; cth.href = hrefs[num]; },interval);
/* 設定部分 */ var interval = 5000; //切り替わる時間(1000=1秒) var imgs = new Array(); var hrefs = new Array(); imgs[0] = new Image(); imgs[0].src = "https://blog-imgs-118.fc2.com/h/i/n/hinodeboxing/2017010012.png"; imgs[1] = new Image(); imgs[1].src = "https://blog-imgs-118.fc2.com/h/i/n/hinodeboxing/20170801224612157_20180212181223663.jpg"; imgs[2] = new Image(); imgs[2].src = "https://blog-imgs-118.fc2.com/h/i/n/hinodeboxing/201700001.jpg"; imgs[3] = new Image(); imgs[3].src = "https://blog-imgs-126.fc2.com/h/i/n/hinodeboxing/201904071654202b4.jpg"; imgs[4] = new Image(); imgs[4].src = "https://blog-imgs-126.fc2.com/h/i/n/hinodeboxing/20190407165418b32.jpg"; imgs[5] = new Image(); imgs[5].src = "https://blog-imgs-126.fc2.com/h/i/n/hinodeboxing/201904071654168a6.jpg"; imgs[6] = new Image(); imgs[6].src = "https://blog-imgs-126.fc2.com/h/i/n/hinodeboxing/20190407165415905.jpg"; /* プログラム部分 */ var num = Math.floor(Math.random()*imgs.length); document.write(''); var cti = document.getElementById("cti"); var cth = document.getElementById("cth"); setInterval(function(){ num += Math.floor(Math.random()*(imgs.length-1))+1; if(num>=imgs.length) num -= imgs.length; cti.src = imgs[num].src; cth.href = hrefs[num]; },interval);
/* 設定部分 */ var interval = 5000; //切り替わる時間(1000=1秒) var imgs = new Array(); var hrefs = new Array(); imgs[0] = new Image(); imgs[0].src = "https://blog-imgs-118.fc2.com/h/i/n/hinodeboxing/2017010012.png"; imgs[1] = new Image(); imgs[1].src = "https://blog-imgs-118.fc2.com/h/i/n/hinodeboxing/20170801224612157_20180212181223663.jpg"; imgs[2] = new Image(); imgs[2].src = "https://blog-imgs-118.fc2.com/h/i/n/hinodeboxing/201700001.jpg"; imgs[3] = new Image(); imgs[3].src = "https://blog-imgs-126.fc2.com/h/i/n/hinodeboxing/201904071654202b4.jpg"; imgs[4] = new Image(); imgs[4].src = "https://blog-imgs-126.fc2.com/h/i/n/hinodeboxing/20190407165418b32.jpg"; imgs[5] = new Image(); imgs[5].src = "https://blog-imgs-126.fc2.com/h/i/n/hinodeboxing/201904071654168a6.jpg"; imgs[6] = new Image(); imgs[6].src = "https://blog-imgs-126.fc2.com/h/i/n/hinodeboxing/20190407165415905.jpg"; /* プログラム部分 */ var num = Math.floor(Math.random()*imgs.length); document.write(''); var cti = document.getElementById("cti"); var cth = document.getElementById("cth"); setInterval(function(){ num += Math.floor(Math.random()*(imgs.length-1))+1; if(num>=imgs.length) num -= imgs.length; cti.src = imgs[num].src; cth.href = hrefs[num]; },interval);