ce3c53ae3f
This PR adds the ability to inject a website INSIDE a map (as an iframe inside a Phaser HTML object) The iFrame will be rendered transparently, unless you set a background-color on the body, which opens a number of cool possibilities. Needs to be done: allowing the iframe API in those iframes.
11 lines
265 B
HTML
11 lines
265 B
HTML
<html>
|
|
<head>
|
|
</head>
|
|
<body>
|
|
<h1>Hello world</h1>
|
|
<p>This is a webpage integrated in your map</p>
|
|
|
|
<p>Here is a form, right in your map! <input type="text" value="because I can!"> <button>Submit!</button></p>
|
|
</body>
|
|
</html>
|