mirror of
https://github.com/Stone-Red-Code/Stone-Red-Code.github.io.git
synced 2026-09-05 23:41:55 +02:00
Made it better
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
$.get("footer.html", function (data) {
|
||||||
|
$("#footer-placeholder").replaceWith(data);
|
||||||
|
});
|
||||||
|
|
||||||
|
$.get("nav.html", function (data) {
|
||||||
|
$("#nav-placeholder").replaceWith(data);
|
||||||
|
});
|
||||||
@@ -16,6 +16,4 @@ var answerArray = new Array(
|
|||||||
"“A temporary defeat is nothing if it leads to ultimate victory!” – Stephanie Dola (No Game No Life)"
|
"“A temporary defeat is nothing if it leads to ultimate victory!” – Stephanie Dola (No Game No Life)"
|
||||||
);
|
);
|
||||||
|
|
||||||
window.onload = function getAnswer() {
|
|
||||||
document.getElementById('quotes').innerHTML = answerArray[Math.floor(Math.random() * answerArray.length)];
|
document.getElementById('quotes').innerHTML = answerArray[Math.floor(Math.random() * answerArray.length)];
|
||||||
}
|
|
||||||
+2
-14
@@ -21,13 +21,6 @@
|
|||||||
<div id="nav-placeholder">
|
<div id="nav-placeholder">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="//code.jquery.com/jquery.min.js"></script>
|
|
||||||
<script>
|
|
||||||
$.get("nav.html", function (data) {
|
|
||||||
$("#nav-placeholder").replaceWith(data);
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<!--end Navigation bar-->
|
<!--end Navigation bar-->
|
||||||
|
|
||||||
<!--Main-->
|
<!--Main-->
|
||||||
@@ -60,13 +53,6 @@
|
|||||||
<div id="footer-placeholder">
|
<div id="footer-placeholder">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="//code.jquery.com/jquery.min.js"></script>
|
|
||||||
<script>
|
|
||||||
$.get("footer.html", function (data) {
|
|
||||||
$("#footer-placeholder").replaceWith(data);
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<!--end Footer-->
|
<!--end Footer-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -77,6 +63,8 @@
|
|||||||
integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx"
|
integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx"
|
||||||
crossorigin="anonymous"></script>
|
crossorigin="anonymous"></script>
|
||||||
<script src="Scripts/quotes.js"></script>
|
<script src="Scripts/quotes.js"></script>
|
||||||
|
<script src="//code.jquery.com/jquery.min.js"></script>
|
||||||
|
<script src="Scripts/loadNavBarAndFooter.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
+3
-16
@@ -21,13 +21,6 @@
|
|||||||
<div id="nav-placeholder">
|
<div id="nav-placeholder">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="//code.jquery.com/jquery.min.js"></script>
|
|
||||||
<script>
|
|
||||||
$.get("nav.html", function (data) {
|
|
||||||
$("#nav-placeholder").replaceWith(data);
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<!--end of Navigation bar-->
|
<!--end of Navigation bar-->
|
||||||
|
|
||||||
<!--Main-->
|
<!--Main-->
|
||||||
@@ -76,8 +69,7 @@
|
|||||||
<h2>SimpleWinformsAudioVisualizer</h2>
|
<h2>SimpleWinformsAudioVisualizer</h2>
|
||||||
<p>This is a small and simple side project i made. It displays an audio spectrum based on the system sounds.</p>
|
<p>This is a small and simple side project i made. It displays an audio spectrum based on the system sounds.</p>
|
||||||
<ul style="list-style-type: none; padding: 0; margin: 0;">
|
<ul style="list-style-type: none; padding: 0; margin: 0;">
|
||||||
<li><a href="https://github.com/Stone-Red-Code/SimpleWinformsAudioVisualizer">GitHub</a>
|
<li><a href="https://github.com/Stone-Red-Code/SimpleWinformsAudioVisualizer">GitHub</a></li>
|
||||||
</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -103,13 +95,6 @@
|
|||||||
<div id="footer-placeholder">
|
<div id="footer-placeholder">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="//code.jquery.com/jquery.min.js"></script>
|
|
||||||
<script>
|
|
||||||
$.get("footer.html", function (data) {
|
|
||||||
$("#footer-placeholder").replaceWith(data);
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<!--end Footer-->
|
<!--end Footer-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -120,6 +105,8 @@
|
|||||||
integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx"
|
integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx"
|
||||||
crossorigin="anonymous"></script>
|
crossorigin="anonymous"></script>
|
||||||
<script src="Scripts/quotes.js"></script>
|
<script src="Scripts/quotes.js"></script>
|
||||||
|
<script src="//code.jquery.com/jquery.min.js"></script>
|
||||||
|
<script src="Scripts/loadNavBarAndFooter.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user