Commit graph

4319 commits

Author SHA1 Message Date
scottjehl
f779416c8d moved touchOverflowEnabled setting to global config, class is applied through page plugin. False by default. No longer dependent on fixed headers and footers. 2011-12-26 16:30:00 +07:00
scottjehl
a00c05109b removed old class qualification for overflow scrolling margin overrides on listviews 2011-12-26 16:04:47 +07:00
scottjehl
ef37e9fde8 z-index of buttons within fixed headers -moved to specific class 2011-12-26 16:03:30 +07:00
scottjehl
d16da24e0e removed qualification of img { max-width: 100%; } to only fullscreen settings - now global within framework. 2011-12-26 16:01:57 +07:00
scottjehl
5de358b8a5 make sure all page classes are removed at destroy 2011-12-20 17:45:38 +07:00
scottjehl
aae2d1b22c ensure tapping the toolbar itself (or something in it) will not trigger a toggle of the toolbars. 2011-12-20 17:44:20 +07:00
scottjehl
b70832981d fixed up the failing unit test by ensuring the toolbars were shown before testing for transition classes. 2011-12-20 17:38:06 +07:00
scottjehl
68e7bc562d changed any tests that used :visible or :hidden, because the toolbars are now hidden with absolute positioning, and are aways visible. Instead, checked for presence of hide class. 2011-12-20 17:38:06 +07:00
scottjehl
05d01e70fe Created 33 unit tests for the base features and methods of the fixedtoolbar plugin. 5 tests are currently failing due to a change in logic in the show/hide methods. Those tests just need adjusting, as the feature itself is currently working. 2011-12-20 17:38:05 +07:00
scottjehl
d442a0bc0f removed commented-out code for polyfilling fixed support - it wouldn't have worked as we'd want it to anyway. 2011-12-20 17:38:05 +07:00
scottjehl
6bc63b7f09 fixed the page class name for fullscreen to include "header" or "footer". Also improved the show and hide methods so that they don't apply a transition when showing or hiding a toolbar that is fixed (not fullscreen) when the user is scrolled to the top or bottom of the viewport already. 2011-12-20 17:38:05 +07:00
scottjehl
ba484f2e83 The ui-fixed-hidden class now switches the toolbar's positioning to "absolute" when hidden. This allows a hidden fixed toolbar to still be visible if you scroll to top. Fullscreen toolbars are hidden with a negative left value as well, so that they're entirely off screen. 2011-12-20 17:38:05 +07:00
scottjehl
16f73e737f removed the hideOnScrollStop option and feature - too complicated for a default option. Might be worth supporting as an extension though. 2011-12-20 17:38:05 +07:00
scottjehl
deadbe67b2 changed scrollToggle to hideOnScrollStop, which does just that. It only works if tapToggle is true, so that once hidden, the bar can be toggled visible again with a tap. 2011-12-20 17:38:05 +07:00
scottjehl
6aa3e384fe fixed the restorePageZoom method so that it does what it says on the tin. 2011-12-20 17:38:05 +07:00
scottjehl
32a2e34e07 patched up support for transition: "none" rather than false, for consistency with other uses of the option in jQM. 2011-12-20 17:38:05 +07:00
scottjehl
103f409c47 added new script and associated styles for handling "fixed" toolbars using native support for CSS position: fixed, where possible. Non-supporting platforms will fall back to inline positioning, either by gracefully degrading on their own or by opting them out through a blacklist (fixed positioning detection's got issues...).
unit tests and api documentation coming next, but for the most part, the API is the same as before.
2011-12-20 17:38:05 +07:00
scottjehl
69324e31f0 removed disablezoom function from init 2011-12-20 17:38:05 +07:00
scottjehl
b7bd8b0451 removed fixHeaderFooter files 2011-12-20 17:38:04 +07:00
John Bender
f5c5c9a19a support 1.6.4 to 1.7.0 by defaulting to just props where the mouseHooks haven't been added 2011-12-19 13:14:42 -08:00
Todd Parker
286f8c35ff Removed reference to data-role="dialog". Fixes #3294 2011-12-18 20:49:22 -05:00
Todd Parker
cb7918c3fd Merge pull request #3297 from jakeboone02/patch-4
Add missing dd opening tag
2011-12-18 17:20:20 -08:00
Jake Boone
619d944201 Add missing dd opening tag 2011-12-17 15:43:19 -05:00
Todd Parker
34c53b5fe7 Merge pull request #3272 from agcolom/patch-48
Update docs/forms/selects/options.html. Fixes #3256
2011-12-16 11:53:49 -08:00
Todd Parker
de0573e175 Merge pull request #3271 from agcolom/patch-47
Update docs/forms/selects/index.html. Fixes issue #3256
2011-12-16 11:52:48 -08:00
Todd Parker
8d3744b00c Merge pull request #3283 from agcolom/patch-49
Update docs/api/data-attributes.html
2011-12-16 11:48:47 -08:00
John Bender
75b50f2c88 add mouse event props to virtual mouse events Fixes #3280 2011-12-15 15:40:07 -08:00
Anne-Gaelle Colom
5df1479b2c Update docs/api/data-attributes.html 2011-12-15 23:24:27 +00:00
John Bender
c7e1bf0c14 update jquery to 1.7.1 Fixes #2965, #3267 2011-12-15 10:35:53 -08:00
Ghislain Seguin
4b416c65cc Revert "Up'd to 1.0.1pre"
This reverts commit 224c68e423.
2011-12-15 09:50:51 -08:00
Mat Marquis
d05ba205e3 Fixes #3238 — Seems markup structure was changed at some stage, making the ‘aria-hidden=true’ attribute a little over-reaching. Removed. 2011-12-15 12:41:18 -05:00
Ghislain Seguin
224c68e423 Up'd to 1.0.1pre 2011-12-15 12:41:18 -05:00
Anne-Gaelle Colom
41da0d7f47 Update docs/forms/selects/options.html 2011-12-15 09:07:58 +00:00
Anne-Gaelle Colom
4a11404ebe Update docs/forms/selects/index.html 2011-12-15 08:54:16 +00:00
John Bender
15f1c6de66 wait to focus page header until after mobile rendering class is stripped Fixes #2965 2011-12-14 14:48:38 -08:00
Todd Parker
a9e6de3b4c Merge pull request #3261 from jakeboone02/native-select-docs
Corrected native select menu documentation
2011-12-14 14:23:01 -08:00
Todd Parker
eae79651da Merge pull request #3269 from agcolom/master
minor correction + one addition
2011-12-14 10:30:31 -08:00
Anne-Gaelle Colom
1c301a8b3e Update docs/api/data-attributes.html 2011-12-14 18:19:37 +00:00
Anne-Gaelle Colom
be77ab47be Update docs/api/globalconfig.html 2011-12-14 17:53:17 +00:00
Jake Boone
6b32ddf394 Corrected native select menu documentation 2011-12-13 14:36:01 -05:00
Todd Parker
504582e02f Merge pull request #3251 from JFK99/master
Fix non reacting generated back buttons with touchOverflowEnabled. Fixes #3241. Thanks JFK99
2011-12-12 14:35:17 -08:00
Nicolas Bartoli
30255d1fa2 Fixed non reacting generated back buttons with touchOverflowEnabled 2011-12-12 11:00:22 -08:00
jblas@adobe.com
16f1e47e7f Initial checkin of config-props.html, a utility for quickly assessing the support property settings, for a given device/browser, as calculated by jQuery Core and jQuery Mobile. 2011-12-12 10:15:20 -08:00
John Bender
c716ab707a take closestParentPage off of $.fn 2011-12-09 14:39:57 -08:00
John Bender
851f6d4c67 Merge pull request #3171 from eddiemonge/issue_3169.2
Not using YUI for js so removing this line
2011-12-09 14:00:59 -08:00
John Bender
5071221291 respect page loading times and comment on assumption in degradeInputs test 2011-12-09 12:52:53 -08:00
John Bender
def90bf230 whitespace in degradeInputs tests 2011-12-09 12:51:38 -08:00
John Bender
c49eac6e67 added commentary on selector perf and whitespace 2011-12-09 12:36:19 -08:00
John Bender
a80e4c3b4c test that closestPageData works as expected 2011-12-09 12:31:49 -08:00
John Bender
978762dc67 centralized method for finding closest page data 2011-12-09 12:17:20 -08:00