Commit graph

1157 commits

Author SHA1 Message Date
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
Kin Blas
9dce1c3c02 Fix for "header/footer scrolls with document" problem in Issue 58. 2010-11-10 16:02:55 -08:00
scottjehl
ad2c894a74 Target attrs trigger now open a new window. Fixes #427 2010-11-10 18:12:18 -05:00
Todd Parker
a0940dd1f0 fixed a few form id's for better syntax 2010-11-10 14:57:48 -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
scottjehl
15cfabef45 updated kill cache settings 2010-11-09 18:06:44 -05:00
scottjehl
8f9aee12a6 removed js/all redirect. updated files to use js/ 2010-11-09 17:57:26 -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
d22b711eb9 override background-size on the loading icon for retina 2010-11-09 16:46:06 -05:00
scottjehl
58aa705391 updated comment 2010-11-09 16:08:15 -05:00
scottjehl
b753de18b5 capitalize 2010-11-09 15:38:07 -05:00
scottjehl
04529e7498 fixed demo 2010-11-09 15:36:23 -05:00
Todd Parker
644ef0b778 Re-org of the linking example page to emphasize the ajax vs. non-ajax behavior. 2010-11-09 14:11:49 -05:00
scottjehl
b02fc9f5e2 fixed filter listviews. wrong method name 2010-11-09 13:42:32 -05:00
Todd Parker
a19f77b5b2 Cut down the performance page to 500 to be a more reasonable test. Wasn't loading reliably over 3G at 1,000. 2010-11-09 13:32:26 -05:00
Todd Parker
9165a054ab Added link formatting example page, moved from lists to pages folder. 2010-11-09 10:52:35 -05:00
D. Elmo Peele
97cc95dd0d Allow 'none' as a transition value. 2010-11-09 23:17:16 +08:00
Todd Parker
6e62cb9e74 Made each transition link a data-rel="dialog" so it's not tracked in history. Once you played with transitions you were in a deep history stack before. 2010-11-09 10:03:51 -05:00
Todd Parker
2b36b46cc1 Text edits and content re-org in the button icon page to incorporate Oli's edits from here: 5ed44fbbe5
...and a few more improvments.
2010-11-09 10:00:34 -05: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
10e9f42d8a manually set content type for 2 themes. Fixes #380, Fixes #399 2010-11-08 21:49:53 -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
scottjehl
39c4b7b53b prepend to head immediately, instead of in a chunk later on 2010-11-08 19:26:30 -05:00
scottjehl
4b058096cf scoped to window 2010-11-08 19:23:27 -05:00
scottjehl
4b862bb114 triggered mobileinit event 2010-11-08 19:19:45 -05:00
scottjehl
0bb86f685f removed extend 2010-11-08 19:17:28 -05:00
scottjehl
5fcc049d5b hide page during rendering - prevent fouc. 2010-11-08 15:04:12 -05:00
scottjehl
32af18d59b added class ui-mobile-rendering to HTML el during initial build - will be used to prevent fouc 2010-11-07 15:20:35 -05:00
scottjehl
a405eda53f moved up top 2010-11-07 15:18:28 -05:00
scottjehl
facef32f3a changed to event.preventDefault 2010-11-07 15:17:59 -05:00
scottjehl
0972d65e04 prefixed var with $ 2010-11-07 15:03:40 -05:00
scottjehl
02e6e5f26b added $.mobile options: ajaxLinksEnabled, ajaxFormsEnabled. Both default to true. 2010-11-07 14:31:04 -05:00
scottjehl
1f7be112c8 make base options extendable via jQuery.mobile obj. 2010-11-06 16:04:59 -04:00
scottjehl
a1bef030dc filled out some comment documentation 2010-11-06 15:29:00 -04:00
scottjehl
294daf4008 cleaned up <head> markup insertion logic and added to new options to $.mobile hash:
- metaViewportContent: "width=device-width, minimum-scale=1, maximum-scale=1",
- headExtras: undefined

If metaViewportContent is undefined, no viewport meta tag will be added to the dom.

headExtras is undefined by default, but allows for additional markup to be injected into the head element, such as meta tags used for enabling iOS local app features

Also, the <base> tag is defined as $base (undefined if support test is false), so setting its value no longer uses an ID selector to find it.
2010-11-06 15:14:10 -04:00
scottjehl
9519030fab removed extra meta charset 2010-11-06 15:05:16 -04:00