0
我正在切换标题的可见性,当我隐藏它时,我需要它是透明的并显示滚动内容。如何使标题透明并在隐藏时显示它
我尝试了几种方法,但标头不透明。请注意它被正确隐藏,但它留下了白色背景。所以我想让它透明:
$('.ui-header').hide().animate({opacity: 0.0});// Hide the header but its opacity doesn't get to 0
$(".ui-header").css("backgroundColor", "transparent");// No effect
如何使标题透明,以便显示下面的内容?
如果你手动隐藏它,你需要调用'$ .mobile.resetActivePageHeight()'。页面顶部填充40px的标题。 – Omar 2014-10-12 15:04:28
[set content height 100%jquery mobile]可能重复(http://stackoverflow.com/questions/21552308/set-content-height-100-jquery-mobile) – Malloc 2014-10-13 08:07:17
你确定答案就是你要找的对于? – Omar 2014-10-13 08:09:30