Commit graph

553 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
scottjehl
d3a0d33791 fixed up grids and navbar again - this time to automate the column count to number of children, or 'a' when greater than 5. data-grid attribute can be set to any grid letter to trump the automated counting. 2010-11-11 17:33:07 -05:00
scottjehl
78f342b5e0 fixed up the navbar and grid plugin logic. now supports up to 5 cols 2010-11-11 17:17:45 -05:00
scottjehl
5aa980fdb4 fixed a bug with icon positioning 2010-11-11 17:17:45 -05:00
John Resig
c9a34f1da2 Add versioning information to the headers of the CSS and JS files. 2010-11-11 17:02:45 -05: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
6502377d57 just comments 2010-11-11 15:08:57 -05:00
scottjehl
b7b553da84 missed a few files in that last commit. 2010-11-11 15:08:48 -05:00
scottjehl
055bf14e3f moved changePage, pageLoading, and silentScroll methods to $.mobile obj. 2010-11-11 15:03:40 -05:00
scottjehl
30c8a4cd5e removed $.mobile.headExtras - useless 2010-11-11 13:38:05 -05:00
scottjehl
d498e20aca typo on the data-iconpos check 2010-11-11 13:33:19 -05:00
scottjehl
25327445e0 null rather than undefined. woops 2010-11-11 13:33:19 -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
f3c9716b52 extend rather than define 2010-11-11 11:28:02 -05:00
scottjehl
a24196e550 dolla dolla bills y'all.
Fixes #126, Fixes #346
2010-11-11 10:50:28 -05:00
scottjehl
aca0062ac0 workaround that seems to get selects returning to their proper place after making a selection. Needs tuning, but works for now. 2010-11-11 00:16:54 -05:00
scottjehl
dab3cbee34 changed to null for allowing override through data-theme 2010-11-10 23:58:38 -05:00
scottjehl
3a3953cd3f made sure text inputs / areas worked with data-theme 2010-11-10 23:54:01 -05:00
scottjehl
d03f3c6a33 nested lists were getting way small. This made em stop. 2010-11-10 23:50:14 -05:00
scottjehl
e8bd78bd27 fixed theming so data-theme and data-track-theme attrs work 2010-11-10 23:40:09 -05:00
scottjehl
0702e26221 added menuPageTheme and overlayTheme options. overlayTheme defaults to "a" to use the black stroke. 2010-11-10 23:39:48 -05:00
scottjehl
563169def9 made sure data-icon attrs work on radio and checks. Fixes #423, Fixes #424 2010-11-10 23:19:41 -05:00
scottjehl
bf3730550f used null where appropriate in options 2010-11-10 23:08:22 -05:00
scottjehl
049afd4568 improved defaults and added a demo page showing that all button data attrs work on selects too 2010-11-10 23:04:10 -05:00
scottjehl
532c918a26 updated data attribute support 2010-11-10 22:54:57 -05:00
scottjehl
91f287b3c6 improved enable/disable implementation 2010-11-10 22:48:31 -05:00
scottjehl
679094621f changed to button reference 2010-11-10 22:43:30 -05:00
scottjehl
691752afd2 added aria-disabled attrs 2010-11-10 22:42:50 -05:00
scottjehl
129b68741f moved menu building logic into _rebuild method, which is called by refresh if the option length is different than the list length (or if a true argument is passed to refresh(). Also moved mousedown events to "click", which dramatically improves keyboard navigation. 2010-11-10 22:31:05 -05:00
scottjehl
5716b89097 refactored select menu a bit to use new open and close methods 2010-11-10 21:40:20 -05:00
scottjehl
cc8c05091d changed transition to pop and make sure history change is false 2010-11-10 19:13:36 -05:00
scottjehl
b1bded6dde changed hideBrowserChrome function to "silentScroll". Scrolls to a particular location while disabling scroll event listening.
Function accepts a Y positioning argument, or defaults to 0 if undefined.

Now page transitions cache their previous scroll position when leaving, and that position will be remembered when revisting that page.

This change also includes a fix for webOS to use this new feature and set the previous scroll to the location of the clicked selectmenu (so after using the select, it'll scroll back to its location, even though webOS doesn't support scrolltop)

Fixes #355
2010-11-10 19:06:57 -05:00
scottjehl
ad2c894a74 Target attrs trigger now open a new window. Fixes #427 2010-11-10 18:12:18 -05:00
scottjehl
12b1bb4fa2 only degrade input types that conflict with our replacement UI control. For now, just search and range. Fixes #415, Fixes #420 2010-11-10 11:22:56 -05:00
scottjehl
3b5d12a207 shifting things around - mostly whitespace 2010-11-10 08:42:34 -05:00
scottjehl
6108ac90aa fixed issues with slider handle positioning when min isn't 0. Fixes #397 2010-11-10 08:37:04 -05:00
scottjehl
356308e6b7 updates to comments 2010-11-09 19:55:52 -05:00
scottjehl
f80428b1c6 updated slider to use widget factory. Fixes #370 2010-11-09 19:49:04 -05:00
scottjehl
812e4c6978 fixed support for back button closing of dialogs, utilizing new $.mobile.updateHash method. Fixes #412 2010-11-09 19:10:54 -05:00
scottjehl
f03e59b0b3 exposed $.mobile.updateHash to allow plugins to update the hash without triggering hashchange (when closing a dialog from back button for instance) 2010-11-09 19:08:57 -05:00
scottjehl
44d78d4853 changed so that nonHistorySelectors looks for both data-rel and data-role, meaning hash changes won't trigger hashchange handlers when dialogs are open 2010-11-09 18:58:09 -05:00
Kin Blas
6e9f8af1b3 Rule #1, when you change a file name, update its references. Fixing bustage from my previous checkin. Sorry 'bout that. 2010-11-09 14:09:04 -08:00
Kin Blas
d5a2ed2f10 Fixed 413 - Dev issue: our .htaccess file on the server is doing a 301 redirect which is causing css and image loading issues.
- Switch to using a combine.php library and index.php scripts within each directory for combining files. This works around the iOS webkit bug that prevents images from being displayed the next time the page is loaded.
2010-11-09 13:58:28 -08:00
scottjehl
58aa705391 updated comment 2010-11-09 16:08:15 -05:00
scottjehl
b02fc9f5e2 fixed filter listviews. wrong method name 2010-11-09 13:42:32 -05:00
D. Elmo Peele
97cc95dd0d Allow 'none' as a transition value. 2010-11-09 23:17:16 +08:00
scottjehl
734fb4d9b5 fixed theming of dialog body so it'll get C if no theme specified. Fixes #398 2010-11-08 22:20:09 -05:00
scottjehl
ca25127469 added refresh method and theme inheritance to selectmenu widget. Fixes #371 2010-11-08 21:24:44 -05:00
scottjehl
3b8067151e toggle ui-disabled class on disable/enable 2010-11-08 19:37:01 -05:00
scottjehl
f7a29fc201 converted selectmenu widget to the widget factory. 2010-11-08 19:33:45 -05:00