Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Commit

Permalink
Moved javascript into its own file
Browse files Browse the repository at this point in the history
  • Loading branch information
toniwidmo committed May 19, 2018
1 parent cbbad3a commit 2ceb21b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 deletions.
17 changes: 0 additions & 17 deletions theme/fluxstate/fluxstate.html
Expand Up @@ -54,20 +54,3 @@ <h1>Follow us on social media:</h1>
<a href="" class="link_url"><h1 id="sitetitle"></h1></a>
<h2 id="tagline"></h2>
</div>
<script language="javascript">
function displayMenu() {
$(".fluxstate-screen").hide();
$("#mainMenu").show();
$("#mainMenu").click(function(){
displayContent();
});
}
function displayContent() {
$(".fluxstate-screen").hide();
$("#contentArea").show();
}
function displaySocial() {
$(".fluxstate-screen").hide();
$("#socialMenu").show();
}
</script>
15 changes: 15 additions & 0 deletions theme/fluxstate/fluxstate.js
@@ -0,0 +1,15 @@
function displayMenu() {
$(".fluxstate-screen").hide();
$("#mainMenu").show();
$("#mainMenu").click(function(){
displayContent();
});
}
function displayContent() {
$(".fluxstate-screen").hide();
$("#contentArea").show();
}
function displaySocial() {
$(".fluxstate-screen").hide();
$("#socialMenu").show();
}

0 comments on commit 2ceb21b

Please sign in to comment.