John Bender
d1ab6bb027
fixed broken select menu test
2011-01-27 22:44:23 -08:00
toddparker
5b7201ef48
Added documentation and demos for the new data-native="true" option that speeds up performance of selects by using the browser's native menu (thanks John Bender!)
2011-01-27 13:40:20 -05:00
John Bender
b1d356bfd7
Merge branch 'nativeselectmenu'
2011-01-27 09:50:40 -08:00
Jesse Streb
d3077b491c
[455] Am now setting the min-height of a page so that the address bar can always be hidden on a silent scroll. This helps our transitions feel smoother as the page does not jump down if the page is not taller then 100% of the window. On orientation change we also update this value.
2011-01-27 12:28:04 -05:00
Jesse Streb
378fb51225
[ #455 ] For the transitions we now have overflow: hidden in order to limit the flickering. We always scroll to the top before we start our transitions in order to make it scroll. The CSS changed to have overflow: hidden during transitions and have a height that is larger enough to keep the address bar hidden.
2011-01-27 12:28:04 -05:00
scottjehl
e2c66fad49
Merge remote branch 'origin/master'
2011-01-26 22:15:10 -08:00
John Bender
d94e25acd6
merge from origin selectmenu fixes
2011-01-26 21:35:00 -08:00
John Bender
b81248f238
fixed android select menu failure with a delay. I'm doubtful that this is the best solution to the problem but the cause was the click being passed through to the screen or the select menu itself a split second after opening. Open to alternatives. Fixes #873
2011-01-26 21:20:40 -08:00
scottjehl
3ade4e3448
removed outlines on active, focus states in favor of theme hover states
2011-01-26 22:46:06 -05:00
scottjehl
df05143371
edited some nav model info - needs filling out, but outdated info is removed now at least
2011-01-26 22:44:32 -05:00
scottjehl
9a492d06fd
allow form data to be passed to $.mobile.changePage as a query string or object.
2011-01-26 22:04:36 -05:00
scottjehl
61bee4e276
fixed issue with select menus not opening again after you close them.
2011-01-26 21:02:08 -05:00
scottjehl
7ba7315e27
added markup example to datepicker documentation
2011-01-26 20:53:13 -05:00
scottjehl
b50d6a74c2
improved datepicker usage instructions and linked it up from the forms index under "experimental"
2011-01-26 20:48:25 -05:00
scottjehl
4e0d54a629
refactored Maggie's datepicker edits so that they overwrite & extend the UI's datepicker plugin and automatically convert type=date inputs to datepickers when the scripts are included. These changes make the datepicker plugin good enough to offer as an optional extension to jQuery Mobile (but not include it in the build by default, as it needs to be rewritten first - far too heavy to include unless you need it!).
2011-01-26 20:28:52 -05:00
scottjehl
c91ca3a129
removed an old demo
2011-01-26 20:23:10 -05:00
scottjehl
32a0d2fa4c
unit test - initial page should have no back button
2011-01-26 18:57:34 -05:00
scottjehl
d1976fa265
removed click handler on back button - used data-rel='back' instead.
2011-01-26 18:57:14 -05:00
scottjehl
423e6fb276
added complete test coverage for $.mobile.urlHistory methods and properties
2011-01-26 18:51:22 -05:00
scottjehl
6a1cbc0953
added unit tests for path.isRelative. Test coverage for $.mobile.path is now complete!
2011-01-26 18:07:21 -05:00
scottjehl
3484c401c2
added unit test for path.hasProtocol
2011-01-26 18:02:15 -05:00
scottjehl
20c86f655e
combined path.isExternal tests
2011-01-26 17:58:16 -05:00
scottjehl
fa2b1903de
only add a back button when there's a history entry to return to.
2011-01-26 17:56:20 -05:00
Kin Blas
63a82967fa
Temporary workaround for Issue 785 - jQM text input forces use of iOS auto-correction.
...
- Added code to enhanceControls() that sets the autocorrect and autocomplete attributes on all inputs of type="text" to "off". This basically disables the use of autocorrection on iOS.
- Modified the code in enhanceControls() to cache the form controls query to reduce the number of times we search for controls in the current page.
2011-01-26 14:31:47 -08:00
scottjehl
700ca984bb
finished up some navigation changes. Also added and documented a data-rel="back" attribute, which can be applied to links to enhance them to mimica the browser's back button (good for closing dialogs). In these changes, dialogs now create a history hash entry, and the back button works better for closing dialogs. Also, nested list deep-linking is restored after a recent regression. Tests in Navigation and Listview are passing. Fixes #885 . Fixes #866 .
2011-01-26 14:38:17 -05:00
scottjehl
2c6cc45ad0
incomplete, but close to fixing the dialog-create-history entry piece. Also includes fix for nested-listview deep linking regression.
2011-01-26 14:27:10 -05:00
scottjehl
c3ed538542
unit test for path.isExternal
2011-01-26 08:41:35 -05:00
scottjehl
1156045e0c
unit test for path.stripHash
2011-01-26 08:39:35 -05:00
scottjehl
ca036b1b5e
added unit test for path.clean
2011-01-26 08:35:01 -05:00
scottjehl
c3a8630605
unit test for path.makeAbsolute
2011-01-26 08:25:20 -05:00
John Bender
244e46b8ed
data-native attribute check for native select menus Fixes #847
2011-01-25 23:12:20 -08:00
John Bender
aa234961cc
whitespace correction on rebase fix
2011-01-25 22:50:55 -08:00
scottjehl
0cdf9df11c
added option for useNativeMenu. Should be updated so, when set, the custom menu markup is never created.
2011-01-25 22:43:53 -08:00
scottjehl
70d4187f5f
added unit test for path.set
2011-01-26 00:11:16 -05:00
scottjehl
078e307a4d
fixed a typo in unit test
2011-01-26 00:09:47 -05:00
scottjehl
fe994b7c0c
added unit test for path.getFilePath
2011-01-26 00:02:34 -05:00
scottjehl
85a6d878eb
removed unit test - seemed incorrect
2011-01-25 23:57:18 -05:00
scottjehl
d9b84f3f60
added a note to docs. Fixes #880
2011-01-25 23:46:09 -05:00
scottjehl
9ed13f86c8
hashchange event handler should still load the first url, even if Ajax is disabled. Fixes #879
2011-01-25 22:39:29 -05:00
scottjehl
b7001d8148
markup cleanup. Fixes #878
2011-01-25 22:24:05 -05:00
John Resig
4445ae3702
Remove support for stopping desk-based platforms, fixes #876 . In the future if you wish to stop desks on platforms I recommend a cheap solution to that problem:
...
http://www.amazon.com/Magic-Sliders-80934-Rubber-Door/dp/B000UVMQ38
If you wish to have support brought back it can only be done so through successfully beating me at iOS Carcassonne. My username is 'jeresig@gmail.com'. Warning: I don't lose.
2011-01-25 16:05:19 -05:00
John Bender
bc473f48a7
comments for added clarity on bindings
2011-01-24 23:55:52 -08:00
John Bender
0cdd401f3a
removed commented code from refactor
2011-01-24 23:54:22 -08:00
John Bender
23807769ac
refactor off slider to move value retrieval to closure for _create method
2011-01-24 23:53:17 -08:00
John Bender
442e4b19b0
updated slider refresh function with an extra param for preventing validation on its input Fixes #468
2011-01-24 23:38:50 -08:00
scottjehl
3df24fab6d
fixed a regression in safari where images wouldn't load properly because base was being set after html was appended.
2011-01-25 00:29:19 -05:00
scottjehl
5d5336d8b0
fixed firefox regression. check if base is set/supported before setting.
2011-01-24 23:56:53 -05:00
scottjehl
0ba9acfc33
added support for URL updating via a preset data-url on the page div when it is sent from the server.
...
If data-url is set on a page div when it returns from the server, it's value will be used to replace the url in the hash, and as the base url for future requests if it adds additional segments (such as a trailing slash). This will enable developers to work around the limitation of directory links requiring a trailing slash, and will also allow developers to specify a new url after a redirect occurs (such as after a login). Fixes #867
2011-01-24 19:35:45 -05:00
scottjehl
a762a67514
Merge remote branch 'origin/master'
2011-01-24 17:56:36 -05:00
scottjehl
a5b8e42fc1
updated jQuery to 1.5rc1. This update includes Nokia support in jQuery core, which is getting closer in JQM itself.
2011-01-24 17:56:32 -05:00