This commit is contained in:
mileswa1q22
2024-10-15 04:01:09 +00:00
committed by GitHub
parent 07e43fa085
commit 0499372221
3 changed files with 32 additions and 1 deletions
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Pokemon - Yellow Version</title>
<style>
#webretro-container {
width: 800px;
height: 600px;
}
</style>
</head>
<body>
<h1>Pokemon - Red Version</h1>
<div id="webretro-container"></div>
<br>
<input type="button" id="fullscreen" value="Fullscreen">
<br>
<br>
<script type="text/javascript" src="embed.js"></script>
<script>
var frame = webretroEmbed(document.getElementById("webretro-container"), "../", {system: "GB/GBC/GBA", rom: "Pokemon - Red Version (USA, Europe) (SGB Enhanced).zip"});
document.getElementById("fullscreen").onclick = function() {
frame.requestFullscreen();
};
</script>
</body>
</html>
@@ -21,7 +21,7 @@
<script type="text/javascript" src="embed.js"></script>
<script>
var frame = webretroEmbed(document.getElementById("webretro-container"), "../", {system: "GB", rom: "Pokemon - Yellow Version - Special Pikachu Edition (USA, Europe) (GBC,SGB Enhanced).zip"});
var frame = webretroEmbed(document.getElementById("webretro-container"), "../", {system: "GB/GBC/GBA", rom: "Pokemon - Yellow Version - Special Pikachu Edition (USA, Europe) (GBC,SGB Enhanced).zip"});
document.getElementById("fullscreen").onclick = function() {
frame.requestFullscreen();
};