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