1
0
This commit is contained in:
2024-04-28 15:25:43 +09:00
parent 3dc65befb9
commit b862d17d46
14 changed files with 84 additions and 11 deletions

View File

@ -1,4 +1,26 @@
<script>
function sun_open() {
var b = document.querySelectorAll(".sun");
var n = document.querySelectorAll(".nasa");
var index = 0, length = b.length;
for ( ; index < length; index++) {
if (b[index].style.display == 'none') {
b[index].style.display = 'block';
n[index].style.display = 'none';
} else {
b[index].style.display = 'none';
n[index].style.display = 'block';
}
}
}
</script>
<link rel="stylesheet" href="/pkg/particles/particles.css" />
<div id="particles-js"></div>
<div class="sun">
<div class="sun-button">
<img id="sun-img-button" src="/icon/sun.png" onclick="sun_open()">
</div>
<div id="particles-js"></div>
</div>
<script src="/pkg/particles/particles.min.js"></script>
<script src="/pkg/particles/config.js"></script>