Commit graph

418 commits

Author SHA1 Message Date
scottjehl
ebfcc40e39 if a nested list is created on a page that contains a persistent footer, that footer should persist across all generated sub-pages. Fixes #247 2010-10-20 17:46:16 -04:00
scottjehl
b211de4bb3 updated triggered events to pagebeforeshow / pagebeforehide 2010-10-20 16:01:38 -04:00
scottjehl
73be0bb64b removed extra $ causing error in direct-url scenarios 2010-10-20 14:20:38 -04:00
scottjehl
2c17000bfc fixed up rounded corners on inset lists 2010-10-20 14:16:34 -04:00
scottjehl
62f0754c6b removed console log 2010-10-20 14:08:01 -04:00
scottjehl
33052b7349 expose after domready 2010-10-20 12:48:05 -04:00
scottjehl
a0b814e26a moved appends over to use $.pageContainer 2010-10-20 12:09:03 -04:00
scottjehl
b27e9e6d51 exposed pageContainer via $.pageContainer, for other plugins to append 2010-10-20 12:00:18 -04:00
scottjehl
863e971cd9 created $pageContainer reference - for appending pages. Fixes #260 2010-10-20 11:49:08 -04:00
scottjehl
8f78c67b1b gave startPage a $ prefix 2010-10-20 11:48:00 -04:00
jzaefferer
6651fcf016 Listview: Replace live tap event handler with delegate. 2010-10-20 16:21:05 +02:00
jzaefferer
962d5a137b Listview: Finishing up refresh refactoring. Fixes #249 2010-10-20 15:55:05 +02:00
jzaefferer
1cbdc76d08 Listview: Code cleanup and refactoring, introducing refresh method. Partial fix for #249 2010-10-20 06:28:35 +02:00
scottjehl
df93b9ec57 needed a g flag. Thx @naton. Fixes #252 2010-10-19 16:22:04 -04:00
Matt Curry
e5bd32c2d9 put input name in quotes to prevent issue with [,] chars 2010-10-19 23:27:16 +08:00
wuyuntao
205364620d Modified to allow for pages to have a data-back attribute which provides a way to use backward transition manually. 2010-10-18 18:17:10 -04:00
Brandon Aaron
946f9d72ca Updates to textarea autogrow. Use keyUp event so that changes are reflected in the DOM (in theory), buffer the keyUp event (100ms), and use clientHeight instead of offsetHeight for a better comparison to scrollHeight. Fixes #4. 2010-10-18 15:51:49 -04:00
scottjehl
f8524f2e0c Rolling back changes from commit #ea4db95b3c4d296c2719 as it didn't accommodate controlgroups used in radios/checkboxes. Further testing needed on those. 2010-10-18 12:44:44 -04:00
scottjehl
c282234548 Make sure mailto links do not get picked up by ajaxClick functionality. Fixes #206 2010-10-18 12:13:02 -04:00
imjoshdean
ea4db95b3c flipClasses would not work properly when there is only one list-divider at the top or bottom. Now works properly in any case. 2010-10-17 23:02:25 -07:00
scottjehl
c1e41e2f7a took the transitions off the select menus when they go to full page - still having trouble with the changePage function when not used in combination with a hashchange. 2010-10-15 21:34:55 -04:00
scottjehl
14ecf6f0da just comments 2010-10-15 20:37:30 -04:00
scottjehl
7c7fffabcf removed the "MORE" nav functionality - too buggy. Maybe later. or not. 2010-10-15 20:07:52 -04:00
scottjehl
193a400476 changed logic for auto-adding back btns. Hoping this Fixes #143 2010-10-15 18:25:54 -04:00
scottjehl
f5468482f8 fixed up theme inheritance 2010-10-15 16:40:06 -04:00
scottjehl
dd2f2a2672 fixed issue with configuring a solo right button in a header. 2010-10-15 16:19:55 -04:00
scottjehl
f35bd06b75 removed a call to hide browser chrome 2010-10-15 15:57:37 -04:00
scottjehl
ad5470e29c loosened the scope for ui-links. 2010-10-15 15:55:46 -04:00
scottjehl
6b86edb327 removed transition names that won't be in alpha 2010-10-15 15:47:45 -04:00
scottjehl
0bee3fc585 made fixed headers an opt-in, until we can work the bugs out 2010-10-15 14:58:08 -04:00
scottjehl
53b3d6828b added the other transitions from jQtouch. 2010-10-15 13:37:49 -04:00
scottjehl
26bbb233b8 Merge branch 'master' of github.com:jquery/jquery-mobile 2010-10-15 12:18:54 -04:00
scottjehl
5679fc7d2b hopefully improved scroll-to-top vs. loader positioning 2010-10-15 11:34:33 -04:00
John Resig
ba50fe094f Add in jQuery 1.4.3. 2010-10-15 11:10:27 -04:00
John Resig
d1d3d5c2d2 Add in jQuery 1.4.3. 2010-10-15 11:04:32 -04:00
scottjehl
00bd6ac7da set top of loader to scrollTop+75 2010-10-15 10:46:58 -04:00
scottjehl
a4e9594857 no more body theme - just ui-br 2010-10-15 10:36:43 -04:00
jeresig
c91b00fb09 Mobile Ajaxform plugin isn't going into the alpha release. 2010-10-14 20:46:46 -04:00
John Resig
de17e335ef char is not valid 2010-10-14 17:37:18 -04:00
John Resig
9f0cd7a104 Make some tweaks to the loading error dialog. 2010-10-14 15:37:35 -04:00
John Resig
92327e899f Make sure that the page loading error message is displayed correctly and the back button still works properly. 2010-10-14 15:31:50 -04:00
John Resig
5680234fce Handle pages that aren't found and display an error message to the user. 2010-10-14 14:41:31 -04:00
John Resig
23263a967b Make sure the document body exists before determining orientation change, at least. 2010-10-14 13:12:47 -04:00
John Resig
57e2eb6619 Updating copies of jQuery to 1.4.3rc2. 2010-10-14 13:06:52 -04:00
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