js header
This commit is contained in:
@@ -16,18 +16,19 @@
|
||||
|
||||
|
||||
} (Drupal));
|
||||
|
||||
|
||||
jQuery(document).ready(function($){
|
||||
|
||||
|
||||
|
||||
|
||||
$('.close-block').click(function(){
|
||||
$(this).parent().fadeOut();
|
||||
if(mobile == true){
|
||||
$("body").css("overflow","auto");
|
||||
}
|
||||
});
|
||||
// $('.close-block').click(function(){
|
||||
// $(this).parent().fadeOut();
|
||||
// if(mobile == true){
|
||||
// $("body").css("overflow","auto");
|
||||
// }
|
||||
// });
|
||||
$('.open-block').click(function(){
|
||||
$(this).prev().css("display","grid");
|
||||
if(mobile == true){
|
||||
@@ -35,7 +36,10 @@
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
// Hide the header_nav_container when a link inside it is clicked
|
||||
$('.header_nav_container li').click(function() {
|
||||
$('.header_nav_container').fadeOut();
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user