Aymanshafei (Talk | contribs) |
Aymanshafei (Talk | contribs) |
||
Line 1: | Line 1: | ||
+ | <script> | ||
+ | $(document).ready(function() { | ||
+ | document.getElementById('navbar-toggle').onclick = function () { | ||
+ | var active = document.querySelector(".navbar-collapse"); | ||
+ | active.classList.toggle("in"); | ||
+ | }}); | ||
+ | </script> | ||
<html> | <html> | ||
<footer style='bottom: 0px; | <footer style='bottom: 0px; |
Revision as of 00:53, 27 October 2017
<script> $(document).ready(function() { document.getElementById('navbar-toggle').onclick = function () {
var active = document.querySelector(".navbar-collapse"); active.classList.toggle("in");
}}); </script>