mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-19 22:00:59 +00:00
made fixed headers an opt-in, until we can work the bugs out
This commit is contained in:
parent
84d1f584d8
commit
0bee3fc585
1 changed files with 2 additions and 2 deletions
|
|
@ -9,8 +9,8 @@ $.fn.fixHeaderFooter = function(options){
|
|||
if( !$.support.scrollTop ){ return $(this); }
|
||||
return $(this).each(function(){
|
||||
if( $(this).data('fullscreen') ){ $(this).addClass('ui-page-fullscreen'); }
|
||||
$(this).find('.ui-header:not([data-position="inline"])').addClass('ui-header-fixed ui-fixed-inline fade'); //should be slidedown
|
||||
$(this).find('.ui-footer:not([data-position="inline"])').addClass('ui-footer-fixed ui-fixed-inline fade'); //should be slideup
|
||||
$(this).find('.ui-header[data-position="fixed"]').addClass('ui-header-fixed ui-fixed-inline fade'); //should be slidedown
|
||||
$(this).find('.ui-footer[data-position="fixed"]').addClass('ui-footer-fixed ui-fixed-inline fade'); //should be slideup
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue