Commit graph

303 commits

Author SHA1 Message Date
scottjehl
60d256c4b2 fixed toolbars are fixed toolbars are fixed 2010-10-04 20:09:10 -04:00
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
44f2f147f1 added icon data attrs, as they're now necessary 2010-10-04 15:36:55 -04:00
scottjehl
9d54d5c167 just a simple static progressbar, for future reference 2010-10-04 15:31:03 -04:00
scottjehl
ec4d7cb393 Merge branch 'master' of github.com:jquery/jquery-mobile 2010-10-04 14:33:24 -04:00
scottjehl
f1e5ed8ad4 I made it into a snake. 2010-10-04 14:26:57 -04:00
scottjehl
ecbe90c56a removed unnecessary rule 2010-10-04 14:22:38 -04:00
Scott González
bc0c972c07 Added filtered list view example (will be turned into an extension for list views). 2010-10-04 13:58:02 -04: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
726691afc3 fixed up link paths now that demo is in experiments dir 2010-10-03 09:55:32 -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
d961e899c7 updated link to glyphish example in experiments folder 2010-10-03 08:35:13 -04:00
scottjehl
4a02d3a5ea moved to experiements folder 2010-10-03 08:34:44 -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
033ed1af59 pulled the rel=external attrs off a couple links 2010-10-02 15:29:10 -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
ee77c41b7c removed line to make html files run as php, now that gzip lines are removed. PHP is still used in css/js combinator 2010-10-02 11:49:04 -04:00
scottjehl
58e5499fc9 whitespace 2010-10-02 11:47:07 -04:00
scottjehl
28c0c41e30 removed inline gzips on a few more files 2010-10-02 11:47:02 -04:00
scottjehl
a08ccd6880 whitespace only 2010-10-02 11:43:32 -04:00
scottjehl
79a5c3db13 removed inline gzips 2010-10-02 11:42:50 -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
bc09ffca8d added fadeout animation name back in 2010-10-01 23:35:46 -04:00
scottjehl
73a84405c8 changed button code for headers and footers so that it works with ui-header or ui-footer instead of wrapper classes 2010-10-01 18:46:21 -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
Kin Blas
8a013023eb Comment out the AddHandler line for now since its causing Scott J. some problems. 2010-10-01 14:05:58 -07:00