≪ ≪ ORACLE、SQLServerの相違点というか。。 (C#)複数階層データバインド ≫ ≫

<html>
<head>
<title>
JavaScriptに定義されたページを、順番に表示するためだけのHTA
(WebApplicationのキャッシュ読み込み用に作成。。)
</title>
<script language="JavaScript">
///// 初期化 /////
var numTime=1000;    //ループ間隔
///// 表示するページ /////
var aryURL;
aryURL=new Array();
aryURL[aryURL.length]="http://localhost/page1.html";
aryURL[aryURL.length]="http://localhost/page2.html";
aryURL[aryURL.length]="http://localhost/page3.html";
///// 読み込みループ /////
function OpenLoop(numSetIx){
try {
if(numSetIx==null){
LOG.value="[処理開始]";
OpenLoop(0);
return;
}
if(aryURL.length <= numSetIx){
LOG.value="[処理終了]"+"\n"+LOG.value;
return;
}
if(PAGE.window.document.readyState!="complete"){
setTimeout("OpenLoop("+numSetIx+")",numTime);
return;
}
if(PAGE.document.CHECK){
setTimeout("OpenLoop("+numSetIx+")",numTime);
return;
};
LOG.value="[読み込み中.."+(numSetIx+1)+"/"+aryURL.length+"]"
+aryURL[numSetIx]+"\n"+LOG.value;
PAGE.document.CHECK=true;
PAGE.location=aryURL[numSetIx];
setTimeout("OpenLoop("+(numSetIx+1)+")",numTime);
return;
}catch(Err){
//エラー
LOG.value="[エラー!!]"+Err.message+"\n"+LOG.value;
setTimeout("OpenLoop("+(numSetIx+1)+")",numTime);
};
};
</script>
</head>
<body onload="JavaScript:OpenLoop();">
<textarea ID="LOG"   style="width:100%;height:20%;overflow:scroll;"></textarea>
<iframe   ID="PAGE"  style="width:100%;height:80%;overflow:scroll;"></iframe>
</body>
</html>

≪ ≪ ORACLE、SQLServerの相違点というか。。 (C#)複数階層データバインド ≫ ≫

関連記事

Google Ads

2 Responses to “JavaScriptに定義されたページを、順番に表示するためだけのHTA”

  1. Johnf551 より:

    You really make it seem so easy with your presentation but I find this topic to be really something which I think I would never understand. It seems too complicated and extremely broad for me. I’m looking forward for your next post, I’ll try to get the hang of it! ddcckgakdgkb

  2. Johna696 より:

    I’m really enjoying the design and layout of your website. It’s a very easy on the eyes which makes it much more pleasant for me to come here and visit more often. Did you hire out a designer to create your theme? Excellent work! dedcakeeeced

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>