- better search page
- white header on starting page else green
This commit is contained in:
parent
578021e07e
commit
7622c93473
11 changed files with 171 additions and 186 deletions
|
@ -45,14 +45,17 @@ $(document).ready(function () {
|
|||
$navigationLink = $('.menu a');
|
||||
|
||||
if (location.pathname == "/") {
|
||||
$navigation.addClass('transparent');
|
||||
$(window).scroll(function () {
|
||||
if (window.scrollY > window.outerHeight) {
|
||||
if (window.scrollY >= (window.innerHeight + $navigation.height())) {
|
||||
$menuIcon.addClass('active');
|
||||
$navigation.removeClass('transparent');
|
||||
} else {
|
||||
$menuIcon.removeClass('active');
|
||||
$navigation.addClass('transparent');
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
$menuIcon.click(function (e) {
|
||||
e.preventDefault();
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue