diff --git a/friseurteam/files/page/headergallery3.png b/friseurteam/files/page/headergallery3.png new file mode 100644 index 0000000..86321fe Binary files /dev/null and b/friseurteam/files/page/headergallery3.png differ diff --git a/friseurteam/page/default_page/css/default_page.css b/friseurteam/page/default_page/css/default_page.css index 4d33830..a241c73 100644 --- a/friseurteam/page/default_page/css/default_page.css +++ b/friseurteam/page/default_page/css/default_page.css @@ -54,6 +54,10 @@ h1, h2{ background-color: darkgrey !important; } +.active, .active a{ + background-color: darkgrey!important; +} + .footer a{ color: #333; font-weight: normal; @@ -73,7 +77,7 @@ h1, h2{ border: 0 !important; } #fb-iframe{ - border:none; overflow:hidden; height:20px; margin: 0; padding: 0; margin-top: 15px; margin-left: 9px; width: 140px; + border:none; overflow:hidden; height:20px; margin: 0; padding: 0; margin-top: 15px; margin-left: 9px; width: 130px; } #content-row{ background-color: beige; color: #333; @@ -89,4 +93,42 @@ h1, h2{ } #footer-right { text-align: right; +} + +.flex-direction-nav a { + display: block; + width: 40px; + height: 40px; + margin: -20px 0 0; + position: absolute; + top: 50%; + z-index: 10; + overflow: hidden; + opacity: 0; + cursor: pointer; + color: rgba(0, 0, 0, 0.8); + text-shadow: none; + -webkit-transition: all 0.3s ease-in-out; + -moz-transition: all 0.3s ease-in-out; + -ms-transition: all 0.3s ease-in-out; + -o-transition: all 0.3s ease-in-out; + transition: all 0.3s ease-in-out; + color: #fff; + background-color: #000; + border-radius: 50%; + text-align: center; +} +.flex-direction-nav a:before { + font-family: "flexslider-icon"; + font-size: 20px; + display: inline-block; + content: '\f001'; + color: #FFF; + text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3); + line-height: 40px; + font-style: normal; +} +.flex-direction-nav .flex-next { + right: -50px; + text-align: center; } \ No newline at end of file diff --git a/friseurteam/page/default_page/js/default_page.js b/friseurteam/page/default_page/js/default_page.js index e0992c8..a3cf6f1 100644 --- a/friseurteam/page/default_page/js/default_page.js +++ b/friseurteam/page/default_page/js/default_page.js @@ -1,5 +1,5 @@ $(document).ready(function() { - new SYSTEM('./api.php',1,'start'); + new SYSTEM('./api.php',1,'start',sys_hashchange); $('.navbar-collapse a').click(function(){ $(".navbar-collapse").collapse('hide'); @@ -12,4 +12,17 @@ $(document).ready(function() { slideshow: true, animationLoop: true }); -}); \ No newline at end of file +}); + +function sys_hashchange(state){ + var state_ = state ? state.split(';')[0].split('(')[0] : state; + var state_ = state_ ? state_.split('#')[0] : state; + $('.nav li').each(function(){ + $(this).removeClass('active');}); + $('.nav-brand').each(function(){ + $(this).removeClass('active');}); + if($('#menu_'+state_).parent().length){ + $('#menu_'+state_).parent().addClass('active'); + } else { + $('#menu_start').addClass('active');} +} \ No newline at end of file diff --git a/friseurteam/page/default_page/tpl/friseurteam.tpl b/friseurteam/page/default_page/tpl/friseurteam.tpl index 4d81732..3ce406b 100644 --- a/friseurteam/page/default_page/tpl/friseurteam.tpl +++ b/friseurteam/page/default_page/tpl/friseurteam.tpl @@ -19,7 +19,8 @@

Friseurteam Angelika Gabriel - Darmstädter Straße 30 - 64673 Zwingenberg - Bergstraße - Friseursalon

-
${head_gallery}
+ +
@@ -31,14 +32,14 @@ - ${page_menu_home} + ${page_menu_home}