scottjehl
9b810283a6
triggered pageshow on first page load (prevPage will be an empty jq obj)
2010-10-04 19:17:54 -04:00
scottjehl
ecbe18d809
make sure stickyfooter is defined before checking length
2010-10-04 19:14:19 -04:00
scottjehl
dbd5e6cfb7
removed calls to jQuery.fixedToolbars.show(). to be moved to fixedheaderfooter plugin
2010-10-04 19:05:22 -04:00
scottjehl
ced22f6962
Sticky footers
...
Tag a footer div with data-id="foo" and it'll stay visible when transitioning to another page that has a footer of the same data-id.
Fixed #72
All proposed changes above are either implemented, or covered through alternate means.
2010-10-04 19:00:30 -04:00
scottjehl
9c49ae13fd
moved the portion where the TO page is appended to body to before the "beforepageshow" event is fired.
2010-10-04 18:25:11 -04:00
scottjehl
113f09f6c9
added two events: beforeload and load.
...
These are triggered on a ui-page before and after mobilize is executed on a newly loaded page.
Fixed #75
2010-10-04 18:00:31 -04:00
scottjehl
9be9ab6612
Added 4 events regarding page show and hide:
...
* beforepageshow
* beforepagehide
* pageshow
* pagehide
All are triggered before and after the pageChange function runs.
The event.target will always be a "ui-page" div, triggered on either the showing or hiding page.
The second argument passed to the callback function contains either a prevPage or nextPage property, referencing a jQuery object containing the opposite page.
2010-10-04 17:46:58 -04:00
scottjehl
faef8e6300
Comment no longer relevant. Could be thx @paulirish tho!
2010-10-04 17:01:14 -04:00
Kin Blas
02571b1945
Fix for issue 90 - customSelect displays value in button control instead of the option label.
...
- Added code to extract text for the currently selcted option index.
2010-10-04 13:35:59 -07:00
Kin Blas
349bcb190f
Added textfield types tel, url, and email to the selector list of customTextInput(). The HTML5 spec says these are also represented by textfields.
2010-10-04 13:11:41 -07:00
Kin Blas
83c46b1f79
Fix for issue 83 - customSelect() expects its containing page to be mobilized before it is invoked.
...
- Added code to mobilize that processes page and content roles prior to form element processing. I left the code that processes page and content roles in the main processing loop just in case pages/content are injected dynamically by other roles.
2010-10-04 13:03:54 -07:00
scottjehl
2e4c537783
a little refactor to improve support for icons, text-only, among other things. Demo page has 3 different globalnav variations now.
2010-10-04 12:50:25 -04:00
scottjehl
00e68353fa
shuffled the logic around a bit so specifying an iconPos will leave room for the icon, even if no icon is passed. This is useful when aligning items that don't all have icons
2010-10-04 12:48:32 -04:00
scottjehl
c484629e84
reworked the timing and styles for the pageLoading sequences in attempt to reduce blinky behavior. Small improvements...
2010-10-03 16:43:50 -04:00
scottjehl
1317c57863
whitespace only
2010-10-03 16:01:10 -04:00
scottjehl
9d342f4d9e
removed a superflous statement
2010-10-03 14:51:34 -04:00
scottjehl
14ba228989
nested lists can now use OL, in addition to UL.
2010-10-03 11:24:50 -04:00
scottjehl
13c10d4862
links with any target attr will not use ajaxClick (not just _blank)
2010-10-03 11:20:14 -04:00
scottjehl
762341fc52
moved the resetBaseURL call into the hashchange, instead of in ajaxClick
2010-10-03 09:58:26 -04:00
scottjehl
8a35ec8e37
make sure base url is reset for cached pages, in addition to newly loaded ones.
2010-10-03 09:48:52 -04:00
scottjehl
04cb593fc3
refactored base url logic to work in combination with a <base> element, so assets referenced in loaded pages have proper base paths.
2010-10-03 09:41:45 -04:00
scottjehl
71d1c7272a
made sure trailing slash is only added to baseURL when it's not an empty string.
2010-10-03 08:18:57 -04:00
scottjehl
592236d915
moved a variable to local scope
2010-10-02 15:54:47 -04:00
scottjehl
6297306a5b
Big overhaul of ajaxClick functionality so it'll support a base URL and properly fix relative URLS to be absolute to the page from which requests are made (both by http or xmlhttprequest)
2010-10-02 15:41:57 -04:00
scottjehl
dfb7942ea6
prevent triggering of ajaxclick when bubbling up from clicking an anchor
2010-10-02 15:29:46 -04:00
scottjehl
aeb2643bdc
Ajaxclick function will now detect if it's an external link, and if so, it won't use Ajax.
2010-10-02 12:18:45 -04:00
scottjehl
91c5b90c82
moved jquery.tmpl.js to converter demo folder, as the script is not part of mobile proper
2010-10-02 11:57:43 -04:00
scottjehl
22eecd11dc
refactored. globalnavs can now be generated on any div, and all they do is the "more" nav behavior. Plugin may need renaming...
...
in these demos, the globalnavs are inside a footer div.
2010-10-01 23:37:43 -04:00
scottjehl
ed96011a28
major refactor - now uses relative positioning.
...
Interactions still aren't perfect, but the code is cleaner!
2010-10-01 23:36:25 -04:00
scottjehl
b6239c02f7
removed references to globalnavs, as they'll need to be managed in a different way.
2010-10-01 18:45:46 -04:00
scottjehl
3f2c23b66d
added theming for headers and footers to switch statement
2010-10-01 18:45:21 -04:00
jzaefferer
f148dbdd69
Refactored $.mobilize further to optimize form and controlgroup init. Added some notes
2010-09-30 14:08:59 +02:00
jzaefferer
6eee755ab7
Added TODO comment, as custom select doesn't work on desktop browsers
2010-09-30 14:00:01 +02:00
Douglas Neiner
b2656c28a6
Fixed regression with radio and checkboxes
2010-09-29 13:32:36 -07:00
Douglas Neiner
e83fea8ddc
Fixed variable name on button changes
2010-09-29 13:11:48 -07:00
Douglas Neiner
61f3c3341f
Updated button to optimize readablity
2010-09-29 11:56:41 -07:00
scottjehl
012d79eb58
selector for datepicker hackaround was too broad.
2010-09-29 09:21:31 -07:00
scottjehl
7fe3d9a22f
Merge branch 'master' of github.com:jquery/jquery-mobile
2010-09-28 08:57:31 -07:00
scottjehl
bfae696a58
removed some icon cruft from ui
2010-09-27 16:58:05 -05:00
scottjehl
75413a992b
unused selector
2010-09-27 16:55:03 -05:00
scottjehl
ad9165caa7
killed the shadow
2010-09-27 16:41:20 -05:00
scottjehl
0511300702
added super sketchy workaround for a datepicker demo. We can toss these out once we figure out how we'll properly include a datepicker.
2010-09-27 16:33:37 -05:00
scottjehl
43f3656a92
added datepicker js and css files (datepicker includes ui) for a temporary datepicker demo.
2010-09-27 16:30:56 -05:00
Kin Blas
0717106b94
Fixed issue 62: Multiple data-role="page" elements in a single document results in multiple markup insertion passes.
...
The function used to iterate over all pages was making reference to th e$el variable passed into mobilize(). This meant it was executing the same operation over *ALL* pages several times, once for each page in the document.
- Redefined $el in the funciton passed to the each() method.
2010-09-27 11:39:57 -07:00
Kin Blas
0a2a82102e
Fixed Issue 58 Fixed Headers/Footers Scroll with the document occassionally.
...
The bug seems to be caused by the fact that code inside show() is triggering a scrollstart event while still in the midst of handling the scrollstop event. This threw off the setting of showAfterScroll causing the currentstate to be stuck at "inline", so no hide/show code is ever triggered after that.
- Modified the scrollstart and sccrollstop callbacks to set showAfterScroll prior to calling show()/hide().
- movied the hide() call in scrollstart handler underneath the check for 'overlay'.
2010-09-24 11:09:45 -07:00
scottjehl
92c49bf97e
extended slider to support simple toggle switches based on select menus.
...
The logic will actually support multi-option selects as well, but the labels are flipped in order for switch-style controls, so if we want to support regular sliders from selects, the labels will have to be in forward order and beneath the slider bar.
2010-09-23 12:51:23 -04:00
Scott González
1a3b0131d4
Use touchend instead of touchmove for touch support - saves a byte.
2010-09-23 10:13:20 -04:00
Scott González
c106b7cb07
Use touchmove event for jQuery.support.touch detection. Fixes #57 .
2010-09-23 10:07:28 -04:00
scottjehl
149b071af1
added meta tags for fullscreen, bookmarking, etc. These will need some configurable options like jQtouch has
2010-09-22 13:54:52 -04:00
scottjehl
517e07059a
updated swipe event detection to use 30px minimum distance and 20px tolerance
2010-09-22 13:20:13 -04:00
scottjehl
218855357b
removing file in favor of previous changes.
2010-09-22 11:12:48 -04:00
scottjehl
da29904834
Replaced expandable plugin with basic scrollHeight vs. offsetHeight check that uses CSS transitions. Shaves about 4kb.
2010-09-22 11:09:06 -04:00
Scott González
cdac24a168
Don't treat right/middle clicks as taps.
2010-09-22 10:47:15 -04:00
Scott González
641aa54c11
Listview: Use .data() instead of .attr() for reading config values.
2010-09-22 10:26:04 -04:00
scottjehl
a78d5efbc5
made sure form controls with a role of nojs are not enhanced
2010-09-22 09:49:36 -04:00
Scott González
51bb4c9224
Updated jQuery.
2010-09-22 09:46:26 -04:00
jzaefferer
037729415c
Refactored slider code a bit, just a first pass.
2010-09-21 23:31:25 +02:00
Scott González
9c6f03ca00
Only listen to mousemove/touchmove and mouseup/touchend events after mousedown/touchstart is triggered. Improves performance by not listening to all move events.
2010-09-21 17:29:43 -04:00
jzaefferer
0cb179e9fe
Fixed collpsible typo.
2010-09-21 23:18:00 +02:00
jzaefferer
71a80f413a
Refactored mobilize to iterate over dataEls just once, removing about 10 filter calls.
2010-09-21 22:56:48 +02:00
scottjehl
8b5a1b0a1f
moved the percent fixer logic out of the if/else
2010-09-21 16:45:45 -04:00
scottjehl
a66fd2f296
Merge branch 'master' of github.com:jquery/jquery-mobile
2010-09-21 16:43:24 -04:00
scottjehl
e6707af667
added aria support
2010-09-21 16:43:07 -04:00
jzaefferer
176dfcebab
Adding converter-demo. Not yet actually using cache.manifest, as that screws up testing on mobile devices. At least on Mobile Safari there is no way to clear that offline cache - none that I found so far.
2010-09-21 22:33:06 +02:00
scottjehl
3b7a717e92
more updates to slider css and js. Should have itemized commits, but this thing's still in first-pass status.
2010-09-21 16:07:23 -04:00
scottjehl
9ec0823443
needed to pass the event arg
2010-09-21 15:33:51 -04:00
scottjehl
8e3aa35931
return clicks false on handle
2010-09-21 15:32:35 -04:00
scottjehl
3d8ad26463
added slider auto-init code to mobilize function
2010-09-21 15:25:52 -04:00
scottjehl
4992d7b168
First pass at a simple slider plugin. Can be called on an input element with data-role="slider". Controls communicate both ways during use.
2010-09-21 15:25:23 -04:00
scottjehl
d35881628c
removed swipe event always bound to body.
2010-09-21 15:21:28 -04:00
scottjehl
53771bbb68
rewrote mobilize function to pre-fetch elements and filter based on the results. Avg time running mobilize function on home page went from ~120ms to ~85ms.
2010-09-21 12:24:12 -04:00
scottjehl
9e37d2c1e9
added a few lines to the $mobilize function to convert the roles of header/content/footer to classes.
...
updated ajaxform and globalnav to accommodate change
2010-09-21 10:56:50 -04:00
scottjehl
5ca0d616ad
updated both plugins to use the new nested hash URL scheme for deep-linking.
2010-09-20 18:22:19 -04:00
scottjehl
af585dc8c7
Added support for nested urls through the following additions:
...
1. added the $.mobile object, for storing public options used in core and other plugins that should be made configurable externally, somehow.
2. With this change comes the first property $.mobile: subPageUrlKey, which defaults to "ui-page" and becomes the URL parameter for denoting a generated sub-page of a particular URL. For example, you can now deep-link to sub-levels of a nested listview like this:
jquerymobile.com/test/#_listview.html&ui-page=listview-2
...in which "listview-2" refers to a generated page created by _listview.html when mobilize() runs on it.
Note that this &ui-page parameter is used for splitting the hash to find the right part to use for the ajax request for the real url (_listview.html), while the ID of the actual subpage div really uses the whole thing: "_listview.html&ui-page=listview-2".
The other idea is that after the "&ui-page=" part, plugins should use an ID that reflects their widget name. For example, &ui-page=listview-2 or &ui-page=globalnav.
Before this change, subpages would use the whole hash without mentioning their parent page url, so you'd end up with blank pages if you hit refresh while viewing a generated sub-page.
2010-09-20 18:21:53 -04:00
John Resig
2484c41900
Use jQuery instead of $ to match the core style guideline.
2010-09-20 16:48:45 -04:00
scottjehl
2cafd2dc00
renamed autoform to ajaxform. All dependencies that use it are updated.
2010-09-20 10:47:49 -04:00
scottjehl
0726fe484c
added search icon
2010-09-19 19:03:16 -04:00
scottjehl
51f3fa2e2b
default to no auto-submit events.
2010-09-19 19:02:21 -04:00
scottjehl
845549949c
don't add ui-body class to form
2010-09-19 18:37:51 -04:00
scottjehl
ee001d1338
added logic for applying different classes and behavior to search inputs
2010-09-19 18:34:50 -04:00
scottjehl
c16dee657b
new attribute: data-role="nojs" can be applied to any element that should be accessibly hidden from the page for A browsers.
2010-09-19 18:21:09 -04:00
scottjehl
02a76c3f48
added the auto-init for autoforms to mobilize function
2010-09-19 18:15:02 -04:00
scottjehl
cc58c6e0f5
added jQuery.mobile.forms.autoform.js to the manifest
2010-09-19 18:14:40 -04:00
scottjehl
5c3ab41cf3
adding autoform plugin
2010-09-19 18:12:36 -04:00
scottjehl
14436257f6
made sure ui-page class is only added if there's no closest('.ui-page') present on it during mobilize call
2010-09-19 18:11:39 -04:00
scottjehl
8c7205c3ad
added 4 functions to $ namespace for use in external plugins
2010-09-19 18:09:05 -04:00
scottjehl
0782029b12
made $.mobilize available for externals
2010-09-19 17:57:06 -04:00
scottjehl
a3c1a3a57f
uncommented line to fade in content after loading finishes
2010-09-19 15:21:28 -04:00
scottjehl
458e7b5d2f
edited globalnav expanded button styles
2010-09-19 12:07:49 -04:00
scottjehl
b351290a9c
modified manageglobalnav function to work based on a passed element argument
2010-09-19 11:10:02 -04:00
scottjehl
08f1ec9bf8
rewrite of globalnav plugin. Anything beyond 3 links auto-generates a "more..." button and creates a fully navigable, scrollable page with all the links in a grid view.
2010-09-19 10:51:21 -04:00
scottjehl
456d754a87
changed initial selector to find first page so it doesn't use ui-page class
2010-09-19 10:49:28 -04:00
scottjehl
843f5810ee
moved initial mobilize call after ID is set
2010-09-19 10:47:27 -04:00
scottjehl
12773bc925
changed to use classes for toggling globalnav visibility
2010-09-19 10:35:48 -04:00
scottjehl
c3d95d5fd0
changed to make sure mobilize is called on any pagechange (to accommodate generated globalnav pages. Made sure it can only be run once on a page.
...
also added manageGlobalnav function to show/hide globalnavs depending on whether the active page is an expanded globalnav.
2010-09-19 10:32:46 -04:00
scottjehl
682595628f
updated to use grid plugin for column layouts
2010-09-19 08:24:25 -04:00
scottjehl
b500be9657
added new grid plugin for adding classes to create flexible column layouts.
2010-09-19 08:14:48 -04:00
scottjehl
1c1dc1d94f
append globalnav to end of body after page change
2010-09-18 14:02:49 -04:00
scottjehl
f9f236fb8b
Big update:
...
In starting markup, pages should now be identified with the attribute data-role="page". This allows us to then add ui-page programatically, hiding all non-active pages, and apply ui-page-active to one page at a time to show it.
mobile.js is updated to find pages by this attribute now, instead of ui-page class.
fixes issue 32
2010-09-18 12:20:35 -04:00
scottjehl
d6e17cafdd
removed a couple brackets in attr() methods.
2010-09-18 11:47:07 -04:00
scottjehl
37f16c3022
undo that last change for binding swiperight to ui-page with live. Namespaced unbinding didn't seem to work.
2010-09-18 11:15:24 -04:00
scottjehl
36dba04c6b
changed automated swiperight binding to ui-page instead of body.
2010-09-18 11:12:50 -04:00
scottjehl
125cb6c156
changed globalnav logic to do the following:
...
- globalnav elements can now be included at the end of any ui-page div
- mobilize will create the globalnav when it finds one, append outside of ui-page to persist across pages
- when a new page is loaded that includes a globalnav, old globalnav will be replaced with the new one.
2010-09-18 10:55:37 -04:00
scottjehl
e016cfa6b7
make sure globalnav is only called once on a div
2010-09-18 10:44:46 -04:00
scottjehl
6fa401276a
renamed files with jQuery.mobile. prefixes
2010-09-18 09:59:33 -04:00
scottjehl
b14ae8bc16
added support for a JS fallback for auto-numbering in listviews made from OL elements. If supported, numbering is pure CSS, otherwise, the script will generate numbering.
...
In both the css and the js, the counters will restart whenever a list grouping header is encountered.
2010-09-18 08:21:51 -04:00
scottjehl
a1d69628c8
added support property for cssPseudoElement. Test will allow plugins to use CSS generated content while providing a fallback for cases where it's unsupported.
...
First use case is the auto-numbering of OL elements in the listview plugin.
2010-09-18 08:18:53 -04:00
scottjehl
bd1a5159d2
added support for auto-numbering in listviews made from OL elements.
...
Note: currently uses CSS :before gen content, so we'll need to test support for that. listview.js includes a JS fallback, currently commented out.
2010-09-18 07:42:10 -04:00
scottjehl
87e8fcf9b5
simplified tap binding to any list items that contain anchors
2010-09-18 07:14:36 -04:00
scottjehl
abef220bef
made some updates to fix support for globalnav plugin. Now you identify a globalnav with data-role="globalnav".
2010-09-17 18:44:55 -04:00
Scott González
fa04e2e661
Don't clear the pageTransition variable until after the hashchange.
2010-09-17 17:24:37 -04:00
Scott González
3961ce4754
Refactored page loading code.
2010-09-17 17:13:53 -04:00
Scott González
933ec027d7
Cache jQuery object instead of creating new objects for each call.
2010-09-17 17:11:48 -04:00
scottjehl
9f1a28ab70
auto-add the dark theme class to ui-page
2010-09-17 17:05:01 -04:00
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
Scott González
54c0c0929c
Small refactor of support tests for file size.
2010-09-13 21:58:37 -04:00
Scott González
aee5e02740
Split support tests into jQuery.mobile.support.js and refactored tests.
2010-09-13 21:46:20 -04:00
Scott González
f584e3385f
Merge branch 'master' of github.com:jquery/jquery-mobile
...
Conflicts:
js/jQuery.mobile.js
2010-09-13 18:28:07 -04:00
Scott González
c9c1f30025
Updated header comment.
2010-09-13 18:22:51 -04:00
John Resig
4a129a8eb2
Removing unnecessary jQuery.support.ajax that's now in jQuery core. Fixes #1 .
2010-09-13 18:04:48 -04:00
scottjehl
cdcc31e794
removed comment regarding a FF4 bug that's now fixed in nightly
2010-09-13 17:29:13 -04:00
scottjehl
5740e59819
removed commented code - no longer needed
2010-09-13 16:21:11 -04:00
scottjehl
9c759b804d
commented out matchMedia logic for later
2010-09-13 16:20:06 -04:00
scottjehl
142cffdfc2
mobilize func had a few unscoped selectors to fix up. thx Doug.
2010-09-13 15:57:12 -04:00
scottjehl
ed0faf004f
changed :focus to document.activeElement. Thx Paul Irish :)
2010-09-13 15:55:38 -04:00
scottjehl
5d11ae2779
more rewriting to get the toolbars working better. this change separates the toolbar markup builder portion from the controller portion, which can now be called globally to show,hide,toggle all at once. This seems to be an improvement.
2010-09-12 11:33:23 -04:00
scottjehl
2eef9f4e5d
attempts to make the header footer transitions work better with multiple pages
2010-09-12 08:39:32 -04:00
scottjehl
8b3c27de37
removed a flag I didn't end up needing
2010-09-11 12:37:16 -04:00
scottjehl
ea63c773c6
rearranged the places where overlays are first shown, and where the auto-hide timer is called
2010-09-11 12:34:47 -04:00
scottjehl
117cb3b78e
fixed logic so overlayOnly makes it always use transitions
2010-09-11 12:08:20 -04:00
scottjehl
6b8921250f
edited to make other transitions work better, aside from slidedown/up. Fade looks particularly nice. Others.... not so much.
2010-09-11 11:48:07 -04:00
scottjehl
2407f20959
some modifications to make the header footers work better with transitions.
2010-09-11 11:40:12 -04:00
scottjehl
5678650342
added slidedown,slidebackup transitions. modified slideup transitions' naming to accommodate.
...
updated transitions demo with new variation, added new transition name to array in mobile.js
2010-09-11 08:49:54 -04:00
scottjehl
8cde8a084b
moved $body swipe to domready
2010-09-11 08:24:36 -04:00
scottjehl
2bf43990ba
changed body swipe to swipe right and namespaced it as swiperight.jqm
2010-09-11 07:26:07 -04:00
scottjehl
1d0fd4a7d8
committing all the mobiley goodness.
2010-09-10 18:23:13 -04:00