Skip to content

Commit

Permalink
e
Browse files Browse the repository at this point in the history
  • Loading branch information
techsideofficial committed Nov 21, 2023
1 parent e7b2b75 commit d77853c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 17 deletions.
2 changes: 1 addition & 1 deletion percentages/main/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html>
<head>
<iframe src="/percentages/webpage/index.html"></iframe>
<embed src="/percentages/webpage/index.html"></embed>
</head>
</html>
32 changes: 17 additions & 15 deletions percentages/webpage/index.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
<!DOCTYPE html>
<html>
<header id="header">
<script>
getText()
function SetImage(MeanNum) {
var img = document.createElement("img");
img.src = "https://us-central1-joysteem.cloudfunctions.net/progress/" + MeanNum
var src = document.getElementById("header");
src.appendChild(img);
}

async function getText() {
let myObject = await fetch('https://us-central1-joysteem.cloudfunctions.net/recworks-progress-mean');
let myText = await myObject.text();
SetImage(myText);
}
</script>
</header>
<head>
<script>
getText()
function SetImage(MeanNum) {
var img = document.createElement("img");
img.src = "https://us-central1-joysteem.cloudfunctions.net/progress/" + MeanNum
var src = document.getElementById("header");
src.appendChild(img);
}

async function getText() {
let myObject = await fetch('https://us-central1-joysteem.cloudfunctions.net/recworks-progress-mean');
let myText = await myObject.text();
SetImage(myText);
}
</script>
</head>
</html>
2 changes: 1 addition & 1 deletion site-new/joysteem-new/docs/Rec Room/RECWORKS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

**Progress**

![Progress](https://joysteem.web.app/percentages/main/)
![Progress](https://joysteem.web.app/percentages/main/index.html)

## Level Status

Expand Down

0 comments on commit d77853c

Please sign in to comment.