Skip to content
Snippets Groups Projects
Commit cc63445e authored by vand's avatar vand
Browse files

Fixed sidebar not opening

parent 5475c5e2
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@ body,h1,h2,h3,h4,h5,h6 {font-family: "Raleway", sans-serif}
</style>
<link rel="shortcut icon" href="favicon.ico">
<script src="includeHTML.js"></script>
<script src="sidebar_functions.js"></script>
<body class="w3-light-grey w3-content" style="max-width:1600px">
......
......@@ -11,6 +11,7 @@ body,h1,h2,h3,h4,h5,h6 {font-family: "Raleway", sans-serif}
</style>
<link rel="shortcut icon" href="favicon.ico">
<script src="includeHTML.js"></script>
<script src="sidebar_functions.js"></script>
<body class="w3-light-grey w3-content" style="max-width:1600px">
......
......@@ -11,6 +11,7 @@ body,h1,h2,h3,h4,h5,h6 {font-family: "Raleway", sans-serif}
</style>
<link rel="shortcut icon" href="favicon.ico">
<script src="includeHTML.js"></script>
<script src="sidebar_functions.js"></script>
<body class="w3-light-grey w3-content" style="max-width:1600px">
......
......@@ -11,6 +11,7 @@ body,h1,h2,h3,h4,h5,h6 {font-family: "Raleway", sans-serif}
</style>
<link rel="shortcut icon" href="favicon.ico">
<script src="includeHTML.js"></script>
<script src="sidebar_functions.js"></script>
<body class="w3-light-grey w3-content" style="max-width:1600px">
......
......@@ -11,11 +11,13 @@ body,h1,h2,h3,h4,h5,h6 {font-family: "Raleway", sans-serif}
</style>
<link rel="shortcut icon" href="favicon.ico">
<script src="includeHTML.js"></script>
<script src="sidebar_functions.js"></script>
<body class="w3-light-grey w3-content" style="max-width:1600px">
<!-- Sidebar/menu and -->
<!-- Overlay effect when opening sidebar on small screens -->
<!-- Sidebar/menu -->
<div w3-include-html="sidebar.html"></div>
<!-- !PAGE CONTENT! -->
......
......@@ -11,6 +11,7 @@ body,h1,h2,h3,h4,h5,h6 {font-family: "Raleway", sans-serif}
</style>
<link rel="shortcut icon" href="favicon.ico">
<script src="includeHTML.js"></script>
<script src="sidebar_functions.js"></script>
<body class="w3-light-grey w3-content" style="max-width:1600px">
......
......@@ -21,17 +21,3 @@
<!-- Overlay effect when opening sidebar on small screens -->
<div class="w3-overlay w3-hide-large w3-animate-opacity" onclick="w3_close()" style="cursor:pointer" title="close side menu" id="myOverlay"></div>
<script>
// Script to open and close sidebar
function w3_open() {
document.getElementById("mySidebar").style.display = "block";
document.getElementById("myOverlay").style.display = "block";
}
function w3_close() {
document.getElementById("mySidebar").style.display = "none";
document.getElementById("myOverlay").style.display = "none";
}
</script>
// Script to open and close sidebar
function w3_open() {
document.getElementById("mySidebar").style.display = "block";
document.getElementById("myOverlay").style.display = "block";
};
function w3_close() {
document.getElementById("mySidebar").style.display = "none";
document.getElementById("myOverlay").style.display = "none";
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment