DavidHerczeg (Talk | contribs) m |
DavidHerczeg (Talk | contribs) |
||
Line 755: | Line 755: | ||
padding: 20px; | padding: 20px; | ||
transition: all 0.8s; | transition: all 0.8s; | ||
+ | } | ||
+ | #ua-menu.on { | ||
+ | background-color: #222222 !important; | ||
+ | padding: 0 !important; | ||
} | } | ||
#ua-menu ul, #ua-menu ol { | #ua-menu ul, #ua-menu ol { | ||
Line 1,116: | Line 1,120: | ||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> | <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> | <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> | ||
− | + | ||
<script> | <script> | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
Line 1,152: | Line 1,156: | ||
(function () { | (function () { | ||
'use strict'; | 'use strict'; | ||
− | + | ||
+ | $(window).bind('scroll', function() { | ||
+ | var navHeight = $(window).height() - 100; | ||
+ | if ($(window).scrollTop() > navHeight) { | ||
+ | $('.navbar-default').addClass('on'); | ||
+ | } else { | ||
+ | $('.navbar-default').removeClass('on'); | ||
+ | } | ||
+ | }); | ||
+ | |||
$(document).ready(function() { | $(document).ready(function() { | ||
$("#team").owlCarousel({ | $("#team").owlCarousel({ |
Revision as of 16:46, 6 June 2017
Our Project
Brief description
Here could be a brief description of our project.