Compare commits

...

2 Commits

Author SHA1 Message Date
gary 61f80f6ce8 ADded loading filename 2022-01-11 19:14:18 +00:00
Gary 053554cb75 Reduce delay 2022-01-10 22:45:53 +00:00
2 changed files with 11 additions and 3 deletions

8
www/loading.html 100644
View File

@ -0,0 +1,8 @@
<html>
<head>
<title>Loading</title>
</head>
<body style="color: #FFFFFF; background-color: #000000">
<h1>Loading...</h1>
</body>
</html>

View File

@ -74,7 +74,7 @@ for ($ui = 1; $ui <= $urlcount; $ui++) {
echo " frame$ui.location = url$ui;\n";
}
echo " setInterval('ScreenRefresh()',".$tabTime."000);\n";
echo " setTimeout('ScreenRefresh()',2000);\n";
echo " setTimeout('ScreenRefresh()',500);\n";
echo "}\n";
echo "function ScreenRefresh() {\n";
@ -84,7 +84,7 @@ if ($urlcount>1) {
echo " screen$ui.style = 'display: none;';\n";
}
echo " if (CURPAGE == 'screen1') {\n";
echo " setTimeout(\"screen1.style = 'display: block;';\",2000);\n";
echo " setTimeout(\"screen1.style = 'display: block;';\",500);\n";
if (isset($urls[$urlk[0]]['tabRefresh']) && $urls[$urlk[0]]['tabRefresh']) {
echo " frame1.location = url1;\n";
} elseif (!isset($urls[$urlk[0]]['tabRefresh']) && $tabRefresh) {
@ -93,7 +93,7 @@ if ($urlcount>1) {
echo " CURPAGE = 'screen2';\n";
for ($ui = 2; $ui <= $urlcount; $ui++) {
echo " } else if (CURPAGE == 'screen$ui') {\n";
echo " setTimeout(\"screen$ui.style = 'display: block;';\",2000);\n";
echo " setTimeout(\"screen$ui.style = 'display: block;';\",500);\n";
if (isset($urls[$ui-1]['tabRefresh']) && $urls[$ui-1]['tabRefresh']) {
echo " frame$ui.location = url$ui;\n";
} elseif (!isset($urls[$ui-1]['tabRefresh']) && $tabRefresh) {