Files
minisrv/zefie_wtvp_minisrv/ServiceVault/wtv-disk/content/DealerDemo/sim/index.html
zefie 72c15305fa v0.9.19
- numerous bug fixes
 - add `npm start` support
 - minibrowser theme thanks to @GraspYonOx
 - remove TOS coz no one cares anyway
2022-11-29 08:27:58 -05:00

1 line
10 KiB
HTML

<html>
<head>
<script language="JavaScript">
var partners = new Array("templates/DiscoveryChannel.html", "templates/EOnline.html");
var promotions = new Array("templates/Entertainment.html", "templates/ArtAndScience.html", "templates/FunAndGames.html", "templates/Health.html", "templates/HomeLife.html", "templates/Kids.html", "templates/Marketplace.html", "templates/Money.html", "templates/News.html", "templates/NetReference.html", "templates/Sports.html", "templates/Travel.html", "templates/TV.html");
var promotionDurations = new Array("30", "30", "30", "30", "30", "30", "30", "30", "30", "30", "30", "30", "30");
var theWeather = new Array();
var whichPartner = 0;
var whichPromotion = 0;
var whichWeather = 0;
var delay = 1000;
var promotionRotationHalted = false;
var partnerRotationHalted = false;
var rotationPaused = false;
var timer = null;
var date = new Date();
var stopRotatingTime = 0;
function RecommenceRotation() {
rotationPaused = false;
}
function PauseRotation() {
if (timer != null) {clearTimeout(timer); }
rotationPaused = true;
timer = setTimeout('RecommenceRotation()', 5000);
}
function ImagesDone(aDocument) {
var i;
var done = true;
for (i = 0; i < aDocument.images.length; ++i) {
if (aDocument.images[i].complete == false) {
done = false;
}
}
return done;
}
function EnteredRotator(type) {
if (type == "promotion") {
promotionRotationHalted = true;
} else if (type == "partner") {
partnerRotationHalted = true;
}
}
function LeftRotator(type) {
if (type == "promotion") {
promotionRotationHalted = false;
} else if (type == "partner") {
partnerRotationHalted = false;
}
}
function ReplaceWeather() {
document.weatherEmbed.src = "weather.html";
}
function InstallEmptyPromotion() {
document.promotionEmbed.document.open();
document.promotionEmbed.document.write("<html><body bgcolor=191919 gradcolor=2d3254 gradangle=45><table width=279 height=240><tr><td><spacer></table></body></html>");
document.promotionEmbed.document.close();
}
function ReplacePromotion() {
var now = new Date();
if (now.getTime() > stopRotatingTime) { return; }
if (whichPromotion >= promotions.length) { whichPromotion = 0; }
if (ImagesDone(top.document) && (rotationPaused == false) && (promotionRotationHalted == false)) {
document.promotionEmbed.src = promotions[whichPromotion];
} else {
delay = promotionDurations[whichPromotion] * 250;
setTimeout('ReplacePromotion()', delay);
}
delay = promotionDurations[whichPromotion] * 1000;
whichPromotion = whichPromotion + 1;
setTimeout('ReplacePromotion()', delay);
}
function RotatePromotions() {
whichPromotion = 1;
setTimeout('ReplacePromotion()', 8000);
}
function InstallEmptyPartner() {
document.partnerEmbed.document.open();
document.partnerEmbed.document.write("<html><body bgcolor=252525><table cellspacing=0 cellpadding=0 width=130 height=200><tr><td><spacer></table></body></html>");
document.partnerEmbed.document.close();
}
function ReplacePartner() {
var now = new Date();
if (now.getTime() > stopRotatingTime) { return; }
if (whichPartner >= partners.length) { whichPartner = 0; }
if (ImagesDone(top.document) && (rotationPaused == false) && (partnerRotationHalted == false)) {
document.partnerEmbed.src = partners[whichPartner];
} else {
setTimeout('ReplacePartner()', 25000 / 4);
}
whichPartner = whichPartner + 1;
setTimeout('ReplacePartner()', 25000);
}
function RotatePartners(firstPartnerIndex) {
whichPartner = firstPartnerIndex;
setTimeout('ReplacePartner()', 5000);
}
function AddWeatherLine(line) {
theWeather[theWeather.length + 1] = line;
}
function InsertWeather() {
if (whichWeather >= theWeather.length) { whichWeather = 0; }
document.embeds[0].document.open();
document.weatherEmbed.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.weatherEmbed.document.write(theWeather[whichWeather]);
document.weatherEmbed.document.write("</table></font></body></html>");
document.weatherEmbed.document.close();
whichWeather = whichWeather + 1;
setTimeout("InsertWeather(theWeather)", 5000);
}
function StartRotations(firstPartnerIndex) {
stopRotatingTime = date.getTime() + 1800000;
RotatePromotions();
RotatePartners(firstPartnerIndex);
setTimeout('ReplaceWeather()', 5000);
}
</script>
<display hspace=0 vspace=0 fontsize=medium>
<title>
Home for KellyP
</title>
</head>
<body onLoad=StartRotations(1) bgcolor=191919>
<table cellspacing=0 cellpadding=0 abswidth=560 absheight=383>
<tr>
<td abswidth=138 absheight=383>
<table cellspacing=0 cellpadding=0 bgcolor=2d3254>
<tr><td valign=top colspan=3>
<table cellspacing=0 cellpadding=0 height=110>
<tr>
<td height=7>
<tr>
<td colspan=3 valign=top align=center>
<spacer type=block width=6><spacer type=block height=3><img src="ROMCache/WebTVLogoJewel.gif" width=127 height=98>
</table>
<tr>
<td height=2 colspan=3 bgcolor=182131>
<spacer>
<tr>
<td height=1 colspan=3>
<spacer>
<tr>
<td height=2 colspan=3 bgcolor=5b5074>
<spacer>
<tr><td valign=top>
<tr>
<td abswidth=7>
<td abswidth=125 height=24>
<table cellspacing=0 cellpadding=0 onMouseOver="PauseRotation()" href="setup/index.html">
<tr><td height=5>
<tr><td valign=middle>
<table cellspacing=0 cellpadding=0>
<tr><td valign=middle><shadow><font size=3 color=e7d694>&nbsp;Setup</font></shadow>
</table>
</table>
<td abswidth=6>
<tr>
<td height=2 colspan=3 bgcolor=182131>
<spacer>
<tr>
<td height=1 colspan=3>
<spacer>
<tr>
<td height=2 colspan=3 bgcolor=5b5074>
<spacer>
<tr>
<td abswidth=7>
<td abswidth=125 height=24>
<table cellspacing=0 cellpadding=0 onMouseOver="PauseRotation()" href="using_webtv/index.html">
<tr><td height=5>
<tr><td valign=middle>
<table cellspacing=0 cellpadding=0>
<tr><td valign=middle><shadow><font size=3 color=e7d694>&nbsp;Using WebTV</font></shadow>
</table>
</table>
<td abswidth=6>
<tr>
<td height=2 colspan=3 bgcolor=182131>
<spacer>
<tr>
<td height=1 colspan=3>
<spacer>
<tr>
<td height=2 colspan=3 bgcolor=5b5074>
<spacer>
<tr>
<td abswidth=7>
<td abswidth=125 height=24>
<table cellspacing=0 cellpadding=0 onMouseOver="PauseRotation()" href="community/index.html">
<tr><td height=5>
<tr><td valign=middle>
<table cellspacing=0 cellpadding=0>
<tr><td valign=middle><shadow><font size=3 color=e7d694>&nbsp;Community</font></shadow>
</table>
</table>
<td abswidth=6>
<tr>
<td height=2 colspan=3 bgcolor=182131>
<spacer>
<tr>
<td height=1 colspan=3>
<spacer>
<tr>
<td height=2 colspan=3 bgcolor=5b5074>
<spacer>
<tr><td valign=bottom align=right height=181 colspan=2>
<img src="ROMCache/HomeBanner.gif">
</table>
<td>
<table cellspacing=0 cellpadding=0 abswidth=422 absheight=383>
<tr>
<td colspan=2>
<table cellspacing=0 cellpadding=0 abswidth=422 absheight=142>
<tr>
<td rowspan=2 width=6 background="images/TopSidebarShadow.gif">
<spacer>
<td>
<table cellspacing=0 cellpadding=0 absheight=110 abswidth=416 bgcolor="2d3254" background="images/TopRowGradient.gif">
<tr>
<td abswidth=104 absheight=110>
<table cellspacing=0 cellpadding=0 href="mail/index.html" onMouseOver="PauseRotation()" selected insetSelection>
<tr>
<td height=11>
<tr>
<td align=center>
<spacer type=block width=0><img src=ROMCache/OpenMailbox3.gif border=0 width=61 height=52>
<tr>
<td height=14>
<tr>
<td>
<table cellspacing=0 cellpadding=0>
<tr>
<td width=36>
<td align=left>
<font color=000000><limittext value="Mail" width=150></font>
</table>
<tr>
<td height=10>
</table>
<td abswidth=104 absheight=110>
<table cellspacing=0 cellpadding=0 href="favorites/index.html" onMouseOver="PauseRotation()" insetSelection>
<tr>
<td height=11>
<tr>
<td align=center>
<spacer type=block width=0><img src="ROMCache/TreasureChest1.gif" border=0 width=92 height=52>
<tr>
<td height=14>
<tr>
<td>
<table cellspacing=0 cellpadding=0>
<tr>
<td width=14>
<td align=left>
<font color=000000><limittext value="Favorites" width=150></font>
</table>
<tr>
<td height=10>
</table>
<td abswidth=104 absheight=110>
<table cellspacing=0 cellpadding=0 href="explore/index.html" onMouseOver="PauseRotation()" insetSelection>
<tr>
<td height=11>
<tr>
<td align=center>
<spacer type=block width=0><img src="ROMCache/NavigationGlobe0.gif" border=0 width=68 height=59>
<tr>
<td height=9>
<tr>
<td>
<table cellspacing=0 cellpadding=0>
<tr>
<td width=22>
<td align=left>
<font color=000000><limittext value="Explore" width=150></font>
</table>
<tr>
<td height=10>
</table>
<td abswidth=104 absheight=110>
<table cellspacing=0 cellpadding=0 href="search/index.html" onMouseOver="PauseRotation()" insetSelection>
<tr>
<td height=11>
<tr>
<td align=center>
<spacer type=block width=0><img src="ROMCache/Binoculars0.gif" width=86 height=54>
<tr>
<td height=11>
<tr>
<td>
<table cellspacing=0 cellpadding=0>
<tr>
<td width=18>
<td align=left>
<font color=000000><limittext value="Search" width=150></font>
</table>
<tr>
<td height=10>
</table>
</table>
<tr>
<td absheight=32 abswidth=416>
<table cellspacing=0 cellpadding=0 insetselection onMouseOver="PauseRotation()" href="aroundtown/index.html">
<tr>
<td absheight=2 abswidth=416 bgcolor=652644>
<spacer>
<tr>
<td absheight=1 abswidth=416 bgcolor=3b3f58>
<spacer>
<tr>
<td absheight=2 abswidth=416 bgcolor=7c80a6>
<spacer>
<tr>
<td>
<table cellspacing=0 cellpadding=0 bgcolor="3a3e64">
<tr>
<td absheight=25 width=196 align=left><spacer type=block width=7><font color=f7e79c><shadow><limittext width=196 value="Around&nbsp;Town"><shadow></font>
<td absheight=25 width=220 align=right><embed name=weatherEmbed absheight=25 width=220 src="weather-buffer.html"><spacer type=block width=7>
</table>
<tr>
<td>
<table cellspacing=0 cellpadding=0 bgcolor="191919">
<tr><td absheight=1 abswidth=416><spacer type=block height=1>
</table>
</table>
</table>
<tr>
<td width=282 height=240>
<embed name=promotionEmbed transition=crossfade bgcolor=191919 width=282 absheight=240 src="templates/Entertainment.html">
<td align=center width=142 height=240>
<table cellspacing=0 cellpadding=0 height=209 width=142>
<tr>
<td height=209>
<embed name=partnerEmbed transition=crossfade bgcolor=191919 width=142 absheight=209 src="templates/EOnline.html"><br>
<tr>
<td height=31>
<img src="ROMCache/SiteShowcase.gif" width=142 height=31>
</table>
</table>
</table>
</body>
</html>