mirror of
https://github.com/hnasheralneam/hnasheralneam.github.io.git
synced 2024-11-07 08:05:54 -05:00
Actually Fixed Buttons!
This commit is contained in:
parent
82e3687645
commit
ce956ec9e4
2 changed files with 20 additions and 4 deletions
|
@ -28,9 +28,18 @@
|
||||||
<div class="last" id="back" onclick="last()">
|
<div class="last" id="back" onclick="last()">
|
||||||
<span class="arrow">⟵</span>
|
<span class="arrow">⟵</span>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="text">
|
||||||
|
<br>
|
||||||
<!-- Use diffrent animation for head -->
|
<!-- Use diffrent animation for head -->
|
||||||
<h1>Vegetable Dash!</h1>
|
<h1>Vegetable Dash!</h1>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="block" id="coming-soon">
|
||||||
|
<div class="text">
|
||||||
|
<br><br>
|
||||||
|
<h1>COMING SOON!</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
11
main.js
11
main.js
|
@ -5,14 +5,21 @@ if (window.location.href != "https://meetsquirrel.github.io" || "https://meetsqu
|
||||||
}
|
}
|
||||||
|
|
||||||
function next() {
|
function next() {
|
||||||
if (window.location.href == "https://meetsquirrel.github.io/index.html#vegetable-dash") {
|
if (window.location.href == "https://meetsquirrel.github.io/index.html" || "file:///D:/Documents/GitHub/meetsquirrel.github.io/index.html#meet") {
|
||||||
document.location = "#vegetable-dash";
|
document.location = "#vegetable-dash";
|
||||||
}
|
}
|
||||||
|
if (window.location.href == "https://meetsquirrel.github.io/index.html#vegetable-dash") {
|
||||||
|
document.location = "#coming-soon";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function last() {
|
function last() {
|
||||||
if (window.location.href == "https://meetsquirrel.github.io/index.html#vegetable-dash" || "file:///D:/Documents/GitHub/meetsquirrel.github.io/index.html#vegetable-dash") {
|
if (window.location.href == "https://meetsquirrel.github.io/index.html#vegetable-dash") {
|
||||||
document.location = "#meet";
|
document.location = "#meet";
|
||||||
backButton.style.opacity = "0";
|
backButton.style.opacity = "0";
|
||||||
}
|
}
|
||||||
|
if (window.location.href == "https://meetsquirrel.github.io/index.html#coming-soon") {
|
||||||
|
document.location = "#vegetable-dash";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
coming-soon
|
||||||
|
|
Loading…
Reference in a new issue