Commit graph

21 commits

Author SHA1 Message Date
Kin Blas
a77ca291e6 Fixed 59 - Fixed footer is anchored to the end of the page content instead of the view port.
- If content is less than the view port height, the footer is always anchored at the bottom of the view port.
- If the content is greater in height than the view port, then in inline mode itrests in flow, and in "fixed" mode it snaps to the bottom of the view port.
2010-11-11 16:08:45 -08:00
Kin Blas
dfa1a689a4 Fixed 432 - Fullscreen positioning don't work iPhone/Android/Desktop
- $.mobile.activePage isn't being set till *AFTER* the "pageshow" notification, so pass in the page from our pageshow callback into the show() method.

- Also added missing getOffsetTop() call that I missed in my previous checkin.
2010-11-11 13:39:54 -08:00
scottjehl
b7b553da84 missed a few files in that last commit. 2010-11-11 15:08:48 -05:00
Kin Blas
1261fbc828 Bring iPad iOS 3.2.1 up to par with other platforms in terms of footer positioning. 2010-11-11 09:27:11 -08:00
scottjehl
a24196e550 dolla dolla bills y'all.
Fixes #126, Fixes #346
2010-11-11 10:50:28 -05:00
scottjehl
356308e6b7 updates to comments 2010-11-09 19:55:52 -05:00
Kin Blas
bb5708e543 Some tweaks to make page scrolling faster.
- Prevent the fixed header/footer code from traversing the entire document for each touchstart, touchend and scrollstart event.

- Make sure $.activePage is initialized with the startPage.
2010-11-04 00:27:21 -07:00
scottjehl
b211de4bb3 updated triggered events to pagebeforeshow / pagebeforehide 2010-10-20 16:01:38 -04:00
scottjehl
a0b814e26a moved appends over to use $.pageContainer 2010-10-20 12:09:03 -04:00
scottjehl
0bee3fc585 made fixed headers an opt-in, until we can work the bugs out 2010-10-15 14:58:08 -04:00
scottjehl
3150f40064 Returns if $.support.scrollTop is false. Fixes #66 2010-10-13 17:30:51 -04:00
scottjehl
9843e9f7a1 reverting the polling interval 2010-10-12 11:59:23 -04:00
scottjehl
7339965765 polling setTop on an interval to test for improvements. 2010-10-12 11:43:52 -04:00
scottjehl
c99b047333 only apply show/hide to first header, last footer on page 2010-10-12 11:43:51 -04:00
scottjehl
b83885d281 brought back active scope - didn't help to remove it 2010-10-12 11:43:51 -04:00
scottjehl
6c3c308de1 removing scope on headerfooters to see if it helps positioning 2010-10-11 19:48:43 -04:00
scottjehl
f5ebfbcbd2 Fixed check for relative vs. absolute positioning of fixed toolbars. Now fullscreen toolbars will work as expected. Fixes #132 2010-10-10 20:43:00 -04:00
scottjehl
9aba756295 constrained toolbar show/hide to ui-page-active. Fixes #96 2010-10-10 16:43:19 -04:00
scottjehl
daa76e00fa enabled an opt-out for headers or footers that shouldn't follow on scroll. Just add [data-position="inline"] 2010-10-08 22:52:36 -04:00
scottjehl
d50e73d7fc made sure relative positioning never lets a header go higher than it's place in the document flow, or a footer lower than its place. Helps with dialogs. 2010-10-07 18:16:02 -04:00
Scott González
5c3d35574f Renamed files. 2010-10-07 11:30:48 -04:00
Renamed from js/jQuery.mobile.fixHeaderFooter.js- (Browse further)