fixed header height

This commit is contained in:
Bachir Soussi Chiadmi
2018-01-02 12:11:58 +01:00
parent b5f3769416
commit c914e7e348
6 changed files with 47 additions and 8 deletions

View File

@ -428,12 +428,11 @@
// if(!_max_480() && !_touch ){
height += $('#utilities').h();//+15;
// }
//$('#main').css('margin-top', height+15);
// $('#container').css('padding-top', height+15);
if(!$('html').is(".ie8")){
$('#container').animate({'padding-top':height}, 300);
$('#container').animate({'padding-top':height}, 150);
}
// }
};
@ -518,6 +517,16 @@
$(this).parents('.block').removeClass('hovered');
$('.hovered').not($(this).parents('.block')).removeClass('hovered');
});
// @see http://www.jaypan.com/tutorial/calling-function-after-ajax-event-drupal-7
Drupal.ajax.prototype.commands.ajaxAfterAddedFilterLine = function(ajax, response, status){
// console.log('ajax after added filter line');
initLayout();
};
Drupal.ajax.prototype.commands.ajaxAfterRemovedFilterLine = function(ajax, response, status){
// console.log('ajax after removed filter line');
initLayout();
};
};
function onLoadingContent(event){