- numerous bug fixes - add `npm start` support - minibrowser theme thanks to @GraspYonOx - remove TOS coz no one cares anyway
1 line
1.6 KiB
HTML
1 line
1.6 KiB
HTML
<html><head><script language="JavaScript">
|
|
var whichWeather = 0;
|
|
var theWeather = new Array(
|
|
"<shadow><blackface>Today</blackface> Partly Sunny</shadow>", "<shadow><blackface>Today</blackface> High 74</shadow>", "<shadow><blackface>Tonight</blackface> Some Clouds</shadow>", "<shadow><blackface>Tonight</blackface> Low 58</shadow>", "<shadow><blackface>Weds.</blackface> Partly Sunny</shadow>", "<shadow><blackface>Weds.</blackface> High 76</shadow>");
|
|
function InsertWeather() {
|
|
document.embeds[0].document.embeds[0].document.open();
|
|
document.embeds[0].document.embeds[0].document.write("<html><body bgcolor=3a3e64></body></html>");
|
|
document.embeds[0].document.embeds[0].document.close();
|
|
if (rotationPaused == true) {
|
|
setTimeout("InsertWeather(theWeather)", 5000);
|
|
return;
|
|
}
|
|
var counter = document.embeds[0].document.embeds.length;
|
|
if (whichWeather >= theWeather.length) { whichWeather = 0; }
|
|
document.embeds[0].document.embeds[0].document.open();
|
|
document.embeds[0].document.embeds[0].document.write("<html><body bgcolor=3a3e64><table cellspacing=0 cellpadding=0><tr><td height=3><tr><td width=200 align=left><font color=dedede>");
|
|
document.embeds[0].document.embeds[0].document.write(theWeather[whichWeather]);
|
|
document.embeds[0].document.embeds[0].document.write("</table></font></body></html>");
|
|
document.embeds[0].document.embeds[0].document.close();
|
|
whichWeather = whichWeather + 1;
|
|
setTimeout("InsertWeather(theWeather)", 5000);
|
|
}
|
|
</script>
|
|
</head>
|
|
<body bgcolor=3a3e64 fontsize=medium onLoad="InsertWeather(theWeather)">
|
|
<table cellspacing=0 cellpadding=0>
|
|
<tr><td><embed src="file://ROM/HTMLs/Empty.html">
|
|
</table>
|
|
</body>
|
|
</html>
|