Commit graph

2627 commits

Author SHA1 Message Date
Tobias Bosch
ec06fc1efd unit tests for #1851 added. 2011-06-27 16:40:31 +02:00
Tobias Bosch
ff2ef4076b fix issue 1851 as suggested 2011-06-23 13:31:05 +02:00
scottjehl
a9fae15c88 woops. missed a couple. done now. 2011-06-20 19:17:49 -04:00
John Resig
e9e64c2c77 Merge branch 'master' of github.com:jquery/jquery-mobile 2011-06-20 16:07:02 -07:00
John Resig
1ab4ddb507 Releasing jQuery Mobile 1.0b1. 2011-06-20 16:05:02 -07:00
scottjehl
7d8d249280 small docs adjustment 2011-06-20 19:04:58 -04:00
scottjehl
1ab123c76b components first 2011-06-20 19:03:57 -04:00
scottjehl
52575bb5cb updated versions in sample code 2011-06-20 19:01:50 -04:00
scottjehl
4c6f3fb5c8 couple more docs markup updates 2011-06-20 18:59:32 -04:00
scottjehl
13a22e3eec updated the footers in the new docs templates 2011-06-20 18:53:55 -04:00
scottjehl
f3e35d49dd more updates to the docs markup. getting close! 2011-06-20 18:53:55 -04:00
scottjehl
579f418c2e updated the rest of the navs to be local to their section. 2011-06-20 18:53:54 -04:00
scottjehl
ebf9bd8535 added navigation components to most docs pages 2011-06-20 18:53:54 -04:00
scottjehl
6980110d32 updated header themes 2011-06-20 18:53:54 -04:00
scottjehl
85c1121680 update js references 2011-06-20 18:53:54 -04:00
scottjehl
74b001f62e linked up js docs references properly 2011-06-20 18:53:54 -04:00
scottjehl
735ee926d3 more docs updates. moved to the green header, set default transition dynamically 2011-06-20 18:53:53 -04:00
scottjehl
a1785b0574 more docs updates 2011-06-20 18:53:53 -04:00
scottjehl
46622fde58 more updates to docs 2011-06-20 18:53:53 -04:00
scottjehl
4cbbd7779a docs design updates 2011-06-20 18:53:53 -04:00
scottjehl
c7a852938c layout tweaks on the docs. 2011-06-20 18:53:53 -04:00
scottjehl
1e5441fd76 reworked the docs to better accommodate wide screens using a simple responsive layout. Tweaks forthcoming! 2011-06-20 18:53:53 -04:00
Kin Blas
5890a801be Fixed a couple of errors caught by jshint. 2011-06-20 15:09:54 -07:00
John Bender
4dac49359f fix for back button page index check by reseting history stack 2011-06-20 13:09:29 -07:00
John Bender
7b00335dcc small whitespace fix in navigation core tests 2011-06-20 13:09:29 -07:00
toddparker
4000afe720 A few tweaks to the supported patform page to add details. 2011-06-20 14:55:39 -04:00
scottjehl
fe79ad63a4 fixed a bug in IE desktop, where calling scrollTop before domready was trying to access the body element before it was present. Moved this logic to domready and all's well. 2011-06-20 13:57:38 -04:00
scottjehl
9fffcb6eca bind to click as well, for an edge case in android 2.1 2011-06-20 13:44:33 -04:00
scottjehl
fa559af5b7 Merge remote branch 'origin/master' 2011-06-20 13:31:31 -04:00
scottjehl
9c9a9ad147 set page min-height using availHeight or availWidth, rather than height (to fine tune height to exclude browser chrome). Also, reset the active page height on throttledresize and pageshow, eliminating some duplicate calls. 2011-06-20 13:31:26 -04:00
toddparker
7a5c8b7e62 Re-vamped supported platform page to match the latest Beta 1 blog post. Added desktop browsers to the list. 2011-06-20 13:04:18 -04:00
scottjehl
46c0946633 Disable background on hidden buttons so that they don't appear in Opera Mini. Fixes #1862 2011-06-20 12:10:14 -04:00
scottjehl
45a71ac499 Added global config option "useFastClick", so that the changes we made for automated ajax handling since A4 can be disabled if needed, for whatever reason. When handling clicks and taps automatically with Ajax, this option will use jQuery Mobile's <code>vclick</code> event, enabling page changes to happen slightly sooner on devices that support touch events, and keeping the address bar hidden during page transtions. When disabled, the automatied Ajax handling will use an ordinary <code>click</code> event instead. This option has no effect on non-touch devices, but when enabled, it may interfere with jQuery plugins that bind to click events rather than vclick events. Fixes #1857 2011-06-20 11:35:09 -04:00
scottjehl
823485ce11 Blur other buttons when a new one is clicked and gaining focus. This gets rid of the trail of focus states issue we've been seeing. Fixes #1840. 2011-06-19 14:34:36 -04:00
scottjehl
84f4d9dc3c switched the order so that scroll check happens earlier. 2011-06-19 14:20:19 -04:00
scottjehl
a09c53eb71 improved the address bar hiding logic to support Android as well by determining up-front which hiding number should be used. Fixes #1673. Fixes #1322. Fixes #1786. 2011-06-19 13:53:27 -04:00
scottjehl
ca0c1165fd should be bound to throttled resize as well, actually. 2011-06-19 08:00:10 -04:00
scottjehl
8c6164dbf0 Added new throttledresize special event, including unit tests. This event prevents browsers from running continuous callbacks on resize, which we use internally for orientationchange in browsers like IE. It still ensures that a held event will execute after the timeout, so logic that depends on the final conditions after a resize is complete will still execute properly. This improves performance noticeably, and... Fixes #1496. Fixes #1848. Fixes #1422.
The included tests pass most of the time, but they need improvements as they will occasionally fail due to faulty timing in the tests themselves, as far as I can tell (the code tests out fine in our functional demos).
2011-06-18 11:41:47 -04:00
scottjehl
c4491d279f fixed unit tests to use new orientationchange logic, which no longer binds to resize event. 2011-06-18 10:45:36 -04:00
scottjehl
ee424f5f97 only bind to orientationchange, as resize is built into it already as a fallback 2011-06-18 10:43:11 -04:00
scottjehl
90fb871ee8 referenced the full object to avoid a minifier issue when trying to reference a local variable. Will follow up on this... 2011-06-18 09:19:45 -04:00
scottjehl
9ab7817b5b native forms example page was missing a meta viewport. 2011-06-18 08:16:49 -04:00
Kin Blas
18d7b7902c Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-06-17 18:22:46 -07:00
Kin Blas
9f4ae3ba79 Documenting isSameDomain(), isRelativeUrl(), isAbsoluteUrl(), makePathAbsolute(), and makeUrlAbsolute(). 2011-06-17 18:22:00 -07:00
scottjehl
06020201fc fixed up the themeswitcher 2011-06-17 19:25:35 -04:00
scottjehl
ffa35c0548 improved minheight page logic 2011-06-17 19:19:47 -04:00
scottjehl
fcbfc2f380 added minScrollBack feature to core options. This is the minimum scroll distance that will be jumped-to when returning to a page. By default, the distance is screen.height /2. If you really needed to disable scroll memory altogether, this could be set to Infinity. Note that disabling scroll memory altogether is almost never a good idea for usability, but the option is there. 2011-06-17 19:19:47 -04:00
scottjehl
3bd713c185 added resetActivePage on pagecreate, orientationchange, and after transitions. 2011-06-17 19:19:47 -04:00
scottjehl
690dc66f7c set heights including respective scrolls 2011-06-17 19:19:46 -04:00
scottjehl
aa950ba125 Only call scrollTo if there's a scroll distance we need to go to. If the distance we're jumping to is 20px or less, let it go in for tolerance. Reset toPage height before scrolling, focusing. 2011-06-17 19:19:46 -04:00