From 9923023913a79ef926afe0c72628671d511e809e Mon Sep 17 00:00:00 2001 From: MapleAtMorning <79129529+MapleAtMorning@users.noreply.github.com> Date: Tue, 22 Aug 2023 20:34:21 -0500 Subject: [PATCH 01/29] Basic multipage work --- commands.html | 54 +--------- faq.html | 2 +- img/icons/checkmark.svg | 2 + index.html | 88 ++++++---------- js/htmlManager.js | 37 +++++++ js/mainNavFade.js | 30 ++++++ js/navfade.js | 3 +- styles/main.css | 4 - styles/multiPage.css | 219 ++++++++++++++++++++++++++-------------- 9 files changed, 250 insertions(+), 189 deletions(-) create mode 100644 img/icons/checkmark.svg create mode 100644 js/htmlManager.js create mode 100644 js/mainNavFade.js diff --git a/commands.html b/commands.html index 8830a5c..0ca6fd5 100644 --- a/commands.html +++ b/commands.html @@ -38,48 +38,17 @@ - - - - + - @@ -184,7 +185,9 @@

bot_zombie - (0/1) <value>

bot_thinker - <thinker_name>

-

Sets the default thinker. Thinkers are bot profiles that describe how a bot behaves.
(A list of all thinkers will eventually be made)

+

Sets the default thinker. Thinkers are bot profiles that describe how a bot behaves. +
(A list of all thinkers will eventually be made) +

@@ -195,7 +198,8 @@

Player / Movement

pl_autobhop - (0/1) <value>

-

Sets whether players can bunny hop without having to manually press space every time.

+

Sets whether players can bunny hop without having to manually press space every time. +

pl_accelerate - <value>

@@ -258,11 +262,13 @@

Server Management

sv_cheats - (0/1) <value>

-

Allows ANYONE in the server to use console commands.
Use at your own risk.

+

Allows ANYONE in the server to use console commands.
Use at your own + risk.

sv_add_owner - <player_name>

-

Makes the identified player a server owner. This gives them access to console commands.

+

Makes the identified player a server owner. This gives them access to console + commands.

sv_remove_owner - <player_name>

@@ -307,7 +313,8 @@

crosshair_alpha - <value>

Sets the transparency of the threads on your crosshair.

-

crosshair_color - (0-255) <red> (0-255) <green> (0-255) <blue>

+

crosshair_color - (0-255) <red> (0-255) <green> (0-255) + <blue>

Sets the color of your crosshair.

@@ -408,7 +415,8 @@

explode*

impulse101

-

Completely fills the reserve and current magazine of the gun the player is currently holding, and gives you full health.

+

Completely fills the reserve and current magazine of the gun the player is currently + holding, and gives you full health.

clear

@@ -427,7 +435,7 @@

clear

- +
diff --git a/js/homepage.js b/js/homepage.js index 0959875..0db35ce 100644 --- a/js/homepage.js +++ b/js/homepage.js @@ -23,6 +23,9 @@ for (let i = 0; i < document.querySelectorAll('.anim').length; i++) { // Carousel // =============================================================================================================================== +const timeBetweenRotate = 7000 +const timeDuringFade = 2000 + let img1 = document.getElementById("carousel-img1") let img2 = document.getElementById("carousel-img2") let img3 = document.getElementById("carousel-img3") @@ -42,15 +45,15 @@ function nextimg(){ emptyimg.style.zIndex = 0 currentimg.style.zIndex = 1 toimg.style.zIndex = 2 - toimg.animate([{opacity: 0},{opacity: 1}], 2000) + toimg.animate([{opacity: 0},{opacity: 1}], timeDuringFade) } function delayedLoop(delay) { setTimeout(function() { nextimg() - delayedLoop(7000); + delayedLoop(timeBetweenRotate); currentnum++ }, delay) } -delayedLoop(7000); \ No newline at end of file +delayedLoop(timeBetweenRotate); \ No newline at end of file From 3aa5e0b1d9652dedbc715545b35e6308ee25935d Mon Sep 17 00:00:00 2001 From: unknown <79129529+MapleAtMorning@users.noreply.github.com> Date: Tue, 29 Aug 2023 14:24:06 -0500 Subject: [PATCH 11/29] Commands nav progress --- commands.html | 114 +++++++++++++++++++------------------------- index.html | 10 ++-- js/htmlManager.js | 6 +-- styles/commands.css | 70 +++++++++++++-------------- 4 files changed, 92 insertions(+), 108 deletions(-) diff --git a/commands.html b/commands.html index 99cef16..0efb30c 100644 --- a/commands.html +++ b/commands.html @@ -51,7 +51,7 @@ @@ -440,9 +426,7 @@

clear

- - - + \ No newline at end of file diff --git a/index.html b/index.html index 8dd5faf..17c5565 100644 --- a/index.html +++ b/index.html @@ -61,9 +61,9 @@