From 39004622293d656b1c54db99ae9cdbd9032cbbbc Mon Sep 17 00:00:00 2001 From: peter Date: Sat, 2 Apr 2016 00:53:51 +0200 Subject: [PATCH] FEATURE #1525: responsive menu --- .../views/visitor/cwbs_template/about.html | 34 +++++++++++----- .../views/visitor/cwbs_template/contact.html | 34 +++++++++++----- .../views/visitor/cwbs_template/galerie.html | 34 +++++++++++----- .../views/visitor/cwbs_template/homepage.html | 39 +++++++++++++++---- .../visitor/cwbs_template/sortiment.html | 34 +++++++++++----- .../views/visitor/cwbs_template/style.css | 26 ++++++++++++- 6 files changed, 151 insertions(+), 50 deletions(-) diff --git a/resources/views/visitor/cwbs_template/about.html b/resources/views/visitor/cwbs_template/about.html index a78a9fa5..615c5923 100644 --- a/resources/views/visitor/cwbs_template/about.html +++ b/resources/views/visitor/cwbs_template/about.html @@ -16,20 +16,19 @@
-
+ +
-
- @@ -136,6 +135,21 @@ $(function() { $(document).foundation(); }); + + function showResponsiveMenu() { + var menuHolder = document.getElementById('responsive-menu'); + + menuHolder.style.display="block"; + menuHolder.style.height = document.documentElement.clientHeight + 'px'; + menuHolder.style.height = window.innerHeight + 'px'; + menuHolder.style.height = '100%;'; + + } + function hideResponsiveMenu() { + var menuHolder = document.getElementById('responsive-menu'); + + menuHolder.style.display="none"; + } diff --git a/resources/views/visitor/cwbs_template/contact.html b/resources/views/visitor/cwbs_template/contact.html index b30fb84a..a0a2ead4 100644 --- a/resources/views/visitor/cwbs_template/contact.html +++ b/resources/views/visitor/cwbs_template/contact.html @@ -16,17 +16,16 @@
-
+ +
-
-
-