Will
Posts: 0
Joined: Fri Dec 16, 2011 6:53 pm

header and footer disappear when I scroll down the RSS feed

Any idea how to keep the header/footer fixed during scrolling? They disappear during scrolling on the test of the web version.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

header and footer disappear when I scroll down the RSS feed

Once you stop scrolling, they should appear again. Do you see it happening?

Will
Posts: 0
Joined: Fri Dec 16, 2011 6:53 pm

header and footer disappear when I scroll down the RSS feed

yeah i don't want it to happen while it's scrolling, as they pop on an off every time you start and stop scrolling. thanks for reply

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

header and footer disappear when I scroll down the RSS feed

Add this code on page load:
code
$('div[data-role="header"]').removeAttr("data-position");
$('div[data-role="header"]').removeClass("ui-header-fixed");
$('div[data-role="header"]').removeClass("ui-fixed-overlay");
/code

Will
Posts: 0
Joined: Fri Dec 16, 2011 6:53 pm

header and footer disappear when I scroll down the RSS feed

Thanks for the reply!

Now it's gone unless I'm at the top of the screen and the bottom one still does that (noticed your code refers to the header so probably makes sense).

So don't worry just wondering how you can keep those fixed but maybe that's better for the navbar and not the header/footer.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

header and footer disappear when I scroll down the RSS feed

Did you want only the content between header/footer to scroll?

Will
Posts: 0
Joined: Fri Dec 16, 2011 6:53 pm

header and footer disappear when I scroll down the RSS feed

yeah something like that where you can flick down through the feed without a scroll bar. i guess i don't need a header/footer if there is a navbar (something fixed that doesn't move or flicker).

thanks again for the help Max

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

header and footer disappear when I scroll down the RSS feed

Yes, you can easily remove header/footer in screen properties.

Will
Posts: 0
Joined: Fri Dec 16, 2011 6:53 pm

header and footer disappear when I scroll down the RSS feed

can header/footer be fixed and scroll without scrollbar (like facebook stream) or flickering during scrolling?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

header and footer disappear when I scroll down the RSS feed

Looks like it was just added to jQuery Mobile (part of version 1.1): https://twitter.com/#!/jquerymobile/s...

Return to “Issues”