-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.js
15 lines (15 loc) · 889 Bytes
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function loadWebInteractivePlayer(location) {
switch (location) {
case "ohe":
document.getElementById("OpenHouseExplorer").innerHTML = '<iframe src="WebGLApplications/OpenHouseExplorer/embed.html" width="482px" height="400" scrolling="no" style="border: none;">the script couldn`t be loaded</iframe>';
break;
case "Main Game":
document.getElementById("maingame").innerHTML = '<iframe src="webapps/phosphorus/main-game.html" width="482px" height="400" scrolling="no" style="border: none;">the script couldn`t be loaded</iframe>';
break;
case "island":
document.getElementById("island").innerHTML = '<iframe src="webapps/phosphorus/island.html" width="482px" height="400" scrolling="no" style="border: none;">the script couldn`t be loaded</iframe>';
break;
default:
alert("something went wrong. you should inform the developer unless they already know.");
}
}