This repository has been archived by the owner on Jan 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Steven
committed
May 15, 2016
1 parent
954929f
commit 2128f4e
Showing
10 changed files
with
104 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* -------------------------------------------------------- | ||
Jolt Sidebar JavaScript File | ||
Version: 1.2.2 | ||
Author: Steven Morrison | ||
Website: jolt.zaffri.com | ||
GitHub: github.com/Zaffri | ||
-------------------------------------------------------- */ | ||
|
||
/* --------------------------- [JavaScript link click - collapse menu] --------------------------- */ | ||
if(document.querySelector(".on-nav-collapse")) { | ||
|
||
// Get nav class | ||
var nav = document.querySelector(".on-nav-collapse"); | ||
// Add event listener | ||
nav.addEventListener("click", function(e) { | ||
|
||
// Uncheck mobile check box | ||
document.getElementById("mobile-checkbox").checked = false; | ||
e.stopPropagation(); | ||
|
||
}, false); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Jolt Example</title> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
|
||
|
||
<!-- Jolt CSS includes (uncomment) | ||
<link rel="stylesheet" type="text/css" href="css/global.css" /> | ||
<link rel="stylesheet" type="text/css" href="css/sidebar.css" /> | ||
--> | ||
|
||
</head> | ||
<body> | ||
<!-- Burger Icon --> | ||
<input type="checkbox" id="mobile-checkbox" /> | ||
<label for="mobile-checkbox" id="mobile-icon"> | ||
<div class="burger-bar"></div> | ||
<div class="burger-bar"></div> | ||
<div class="burger-bar"></div> | ||
</label> | ||
<!-- Sidebar --> | ||
<aside id="side-bar" > | ||
<h4>MENU</h4> | ||
|
||
<ul id="main-nav" class="on-nav-collapse"> | ||
<li><a href="#" class="active">home</a></li | ||
><li><a href="#">about</a></li | ||
><li><a href="#">work</a></li | ||
><li><a href="#">folio</a></li | ||
><li><a href="#">contact</a></li> | ||
</ul> | ||
</aside> | ||
<!-- End of Sidebar --> | ||
|
||
<!-- Sidebody --> | ||
<section id="side-body"> | ||
|
||
|
||
</section> | ||
<!-- End of Sidebody --> | ||
<div class="clear"></div> | ||
|
||
<!-- Sidebar script include(uncomment) | ||
<script type="text/javascript" src="js/sidebar.js"></script> | ||
--> | ||
|
||
</body> | ||
</html> |