-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4d215ec
commit 71c62c3
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<!-- NOTE: Adding comments to any code you create/edit would make me very happy--> | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<!--epic CSS customization--> | ||
<head> | ||
<title>Dude's Zone - Celeste (PICO-8)</title> | ||
<link rel="shortcut icon" type="image/png" href="faviV2.png"/> | ||
<link rel="stylesheet" href="stylesheets.css"> | ||
</head> | ||
|
||
<!-- oh my goodness gracious thank you so much @PlainSys for giving me the javascript code--> | ||
<body> <!--"original" game from mountain658's website--> | ||
<center><iframe id="embeddedGame" src="https://dudenoob34.github.io/mog/g/zceleste.html" width="50%" height="500" style="border:1px double #39FF14;"></iframe></center> | ||
<br> | ||
|
||
|
||
|
||
<!--everything below appears under the embed--> | ||
|
||
|
||
|
||
<center><p>The game takes a while to load after pressing the play button. Please be patient.<p></center> | ||
<br> | ||
<!--fullscreen button--> | ||
<center><button onclick="goFullscreen('embeddedGame'); return true">Fullscreen</button></center> | ||
<!--fullscreen button code--> | ||
<script> | ||
function goFullscreen(id) { | ||
var element = document.getElementById(id); | ||
if (element.mozRequestFullScreen) { | ||
element.mozRequestFullScreen(); | ||
} else if (element.webkitRequestFullScreen) { | ||
element.webkitRequestFullScreen(); | ||
} | ||
} | ||
</script> | ||
</body> | ||
|
||
</html> |