scottjehl
b0d1063ee8
moved device support conditions to $.mobile hash's gradeA property. Not terribly sophisticated yet, but least for now this allows for configuring device support conditions, which has been requested by users.
2010-11-06 13:45:09 -04:00
scottjehl
cec0939a61
changed comment
2010-11-06 13:45:09 -04:00
scottjehl
c0b37ec97d
moved transitions to $.mobile hash, changed to array
2010-11-06 13:45:09 -04:00
scottjehl
72f3ca5765
move active page and button classes to the $.mobile hash
2010-11-06 13:45:09 -04:00
scottjehl
0c7860e7ed
removed startPageId setting - not necessary
2010-11-06 13:45:09 -04:00
scottjehl
cdbccc2802
moved page-plugin-related options to the page plugin (backBtnText, addBackBtn, degradeInputs).
2010-11-06 13:45:09 -04:00
scottjehl
f7ce344578
moved configurable selector for non-history tracked links to the $.mobile hash. Renamed to $.mobile.nonHistorySelectors
2010-11-06 13:45:09 -04:00
scottjehl
925ac2b57a
opened $.mobile to be extendable through $.mobileDefaults
2010-11-06 13:45:09 -04:00
Ben Alman
69e1e32c88
rewrote the orientationchange special event to allow both binding and unbinding of single or multiple event handlers as well as manual triggering. jQuery.event.special.orientationchange.orientation might not need to be public (which could save a few bytes).
2010-11-05 19:25:26 +00:00
scottjehl
0aa7fe6454
fixed listview splitbutton theming
2010-11-05 15:08:21 -04:00
scottjehl
c9bc4880a9
removed trailing comma.
2010-11-05 14:46:25 -04:00
scottjehl
a0815daf48
Fixed a few listview split button regressions. Fixes #387
2010-11-05 00:06:39 -04:00
D. Elmo Peele
95bac6f5a0
Fix tap event to ignore small movements.
2010-11-05 11:14:53 +08:00
scottjehl
aa6f842acc
changed selector from [href] to link[href] for elements that need url-remapping in Firefox. This ensures only stylesheets, but not anchors, are being remapped. Fixes #381
2010-11-04 23:11:35 -04:00
scottjehl
3392be05d3
Added close() method to dialogs: $('.ui-dialog').dialog('close') . Also, links clicked within a dialog will now close the dialog on their way to their destination, just as if the dialog were a normal page. For links that are meant only for closing the dialog, such as a "cancel" link, just link to the page that triggered the dialog to open. This pattern of linking to the previous page happens to be meaningful in non-js browsing as well. If you are generating that link on the fly, just set its href to location.href. Fixes #383
2010-11-04 22:49:28 -04:00
scottjehl
b1f7ff9c2d
made textinputs and textareas inherit theming when possible, or fall back to "c"
2010-11-04 21:59:03 -04:00
scottjehl
ffa682cbfe
Converted textinput plugin to use widget factory. Also added enable and disable methods. Fixes #369
2010-11-04 21:32:28 -04:00
scottjehl
f29b85a149
converted collapsible to the widget factory. API change: data-state="collapsed" is now data-collapsed="true". Updated markup in demos to support change. Fixes #372
2010-11-04 21:32:28 -04:00
Kin Blas
b3ec50b2e3
Removed redundant setting of $.activePage that I added in my previous checkin.
...
Updated lists-performance.html so that it is a list of 1000 items per Todd.
2010-11-04 15:15:49 -07:00
scottjehl
64e0c1dc47
removed a timeout - reset hashListener to false within hashchange event handler
2010-11-04 11:50:17 -04:00
scottjehl
29a60d3c3e
changed arg name to triggered
2010-11-04 11:24:39 -04:00
scottjehl
34283c04ed
changed hashchange args to use array
2010-11-04 11:24:13 -04:00
scottjehl
81fe1d2aea
Used documentElement.clientWidth/Height. Fixes #313
2010-11-04 10:44:35 -04:00
scottjehl
c45b0e3560
make sure "to" arg is an object, and has a url property before setting isFormRequest to true.
...
Fixes #377
2010-11-04 09:56:04 -04:00
scottjehl
3cc1c76d9d
improved check for activePageLink existence
2010-11-04 09:56:04 -04:00
Kin Blas
bb5708e543
Some tweaks to make page scrolling faster.
...
- Prevent the fixed header/footer code from traversing the entire document for each touchstart, touchend and scrollstart event.
- Make sure $.activePage is initialized with the startPage.
2010-11-04 00:27:21 -07:00
scottjehl
a138877864
removed broad rule for rounding corners of thumbnail images in first and last slots of listviews. Now this only happens for inset listviews. Fixes #362
2010-11-03 22:26:09 -04:00
scottjehl
ea12c75940
Make sure that Ajax form submissions (both get and post) always make a new request, even if it's identical to a previous submission. When a duplicate cached result page is present, it'll be removed from the DOM after the page change is complete . Thanks @medovob for the ideas and feature request. Fixes #368 , Fixes #366
2010-11-03 22:01:01 -04:00
scottjehl
fae3a93f26
remove active link class before leaving to an external page. Fixes #375
2010-11-03 18:56:21 -04:00
scottjehl
4036aa97e9
added an forceRemoval argument to make sure active states are removed when a page load error occurs. Fixes #364
2010-11-03 12:20:44 -04:00
scottjehl
f66047f410
added class 'ui-mobile-viewport-transitioning' to page parent container during transitions, and applied css to give perspective and proper dimension to the container and child pages. Also set overflow to hidden.
...
Fixes #347
2010-11-02 16:29:12 -04:00
scottjehl
edc1b81ba4
added ui-mobile-viewport class to parent of page element ( body in most cases). Updated css to style this class instead of body
2010-11-02 16:00:23 -04:00
scottjehl
cf4c1f858c
Merge branch 'checkbox_selector' of http://github.com/mlins/jquery-mobile into mlins-checkbox_selector
2010-11-02 15:09:48 -04:00
Matt Lins
e66997b794
Use existing inputtype var
2010-11-02 13:31:09 -05:00
scottjehl
6700721437
added php to <? opening tags - thx @TechIsCool. Fixes #308
2010-11-02 14:24:17 -04:00
Dave Penfold
ae342659df
Increase y axis threshold on swiping from 20 to 75
2010-11-03 02:12:05 +08:00
scottjehl
52f834cb8f
post requests update the hash with url only - but no params
2010-11-02 01:23:27 -04:00
scottjehl
fa794ca0ee
made sure external form actions are submitted through http
2010-11-02 00:57:27 -04:00
scottjehl
73e006d0e6
fixed a bug in relative url handling of form submissions
2010-11-02 00:48:46 -04:00
scottjehl
5e5f9387bf
implemented simple automated form submission handling for get and post requests. added demo page which includes more information about how it works.
2010-11-01 23:56:42 -04:00
scottjehl
a4ae3b9c4c
removed ajaxform plugin and experiments
2010-11-01 23:53:52 -04:00
scottjehl
9352d75487
removed ajaxform role
2010-11-01 23:53:35 -04:00
scottjehl
88a3c9ae57
updated to trigger a submit if the type is submit
2010-11-01 23:53:06 -04:00
scottjehl
f733dbb518
revised last commit - only header and footer inherit theming. content is left unthemed unless specified.
2010-11-01 22:54:41 -04:00
scottjehl
9ff1a1be6d
allow header, content, and footer to inherit theming from the page element, if unspecified on the elements themselves. Fixes #282
2010-11-01 22:43:51 -04:00
scottjehl
1110f78659
additional normalization to urls for getting base url - now better accommodates starting urls that contain a filename
2010-11-01 21:28:10 -04:00
scottjehl
4f908e2c22
fixed closure arg - jQuery should have been $
2010-11-01 14:34:39 -04:00
scottjehl
e4e8f1ddc4
added closures to event and support
2010-11-01 14:33:54 -04:00
scottjehl
4af621fd9d
removed an old comment
2010-11-01 14:32:42 -04:00
Matt Lins
ea0470f099
Ensure more specific selector works for radio
2010-10-30 15:12:37 -05:00