Browse Source

Whoops, revive fireflies

- Add .gitignore to ignore old unused files on local drive
- Add js/ folder to contain js
- Remove ".download" suffix from js files
- Fix "fireflies" effect
- Fix Minecraft player counter
jackmawer 9 months ago
parent
commit
fa5ca239db
6 changed files with 26 additions and 5 deletions
  1. 1 0
      .gitignore
  2. 5 5
      index.html
  3. 1 0
      js/firefly.js
  4. 4 0
      js/jquery-1.11.2.min.js
  5. 8 0
      js/main.js
  6. 7 0
      js/mc-player-counter.min.js

+ 1 - 0
.gitignore

@@ -0,0 +1 @@
+old/*

+ 5 - 5
index.html

@@ -155,7 +155,7 @@
                                                                 }
                                                             </style>
 
-                                                            <script src="./index_files/mc-player-counter.min.js.download"></script>
+                                                            <script src="./js/mc-player-counter.min.js"></script>
 
                                                             <style>
                                                                 .banner {
@@ -173,7 +173,7 @@
                                                                     <img src="./img/GenerationsMC.png" alt="GenerationsMC Logo">
                                                                 </div>
                                                                 <div class="playercount">
-                                                                    <p>Join <span data-playercounter-ip="play.generationsmc.com">0</span> other player(s) on <span>play.generationsmc.com</span></p>
+                                                                    <p>Join <span data-playercounter-ip="play.generationsmc.com">every</span> other player(s) on <span>play.generationsmc.com</span></p>
                                                                 </div>
                                                                 <div class="items">
                                                                     <div class="item forums">
@@ -194,9 +194,9 @@
                                                                     </div>
                                                                 </div>
                                                             </div>
-                                                            <script src="./index_files/jquery-1.11.2.min.js.download" type="text/javascript"></script>
-                                                            <script src="./index_files/firefly.js.download" type="text/javascript"></script>
-                                                            <script src="./index_files/main.js.download" type="text/javascript"></script>
+                                                            <script src="./js/jquery-1.11.2.min.js" type="text/javascript"></script>
+                                                            <script src="./js/firefly.js" type="text/javascript"></script>
+                                                            <script src="./js/main.js" type="text/javascript"></script>
 
                                                         </div>
                                                     </div>

File diff suppressed because it is too large
+ 1 - 0
js/firefly.js


File diff suppressed because it is too large
+ 4 - 0
js/jquery-1.11.2.min.js


+ 8 - 0
js/main.js

@@ -0,0 +1,8 @@
+// If you don't want the particles, remove the code below!
+// Do not delete this file unless you know what you're doing.
+
+$.firefly({
+	minPixel: 1,
+	maxPixel: 3,
+	total: 50
+});

File diff suppressed because it is too large
+ 7 - 0
js/mc-player-counter.min.js