Commit graph

6 commits

Author SHA1 Message Date
scottjehl
60d256c4b2 fixed toolbars are fixed toolbars are fixed 2010-10-04 20:09:10 -04:00
scottjehl
ecbe18d809 make sure stickyfooter is defined before checking length 2010-10-04 19:14:19 -04:00
scottjehl
ced22f6962 Sticky footers
Tag a footer div with data-id="foo" and it'll stay visible when transitioning to another page that has a footer of the same data-id.

Fixed #72
All proposed changes above are either implemented, or covered through alternate means.
2010-10-04 19:00:30 -04:00
scottjehl
ed96011a28 major refactor - now uses relative positioning.
Interactions still aren't perfect, but the code is cleaner!
2010-10-01 23:36:25 -04:00
Kin Blas
0a2a82102e Fixed Issue 58 Fixed Headers/Footers Scroll with the document occassionally.
The bug seems to be caused by the fact that code inside show() is triggering a scrollstart event while still in the midst of handling the scrollstop event. This threw off the setting of showAfterScroll causing the currentstate to be stuck at "inline", so no hide/show code is ever triggered after that.

- Modified the scrollstart and sccrollstop callbacks to set showAfterScroll prior to calling show()/hide().
- movied the hide() call in scrollstart handler underneath the check for 'overlay'.
2010-09-24 11:09:45 -07:00
scottjehl
6fa401276a renamed files with jQuery.mobile. prefixes 2010-09-18 09:59:33 -04:00
Renamed from js/jQuery.fixHeaderFooter.js (Browse further)