scottjehl
bb56e1ea02
var wasnt being set globally. fixed now
2010-09-17 16:56:03 -04:00
scottjehl
d013b660d6
fixed some class issues
2010-09-17 16:55:30 -04:00
scottjehl
f14be1c1d3
updated to make sure both local and new pages get role updates from links.
2010-09-17 16:32:14 -04:00
scottjehl
1c8b7f959d
Merge branch 'master' of github.com:jquery/jquery-mobile
2010-09-17 16:27:48 -04:00
scottjehl
7c5bc0148d
modified to allow for links to have a data-rel attribute, which specifies the role of the linked page (it sets data-role="FOO" on the linked page's ui-page div.
...
This value is set via ajaxClick and nulled out after use in a hashchange. Also, added a global var to specify ui-page selectors that should be removed from the page when the hash changes. Default is just '.ui-dialog'
2010-09-17 16:27:10 -04:00
scottjehl
d06c22e8d9
added dialog plugin and css, added it to the manifest file, updated some of the content on the _dialog.html demo page
2010-09-17 16:24:12 -04:00
scottjehl
2b62ad506d
made some edits to make sure sure fixpos class is only added if the placeholder is at least partially out of view, and it's only animated in if it's completely out of view
2010-09-17 14:42:58 -04:00
Scott González
706f580531
Fixed bad variable reference.
2010-09-17 14:34:03 -04:00
Scott González
0479ff5239
Refactored $.media and moved to jQuery.mobile.support.js
2010-09-17 14:19:53 -04:00
scottjehl
a056d4636b
clarified comment
2010-09-17 13:54:28 -04:00
scottjehl
0d36d2aa2e
cleaned up ajax page retrieval code
2010-09-17 13:52:28 -04:00
scottjehl
d676524863
edited a comment - local urls work fine
2010-09-17 13:41:11 -04:00
scottjehl
0586c6e444
removed old comments
2010-09-17 13:30:50 -04:00
scottjehl
aa5031f24c
replaced prevUrl with urlStack array, which should improve the back/forward transitions between pages.
2010-09-17 11:29:12 -04:00
Scott González
1c5b60dc3a
Added orientationchange special event.
2010-09-16 17:20:31 -04:00
scottjehl
2da19049ce
changed default for grouping theme
2010-09-16 16:58:52 -04:00
scottjehl
780786c0d2
updated listview with demos for groupings
2010-09-16 16:44:06 -04:00
scottjehl
8e5e6dd8b6
changed option fillWidth to inset. Can be overidden with data-inset="true" as well
2010-09-16 16:13:54 -04:00
scottjehl
a39b366df4
added logic and example for "ui-li-aside" content within listview
2010-09-16 16:10:31 -04:00
Scott González
8f0c9f53b1
Updated listview to conform to coding standards and made some small tweaks.
2010-09-16 14:55:46 -04:00
Scott González
5cc3747bfc
Enable binding to scrollstop without scrollstart, taphold without tap and swipeleft/swiperight without swipe.
2010-09-16 14:01:48 -04:00
scottjehl
633b4ed45b
Updates to allow for fill-width or inset style lists.
...
The fillWidth option defaults to true, and can be overridden through data-fill-width attr.
2010-09-16 12:37:45 -04:00
scottjehl
7d72bb407b
needed some each() scopes
2010-09-16 12:21:08 -04:00
scottjehl
d0b1cb425d
added theming options with data-theme support for headers and footers
2010-09-16 12:17:28 -04:00
scottjehl
28f19ba8b3
updated to allow the count spans to adopt the parent theme unless overridden with a data-count-theme attr
2010-09-15 18:07:56 -04:00
scottjehl
a7bc486403
removing these demos and plugins! :)
2010-09-15 17:04:31 -04:00
scottjehl
2662bb2abf
removed references to tree and tabs in mobilize function. added auto-init for listview widgets
2010-09-15 16:54:47 -04:00
scottjehl
4d62dde078
adding listview widget
2010-09-15 16:51:15 -04:00
scottjehl
927637ffbd
added reference to listview js
2010-09-15 16:50:54 -04:00
scottjehl
6c53e9792c
removed references to tree and tabs js files
2010-09-15 16:50:25 -04:00
scottjehl
d6dde4b211
added support for shadows on controlgroups. Defaults to no shadow.
2010-09-15 16:43:56 -04:00
scottjehl
52d8b00d2e
removed the preventDefault at the end of touchStartEvent. It was disabling pretty much everything.
2010-09-15 16:40:19 -04:00
scottjehl
31804c73cc
added a wrapperEls option to allow the generated wrapper elements to be divs rather than spans. This will be useful in listview, when button-like elements may have block-level hierarchy inside them.
2010-09-15 14:04:44 -04:00
scottjehl
5d2f713a00
Merge branch 'master' of github.com:jquery/jquery-mobile
2010-09-15 10:51:41 -04:00
scottjehl
094d9b109b
added support property for history.pushState
2010-09-15 10:50:09 -04:00
Scott González
0304159f63
Fixed event binding for fixed toolbars.
2010-09-14 22:37:46 -04:00
Scott González
c2beace760
Updated to jQuery nightly.
2010-09-14 17:58:08 -04:00
Scott González
f035d06c50
Removed calls to $.scrollY().
2010-09-14 17:37:22 -04:00
Scott González
88e43a8d9e
Added jQuery.mobile.events.js to the manifest.
2010-09-14 17:35:38 -04:00
Scott González
8acc5258a4
Refactored events and split out into a separate file.
2010-09-14 17:35:04 -04:00
John Resig
3ac820c671
Switched from using BBQ to Hashchange. Fixes #15 .
2010-09-14 15:37:20 -04:00
John Resig
bc280df60e
Renaming expandable.
2010-09-14 14:54:15 -04:00
scottjehl
1e7ed8c5d2
removed dependency on jQuery bbq in this file.
...
Now we only really need the hashchange plugin, unless plugins like tabs and tree end up needing to track their state via hash params. (Currently, jQuery.tabs.js uses bbq for tracking state under the "tab" parameter.)
For now, this fixes #6
2010-09-14 13:16:55 -04:00
scottjehl
04af5885fe
set default for fixedAs option to "footer"
2010-09-14 12:57:03 -04:00
scottjehl
cfe571e94f
commented out hideAfterDelay methods - now header/footers will not hide on a timeout after page load.
2010-09-14 12:55:50 -04:00
scottjehl
ad25e2d6ea
moved classname to parent div
2010-09-14 12:55:09 -04:00
scottjehl
15dec632df
updated comment referencing tabs
2010-09-14 12:27:27 -04:00
scottjehl
8d07b57b8a
added option for fixedAs, which will allow for fixing a globalnav as header or footer
2010-09-14 12:26:48 -04:00
scottjehl
34b3dcaabc
moved $.support if statement back to mobile.js so it'll work for now.
2010-09-14 11:48:06 -04:00
scottjehl
eb2805f9d9
fixed up globalnav.js plugin and demo page. This could potentially replace the tabs plugin...
...
CSS updates for globalnav styling.
small changes to mobile.js to make globalNav demo init once at domready, not per ui-page.
2010-09-14 11:44:16 -04:00