From ac30921eed0ad980da0e189f8c89e64386b6b707 Mon Sep 17 00:00:00 2001 From: devgk Date: Thu, 29 Dec 2016 13:29:20 +0530 Subject: [PATCH] 0.0.5 --- functions/core.js | 13 ++----------- home.html | 26 ++++++++++++++++++++++++-- 2 files changed, 26 insertions(+), 13 deletions(-) diff --git a/functions/core.js b/functions/core.js index 7e8fb52..d1ae1a6 100644 --- a/functions/core.js +++ b/functions/core.js @@ -1,5 +1,4 @@ window.onload = function(){startScript();}; - function startScript(){ document.getElementById('loadingScreen').style.opacity = '0'; setTimeout(hammer,10); @@ -16,14 +15,10 @@ function hammer(){ var bodyBase = document.getElementById('bodyBase'); var mc = new Hammer(bodyBase); mc.on("swiperight", function() { - - setTimeout(toggleMenu, 10, 1); - +setTimeout(toggleMenu, 10, 1); }); mc.on("swipeleft", function() { - - setTimeout(toggleMenu, 10, 0); - +setTimeout(toggleMenu, 10, 0); }); } @@ -59,10 +54,6 @@ document.getElementById('subMenuCont').onclick = function () { toggleSubMenu(1) } } -function expandSubMenu(){ - -} - function accordanceCode(){ var acc = document.getElementsByClassName("accordion"); var i; diff --git a/home.html b/home.html index 24ca0ca..5d0b3ef 100644 --- a/home.html +++ b/home.html @@ -117,8 +117,30 @@
- Open Menu - Close Menu +