scottjehl
4a3e4ec427
added option trackTheme, which uses the btn-down state and defaults either a data-tracktheme attr, finding a themed parent, or 'd'.
...
Button "theme" option defaults to "b", and can be set through the data-theme attr.
Fixes #168
2010-10-14 09:24:51 -04:00
scottjehl
af9508481c
Removed correct side of rounded corners on buttons in listviews that either precede or follow dividers.
...
Note that this will also make sure there's no bottom corners on a button that predes a divider that comes last, if that ever happens. Fixes #139
2010-10-13 20:16:50 -04:00
scottjehl
2f497bc06e
select menus only use the overlay style if $.support.scrollTop is true. This makes selectmenus usable on Palm
2010-10-13 18:36:10 -04:00
scottjehl
3ad6166991
scroll to top before page transition as well. That way the loading screen will show up without having to position it.
2010-10-13 18:30:01 -04:00
scottjehl
58ddf30bb6
add class to html when box-shadow is not supported.
2010-10-13 18:05:02 -04:00
scottjehl
3150f40064
Returns if $.support.scrollTop is false. Fixes #66
2010-10-13 17:30:51 -04:00
scottjehl
47e35832a9
Added two properties to support:
...
- boxShadow (tests that the property is defined and window.blackberry is false, as BB's shadows have no feathering)
- scrollTop (tests that the property is defined and that a webos property or two isn't defined, as Palm always reports 0)
Added an existence test for CSS properties, which is used for cssPseudoElement and boxShadow).
2010-10-13 17:25:14 -04:00
scottjehl
7470e376ad
changed to trigger click instead of ajaxClick. This should help the whole "clicks getting eaten" issue a bit.
2010-10-13 16:08:41 -04:00
scottjehl
52113e8b97
fixed up list count bubbles in split button listviews. Fixes #165
2010-10-12 17:37:43 -04:00
scottjehl
a35cd511bd
fixed default split button icons
2010-10-12 17:24:39 -04:00
scottjehl
dda81a4b83
implemented icon theming
2010-10-12 17:09:06 -04:00
scottjehl
fd6d7b52f2
rafactored the buttons in collapsibles. uses an inner button for styling the icons.
2010-10-12 16:36:32 -04:00
scottjehl
759adbf675
missed a comma
2010-10-12 16:35:31 -04:00
scottjehl
2521dc2ffb
implemented setting of theme and icon for split buttons at the list and link level.
2010-10-12 16:29:16 -04:00
scottjehl
4278d61c96
changed body to bar in list divider theming. Fixes #163
2010-10-12 15:10:17 -04:00
scottjehl
c59dafd616
added support for icon, in addition to thumb, image sizes. Fixes #146
2010-10-12 15:09:42 -04:00
scottjehl
c92e9f3eea
Merge branch 'master' of github.com:jquery/jquery-mobile
2010-10-12 14:28:00 -04:00
scottjehl
930430ab2e
removed the event logger from core. Fixes #159
2010-10-12 14:27:48 -04:00
Scott González
cf4e3969f0
Removed console.log() calls.
2010-10-12 13:57:14 -04:00
scottjehl
0a7a9d8721
added support for data-counttheme attr
2010-10-12 13:40:06 -04:00
scottjehl
9843e9f7a1
reverting the polling interval
2010-10-12 11:59:23 -04:00
scottjehl
a9e984a062
made sure inner shadow is applied differently on search inputs
2010-10-12 11:43:52 -04:00
scottjehl
7339965765
polling setTop on an interval to test for improvements.
2010-10-12 11:43:52 -04:00
scottjehl
ddd18e5ec7
send focus to first page title, not any old page title. Just in case - prevents page jumps
2010-10-12 11:43:51 -04:00
scottjehl
c99b047333
only apply show/hide to first header, last footer on page
2010-10-12 11:43:51 -04:00
scottjehl
b83885d281
brought back active scope - didn't help to remove it
2010-10-12 11:43:51 -04:00
Scott González
2ac5e0a755
Wait for 750ms before triggering taphold. Trigger tap even if a taphold occurs.
2010-10-12 11:34:31 -04:00
scottjehl
6c3c308de1
removing scope on headerfooters to see if it helps positioning
2010-10-11 19:48:43 -04:00
scottjehl
3428753aa6
cleaned up theme inheritance logic a bit
2010-10-11 19:32:19 -04:00
scottjehl
faf0b66868
improved inherited theming of buttons, and controlgroup orientation
2010-10-11 19:15:02 -04:00
scottjehl
d8977cf937
made listviews default to C theme, now that any button theme will work
2010-10-11 18:59:03 -04:00
scottjehl
0f40e2d28a
fixed button initialization for regular role=button buttons so they can be used in controlgroups.
2010-10-11 17:48:20 -04:00
scottjehl
855961ee2d
apply theming to inputs using data-theme. background image is set to none, but color is used, along with ui-shadow-inset
2010-10-11 17:26:51 -04:00
scottjehl
4b08e0fc9d
enabled theming of sliders through data-theme. Fixes #152 Fixes #153
2010-10-11 16:55:10 -04:00
scottjehl
16ee84fd94
apply theming to checkboxes and radios through data-theme attr. Fixes #150 Fixes #151
2010-10-11 16:47:08 -04:00
scottjehl
35e97cc5df
enabled theming of select menu buttons through data-theme attr on select el. Fixes #149
2010-10-11 16:41:30 -04:00
scottjehl
4ff7738dbe
improved keyboard handling for desktop use. Now uses ARIA listbox role with option sub roles.
2010-10-11 16:35:24 -04:00
scottjehl
00567105c9
moved focus for buttons over to hover state. no ui-focus class, no outline (hover state provides visual affordance)
2010-10-11 16:32:49 -04:00
scottjehl
ddccb3bc4f
"content" divs no longer get auto-themed, but data-theme attrs will work
2010-10-11 15:50:15 -04:00
scottjehl
a26e0a0d6a
added "inline" option to buttons and button links. data-inline="true". Fixes #148
2010-10-11 15:47:30 -04:00
scottjehl
fe07a8d802
changed up the transitions
2010-10-11 14:56:16 -04:00
scottjehl
d960370138
annnnd one more. :) now we're good.
2010-10-11 14:44:51 -04:00
scottjehl
c4e0f5c19e
whoops typo ruined everything
2010-10-11 14:44:09 -04:00
scottjehl
effbaa9f58
Refactored select plugin.
2010-10-11 14:41:17 -04:00
scottjehl
01b9924f0b
behavior for auto-focusing title or first focusable element can now be disabled by returning pageshow or pagehide events false.
2010-10-11 14:40:58 -04:00
scottjehl
c09e92d7de
moved direction over to controlgroup plugin. This should be updated to use data-direction rather than type
2010-10-11 14:39:32 -04:00
scottjehl
1bd8e94227
First pass at convering selectmenu over to new page model. Now time for cleanup
2010-10-11 10:33:52 -04:00
scottjehl
afaf411bc2
enabled setting of icon type in regular listviews
2010-10-11 10:33:27 -04:00
scottjehl
70a07b9a4b
abstracted out the scripting for sending focus to the page title, or first focusable element. reFocus function - now called at page load and pageChange.
2010-10-10 21:50:11 -04:00
scottjehl
29913434bf
changed name of list grouping to list "divider". Affects class names, css applied, data-attr for configuration.
2010-10-10 21:28:22 -04:00
scottjehl
0ec600c1b3
Improved and expanded ARIA coverage to more components, including landmarks on common top-level page elements. Fixes #137
2010-10-10 21:17:49 -04:00
scottjehl
bc2363100c
scroll to top before page change. Fixes #133
2010-10-10 20:48:57 -04:00
scottjehl
f5ebfbcbd2
Fixed check for relative vs. absolute positioning of fixed toolbars. Now fullscreen toolbars will work as expected. Fixes #132
2010-10-10 20:43:00 -04:00
scottjehl
00d8f6b62d
Fixes #136
2010-10-10 20:36:53 -04:00
scottjehl
734e21816a
groupingtheme option is now exposed as data-groupingtheme. This should probably be renamed to "dividertheme", but for now, this Fixes #128 , Fixes #134 (duplicate bugs)
2010-10-10 18:17:26 -04:00
scottjehl
edaa43c479
on page show, focus directs to page title, or first focusable element if no title present. Improves a11y experience.
2010-10-10 18:06:29 -04:00
scottjehl
580c140311
added tabindex attr to page titles so we can direct focus there when pages are shown.
2010-10-10 17:57:35 -04:00
scottjehl
9aba756295
constrained toolbar show/hide to ui-page-active. Fixes #96
2010-10-10 16:43:19 -04:00
scottjehl
fb30ab9580
used new $.mobile.idStringEscape to create more meaningful urls and ids for generated sub-pages in nested lists. Fixes #81
2010-10-10 16:22:39 -04:00
scottjehl
8f48125a1d
added a generic string formatter $.mobile.idStringEscape for strings to be used in both IDs and URLs. The regexp may be overly simplified now, but it'll allow us to create more semantic identifiers from content in generated pages.
2010-10-10 16:17:45 -04:00
scottjehl
e18631800d
added ability to set data-icon on split buttons. Fixes #124
2010-10-10 15:43:58 -04:00
scottjehl
ead866636e
Added support for data-role="list-divider", and for readonly li's (those that have no child anchor). Fixes #121 , Fixes #122
2010-10-10 15:38:25 -04:00
scottjehl
8cbb6186dc
added data-nobackbtn attr to override auto-add of back buttons at the header level. Fixes #131
2010-10-10 15:15:45 -04:00
Scott González
5b2bbd7b9f
Allow preventing the default initialization for pages by canceling the pagebeforecreate event. Fixes #105 .
2010-10-09 14:45:16 -04:00
Scott González
74a66af37b
Converted $.mobilize to $.fn.page (and $.mobile.page via widget factory).
2010-10-09 14:34:21 -04:00
scottjehl
5dbda8eb25
buttons now inherit theming from bar,body,and list (TBD) containers.
...
Consequently, when designing themes, button-A should be designed to pair well with bar,body,and list A.
This page shows a nice example of it in action:
http://jquerymobile.com/test/#_containers-states.html
Fixes #44
2010-10-09 09:22:27 -04:00
scottjehl
b6c482255e
whoa - that commit where I removed all the meta was a tad agressive (base tag was removed by mistake).
...
Re-added our base tag!
2010-10-09 08:29:01 -04:00
scottjehl
a8f1edc106
remove hash-setting functionality. Now expanded globalnavs are not deep-linkable.
...
Fixes #84
2010-10-09 01:08:13 -04:00
scottjehl
85c063eb94
If a [data-role="page"] div has an ID already when it is loaded, mobilize will wrap the page in a new div, transferring page-related data attrs to the wrapper (role,theme,fullscreen).
...
This prevents a ID from being overwritten for use in our page navigation model, which would have prevented css and scripting from applying.
Fixes #93
2010-10-09 00:41:01 -04:00
scottjehl
dc3ff3b67e
Input sliders can now be created using type="range". No data- attr necessary, though you can also use data-role="slider" with an input type of number (and on a select element as well).
...
Range Inputs will degrade to type=text, along with other shoddy input types.
Fixes #106
Fixes #118
2010-10-08 23:49:41 -04:00
scottjehl
8d8675dd84
updated to use $.mobilize for page building. Fixes issues with nested list styling as well.
2010-10-08 23:32:41 -04:00
scottjehl
702173eaae
renamed navlist to navbar.
...
Fixes #117
2010-10-08 23:26:04 -04:00
scottjehl
29a7daee60
mobilize now:
...
* applies data-themes appropriately to header,footer,page,and content roles
* finds first link in header or footer, applies left button class
* finds second link in header or footer, applies right button class
* if no left button, a back button is auto added (this can be disabled through $.mobile.addBackBtn)
* back buttons will not auto-add on the first page visited.
* all headings h1-6 are given ui-title class for constent styling in header and footer
* buttons in ui-bar,ui-header,ui-footer now all have consistent sizing and styling
Fixes #109
Fixes #114
Fixes #28
Fixes #116
2010-10-08 23:10:13 -04:00
scottjehl
daa76e00fa
enabled an opt-out for headers or footers that shouldn't follow on scroll. Just add [data-position="inline"]
2010-10-08 22:52:36 -04:00
scottjehl
7850c16e69
brought back the min/max scale so orientation change is clean. Still uncomfortable with choice between smooth orientation changes and ability to zoom...
2010-10-07 19:46:15 -04:00
scottjehl
194a76796a
removed auto-append meta tags except for viewport.
2010-10-07 18:35:17 -04:00
scottjehl
d50e73d7fc
made sure relative positioning never lets a header go higher than it's place in the document flow, or a footer lower than its place. Helps with dialogs.
2010-10-07 18:16:02 -04:00
scottjehl
ab48e7cce4
fixed transitions - one comma should have been a ;, and updated data usage in the process.
2010-10-07 17:49:51 -04:00
scottjehl
220673e973
Merge branch 'master' of github.com:jquery/jquery-mobile
2010-10-07 17:48:24 -04:00
scottjehl
01214855b6
added ui-page class
2010-10-07 17:32:45 -04:00
Scott González
e788abe889
Improved input type degradation.
2010-10-07 17:26:33 -04:00
scottjehl
090d3256f1
removed appendto body - costly and we should be covered with z-index anyway
2010-10-07 16:47:37 -04:00
scottjehl
d0ea6f28db
removed noCache option. We'll need a better implementation that won't interfere with local dialogs (in dom at load)
2010-10-07 16:45:51 -04:00
scottjehl
7b37d7a7ab
removed support tests for display, position, overflow, floatClear, as media query support infers these are all good to go!
2010-10-07 15:46:46 -04:00
scottjehl
de53cfb930
Made all css and JS rely upon media query support. ("only all"). We can go back to the previous system, but so far, this seems to create a better divide than our previous support tests provided. 1-person discussion here: https://github.com/jquery/jquery-mobile/issues/#issue/29
2010-10-07 15:15:59 -04:00
scottjehl
4db915a3c3
if a button's iconpos is "notext" and it has no title attr, set its title attr to its text content
2010-10-07 11:39:23 -04:00
Scott González
5c3d35574f
Renamed files.
2010-10-07 11:30:48 -04:00
Scott González
3888ff81b6
Renamed files so case changing will hold.
2010-10-07 11:24:44 -04:00
Scott González
e5e115a925
Revert "Moving files so the case chaning will hold."
...
This reverts commit dacb03383f .
2010-10-07 11:19:34 -04:00
Scott González
d4c904eecb
Revert "Renaming files."
...
This reverts commit ae6bfba68f .
2010-10-07 11:19:21 -04:00
Scott González
ae6bfba68f
Renaming files.
2010-10-07 11:13:14 -04:00
Scott González
dacb03383f
Moving files so the case chaning will hold.
2010-10-07 11:09:00 -04:00
Scott González
d2538d645b
Merge branch 'master' of github.com:jquery/jquery-mobile
2010-10-07 10:51:02 -04:00
Scott González
6f10fe2459
Renamed files from jQuery.* to jquery.*. Fixes #33 .
2010-10-07 10:50:10 -04:00
scottjehl
2ec76dffe4
Merge branch 'master' of github.com:jquery/jquery-mobile
2010-10-07 10:48:54 -04:00
scottjehl
d3e9e590e7
Fixed #64
2010-10-07 10:48:39 -04:00
Scott González
711148c782
Re-number list views during filter. Fixes #112 - listview filter: re-apply JS-based OL numbering for fallback browsers.
2010-10-06 22:45:52 -04:00
Scott González
50b65063b9
List view filtering is now case insensitive.
2010-10-06 22:31:47 -04:00
scottjehl
c076f220dc
bound to change event and keyup
2010-10-06 18:34:09 -04:00
scottjehl
6a34c9b835
clicking the clear button will focus on the input and trigger change event.
2010-10-06 18:33:55 -04:00