...省略... <script language="JavaScript" type="text/javascript" src="./javascripts/nas6lib/timer.js"></script> <script> var TMan = new N6LTimerMan(); //タイマーマネージャー var Urls=[["./htm000.htm", "span0000"], ["./prg3d001.htm", "span0013"], ["./tablepinpon.htm", "span0302"], ["./skincare.htm", "span0340"],["./vroid.htm", "span0341"], ["./fastsdcpu.htm", "span0342"], ["./5ch.htm", "span0403"], ["./rine.htm", "span0404"], ["./death.htm", "span0405"], ["./gno.htm", "span0406"], ["./psy.htm", "span0407"], ["./key.htm", "span0408"], ["./Lwing.htm", "span0409"], ["./reason.htm", "span0410"]]; var step = 0; var done = false; var dt = new Date(); var running = true; var flgif = true; window.onload=function(){ var elm = document.getElementById('inlineFrame'); elm.onload = function(){ done = true; return; } elm.contentWindow.location.replace(Urls[step][0]); step = 0; TMan.add(); Loop(0); //初回実行 } function Loop(id) { if(done == false){ if(step < 0){ running = false; return; } TMan.timer[id].setalerm(function() { Loop(id); }, 50); //メインループ再セット return; } done = false; var elm = document.getElementById('inlineFrame'); ltdate(new Date(elm.contentDocument.lastModified)); if(Urls.length - 1 <= step){ step = -1; running = false; return; } else step++; if(step < 0){ running = false; return; } if(0 <= step){ elm.onload = function(){ done = true; return; } elm.contentWindow.location.replace(Urls[step][0]); } TMan.timer[id].setalerm(function() { Loop(id); }, 50); //メインループ再セット } function ltdate(lt){ var msecPerMinute = 1000 * 60; var msecPerHour = msecPerMinute * 60; var msecPerDay = msecPerHour * 24; var dtdate = dt.getTime() / msecPerDay; var ltdate = lt.getTime() / msecPerDay; var elm = document.getElementById(Urls[step][1]); var elm2 = document.getElementById("LTDT"); if(dtdate < ltdate + Number(elm2.value)){ elm.style=""; } else { elm.style="display:none;"; } } function ltchk(){ step = 0; done = false; dt = new Date(); var elm = document.getElementById('inlineFrame'); elm.onload = function(){ done = true; return; } elm.contentWindow.location.replace(Urls[step][0]); step = 0; if(!running) Loop(0); //初回実行 running = true; } function ifvisible(){ var elm = document.getElementById('inlineFrame'); if(flgif){ flgif = false; elm.style = "display:none;"; } else { flgif = true; elm.style = ""; } } ...省略... <iframe id="inlineFrame" title="InlineFrame" width="600" height="600" src="./img/kumausagineko.jpg"> </iframe> <br> サイト内の更新確認ができるようにしました<br> <input type="text" id="LTDT" value="30">日前 <input type="button" onclick="ltchk()" value="更新チェック"> <input type="button" onclick="ifvisible()" value="iframe hide"><br> 例えば10000日前とか0日前とかでも試してみてください<br> <br> <a href="./htm000.htm">ホームページTips・script.aculo.us、x3dom、WEB3D、WEBGL、HTML5、等の<br> javascriptサンプル・使い方・入門(samples・examples)</a><span style="display:none;" id = "span0000"> : 更新!</span> <br> <a href="./prg3d001.htm">その1:ベクトル</a><span style="display:none;" id = "span0013"> : 更新!</span> <br> <a href="./tablepinpon.htm">テーブルピンポン</a><span style="display:none;" id = "span0302"> : 更新!</span> <br> <a href="./skincare.htm">美容・美肌・スキンケア・脱ファンデーションの勧め</a><span style="display:none;" id = "span0340"> : 更新!</span> <br> <a href="./vroid.htm">mixfool V の VRoid YouTube 活動</a><span style="display:none;" id = "span0341"> : 更新!</span> <br> <a href="./fastsdcpu.htm">GPUなしローカルCPUだけで無料無制限でStable Diffusion AI画像生成~FastSD CPU のインストール・使い方~</a><span style="display:none;" id = "span0342"> : 更新!</span> <br> <a href="./5ch.htm">創価学会と5チャンネル</a><span style="display:none;" id = "span0403"> : 更新!</span> <br> <a href="./rine.htm">輪廻、生まれ変わりを信じるかと魂の善悪</a><span style="display:none;" id = "span0404"> : 更新!</span> <br> <a href="./death.htm">死因</a><span style="display:none;" id = "span0405"> : 更新!</span> <br> <a href="./gno.htm">グノーシス</a><span style="display:none;" id = "span0406"> : 更新!</span> <br> <a href="./psy.htm">緊縛と弛緩と催眠術それとこの世とあの世</a><span style="display:none;" id = "span0407"> : 更新!</span> <br> <a href="./key.htm">楽譜キーの変更愛の讃歌初級</a><span style="display:none;" id = "span0408"> : 更新!</span> <br> <a href="./Lwing.htm">何でも反対は邪魔なだけ</a><span style="display:none;" id = "span0409"> : 更新!</span> <br> <a href="./reason.htm">世界がこんな風になったのは</a><span style="display:none;" id = "span0410"> : 更新!</span> ...省略...