ReboundEmulator/Views/Shared/GamePage.cshtml
Moonbase d6d643ec02 Rename Project To 'ReboundEmulator'
Add Partial Support For Boardwalk Seaball
2026-10-09 00:13:04 -07:00

37 lines
1.2 KiB
Plaintext

@model ReboundEmulator.Model.GamePage
<!DOCTYPE html>
<html>
<head>
<title>@($"Not Pogo - {Model.GameName}")</title>
</head>
<body style="overflow:hidden;margin:0;position:relative" bgcolor="ffffff" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
<div style="position:relative;">
@{
int leftOffset = 0;
}
@foreach (var applet in Model.Applets)
{
<div id="@(applet.Name == "chat" ? "chatAppletDivId" : "gamearea")" style="position: absolute; top: 0; left: @(leftOffset)px;" align="left">
<applet name="@applet.Name"
code="@applet.Code"
codebase="@applet.Codebase"
archive="@applet.Archive"
width="@applet.Width" height="@applet.Height">
@foreach (var kv in applet.Parameters)
{
<param name="@kv.Key" value="@kv.Value">
}
Unfortunately, In Order To Use Not Pogo, You Need To Use A Browser That Still Supports Java Applets
Modern options are limited, but 'Pale Moon' is decent. You also need an older Java Runtime Environment (1.6 or older) due to Java 8's strict security.
</applet>
</div>
leftOffset += applet.Width;
}
</div>
</body>
</html>