js & css header
This commit is contained in:
@@ -21,18 +21,11 @@
|
||||
jQuery(document).ready(function($){
|
||||
|
||||
|
||||
|
||||
|
||||
// $('.close-block').click(function(){
|
||||
// $(this).parent().fadeOut();
|
||||
// if(mobile == true){
|
||||
// $("body").css("overflow","auto");
|
||||
// }
|
||||
// });
|
||||
$('.open-block').click(function(){
|
||||
$(this).prev().css("display","grid");
|
||||
$(this).toggleClass('opened');
|
||||
|
||||
|
||||
$('.header_nav_container').toggleClass('display-nav-opened');
|
||||
|
||||
if(mobile == true){
|
||||
$("body").css("overflow","hidden");
|
||||
}
|
||||
@@ -43,6 +36,7 @@
|
||||
$('.header_nav_container li').click(function() {
|
||||
$('.header_nav_container').fadeOut();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user