Commit graph

34 commits

Author SHA1 Message Date
scottjehl
14ecf6f0da just comments 2010-10-15 20:37:30 -04:00
scottjehl
f35bd06b75 removed a call to hide browser chrome 2010-10-15 15:57:37 -04:00
scottjehl
6b86edb327 removed transition names that won't be in alpha 2010-10-15 15:47:45 -04:00
scottjehl
53b3d6828b added the other transitions from jQtouch. 2010-10-15 13:37:49 -04:00
scottjehl
5679fc7d2b hopefully improved scroll-to-top vs. loader positioning 2010-10-15 11:34:33 -04:00
scottjehl
00bd6ac7da set top of loader to scrollTop+75 2010-10-15 10:46:58 -04:00
John Resig
9f0cd7a104 Make some tweaks to the loading error dialog. 2010-10-14 15:37:35 -04:00
John Resig
92327e899f Make sure that the page loading error message is displayed correctly and the back button still works properly. 2010-10-14 15:31:50 -04:00
John Resig
5680234fce Handle pages that aren't found and display an error message to the user. 2010-10-14 14:41:31 -04:00
scottjehl
3ad6166991 scroll to top before page transition as well. That way the loading screen will show up without having to position it. 2010-10-13 18:30:01 -04:00
scottjehl
c92e9f3eea Merge branch 'master' of github.com:jquery/jquery-mobile 2010-10-12 14:28:00 -04:00
scottjehl
930430ab2e removed the event logger from core. Fixes #159 2010-10-12 14:27:48 -04:00
Scott González
cf4e3969f0 Removed console.log() calls. 2010-10-12 13:57:14 -04:00
scottjehl
ddd18e5ec7 send focus to first page title, not any old page title. Just in case - prevents page jumps 2010-10-12 11:43:51 -04:00
scottjehl
01b9924f0b behavior for auto-focusing title or first focusable element can now be disabled by returning pageshow or pagehide events false. 2010-10-11 14:40:58 -04:00
scottjehl
70a07b9a4b abstracted out the scripting for sending focus to the page title, or first focusable element. reFocus function - now called at page load and pageChange. 2010-10-10 21:50:11 -04:00
scottjehl
bc2363100c scroll to top before page change. Fixes #133 2010-10-10 20:48:57 -04:00
scottjehl
00d8f6b62d Fixes #136 2010-10-10 20:36:53 -04:00
scottjehl
edaa43c479 on page show, focus directs to page title, or first focusable element if no title present. Improves a11y experience. 2010-10-10 18:06:29 -04:00
scottjehl
8f48125a1d added a generic string formatter $.mobile.idStringEscape for strings to be used in both IDs and URLs. The regexp may be overly simplified now, but it'll allow us to create more semantic identifiers from content in generated pages. 2010-10-10 16:17:45 -04:00
Scott González
74a66af37b Converted $.mobilize to $.fn.page (and $.mobile.page via widget factory). 2010-10-09 14:34:21 -04:00
scottjehl
b6c482255e whoa - that commit where I removed all the meta was a tad agressive (base tag was removed by mistake).
Re-added our base tag!
2010-10-09 08:29:01 -04:00
scottjehl
85c063eb94 If a [data-role="page"] div has an ID already when it is loaded, mobilize will wrap the page in a new div, transferring page-related data attrs to the wrapper (role,theme,fullscreen).
This prevents a  ID from being overwritten for use in our page navigation model, which would have prevented css and scripting from applying.

Fixes #93
2010-10-09 00:41:01 -04:00
scottjehl
dc3ff3b67e Input sliders can now be created using type="range". No data- attr necessary, though you can also use data-role="slider" with an input type of number (and on a select element as well).
Range Inputs will degrade to type=text, along with other shoddy input types.

Fixes #106
Fixes #118
2010-10-08 23:49:41 -04:00
scottjehl
702173eaae renamed navlist to navbar.
Fixes #117
2010-10-08 23:26:04 -04:00
scottjehl
29a7daee60 mobilize now:
* applies data-themes appropriately to header,footer,page,and content roles
* finds first link in header or footer, applies left button class
* finds second link in header or footer, applies right button class
* if no left button, a back button is auto added (this can be disabled through $.mobile.addBackBtn)
* back buttons will not auto-add on the first page visited.
* all headings h1-6 are given ui-title class for constent styling in header and footer
* buttons in ui-bar,ui-header,ui-footer now all have consistent sizing and styling

Fixes #109
Fixes #114
Fixes #28
Fixes #116
2010-10-08 23:10:13 -04:00
scottjehl
7850c16e69 brought back the min/max scale so orientation change is clean. Still uncomfortable with choice between smooth orientation changes and ability to zoom... 2010-10-07 19:46:15 -04:00
scottjehl
194a76796a removed auto-append meta tags except for viewport. 2010-10-07 18:35:17 -04:00
scottjehl
ab48e7cce4 fixed transitions - one comma should have been a ;, and updated data usage in the process. 2010-10-07 17:49:51 -04:00
Scott González
e788abe889 Improved input type degradation. 2010-10-07 17:26:33 -04:00
scottjehl
090d3256f1 removed appendto body - costly and we should be covered with z-index anyway 2010-10-07 16:47:37 -04:00
scottjehl
d0ea6f28db removed noCache option. We'll need a better implementation that won't interfere with local dialogs (in dom at load) 2010-10-07 16:45:51 -04:00
scottjehl
de53cfb930 Made all css and JS rely upon media query support. ("only all"). We can go back to the previous system, but so far, this seems to create a better divide than our previous support tests provided. 1-person discussion here: https://github.com/jquery/jquery-mobile/issues/#issue/29 2010-10-07 15:15:59 -04:00
Scott González
5c3d35574f Renamed files. 2010-10-07 11:30:48 -04:00
Renamed from js/jQuery.mobile.js- (Browse further)