Commit graph

153 commits

Author SHA1 Message Date
Eddie Monge
8bc5e42fb3 2700: Step 5 Update all doc references 2011-10-17 13:51:45 -07:00
toddparker
fbec0e3520 Added config test page for jQuery core 1.8B1 2011-10-13 15:46:55 -04:00
toddparker
9fd7c160ef Created a set of static global config test pages
This will make it easy to quickly test key settings by going to:
jquerymobile.com/test/config

This is a bit fragile because refreshing or hitting a link with
rel=external or ajax=false will lose the setting.
2011-10-13 13:59:10 -04:00
toddparker
38e77e5c80 Updated docs to clarify the replaceState known issues and to add docs on the pushStateEnabled option 2011-10-10 13:14:59 -04:00
John Bender
55e11dd8ea update documentation to highlight timing issues with orientationchange 2011-10-04 13:31:29 -07:00
toddparker
b483eebc78 Added links to bar and content block examples. 2011-10-03 17:22:39 -04:00
scottjehl
ce1e464275 adjusted the presentation of the left nav and footer for the docs 2011-09-29 16:35:31 -04:00
scottjehl
de40dac5dc added reference to Respond.js polyfill for those using CSS3 Media Queries. 2011-09-29 14:52:59 -04:00
scottjehl
e29346daf5 Merge remote branch 'origin/master' 2011-09-29 14:47:24 -04:00
scottjehl
a93c4878aa removed media classes JS - deprecated since Beta 1. Use CSS3 Media Queries with a polyfill instead :) Docs are updated to link to old code in case anyone still needs a backwards-port 2011-09-29 14:47:05 -04:00
Kin Blas
f6b2a9c700 Added additional verbage to the virtual mouse events section. 2011-09-29 00:31:02 -07:00
Kin Blas
405db8efa2 Added documentation for page change and remove event notifications. 2011-09-28 23:40:37 -07:00
Kin Blas
91de92f627 First pass attempt at documenting the pagebeforeload, pageload, and pageloadfailed events. 2011-09-28 14:50:01 -07:00
Kin Blas
016b415027 Updated and alphabetically re-ordered the options for changePage() and loadPage(). 2011-09-28 13:23:51 -07:00
Robert Gregor
a41c2ce8d1 fixed typos and added @deprecated note to the $.mobile.addResolutionBreakpoints method 2011-09-24 17:31:35 -03:00
John Bender
265ffb68e4 update docs to reflect pagecreate -> pageinit migration with examples of when to use either 2011-09-16 10:24:14 -07:00
gseguin
dbab6c06f7 Fix for issue #2455
Updated doc
2011-09-16 09:18:00 -07:00
gseguin
a0ca22ae3d Changed behavior of .jqmData() only when called with no argument. It now returns undefined as per discussion on #jquerymobile-dev 2011-09-16 09:12:25 -07:00
John Resig
0b83cf8d60 Tweak some more stylesheet formatting. 2011-09-08 21:35:28 -04:00
scottjehl
82a9a5bb3f documented the new touchOverflowEnabled configuration property. 2011-09-08 13:33:26 -04:00
toddparker
557da74be0 Fixed typo in button state active default docs. Closes #2403. Thanks jasonrsavino! 2011-09-08 11:30:42 -04:00
scottjehl
6de76168af Clarified the documentation around the purpose of the pagebeforecreate event and removed the pagebeforecreate return value check, as returning beforecreate false is no longer relevant now that all plugins auto-init externally, rather than inline in the page plugin. 2011-08-27 11:26:16 -04:00
toddparker
ac30c121c7 Added docs for the scroll thresholds and virtual mouse events. 2011-08-03 10:10:43 -04:00
scottjehl
f020f0661b documented the loadPage method's loadMsgDelay option. 2011-07-31 10:08:38 -04:00
toddparker
433f9af612 Updated markup to match the new API styles 2011-07-28 16:41:02 -04:00
toddparker
aac698520e Added clearer messaging about dom ready and how to use pagecreate instead. 2011-07-28 16:26:34 -04:00
scottjehl
30c94575c2 updated docs to include autoInitializePage option. Fixes #1391 2011-07-24 22:21:16 -04:00
scottjehl
3dd495588b removed the nonHistorySelectors option, which was no longer in use after the nav refactor. 2011-07-15 11:50:26 -04:00
Kin Blas
2b51355656 Switch back to processing link clicks on the "click" event. It really is the only reliable way across all the devices we support.
Also, remove all references to useFastClick.
2011-06-29 17:38:00 -07:00
scottjehl
13a22e3eec updated the footers in the new docs templates 2011-06-20 18:53:55 -04:00
scottjehl
f3e35d49dd more updates to the docs markup. getting close! 2011-06-20 18:53:55 -04:00
scottjehl
6980110d32 updated header themes 2011-06-20 18:53:54 -04:00
scottjehl
85c1121680 update js references 2011-06-20 18:53:54 -04:00
scottjehl
74b001f62e linked up js docs references properly 2011-06-20 18:53:54 -04:00
scottjehl
735ee926d3 more docs updates. moved to the green header, set default transition dynamically 2011-06-20 18:53:53 -04:00
scottjehl
c7a852938c layout tweaks on the docs. 2011-06-20 18:53:53 -04:00
scottjehl
1e5441fd76 reworked the docs to better accommodate wide screens using a simple responsive layout. Tweaks forthcoming! 2011-06-20 18:53:53 -04:00
scottjehl
45a71ac499 Added global config option "useFastClick", so that the changes we made for automated ajax handling since A4 can be disabled if needed, for whatever reason. When handling clicks and taps automatically with Ajax, this option will use jQuery Mobile's <code>vclick</code> event, enabling page changes to happen slightly sooner on devices that support touch events, and keeping the address bar hidden during page transtions. When disabled, the automatied Ajax handling will use an ordinary <code>click</code> event instead. This option has no effect on non-touch devices, but when enabled, it may interfere with jQuery plugins that bind to click events rather than vclick events. Fixes #1857 2011-06-20 11:35:09 -04:00
Kin Blas
18d7b7902c Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-06-17 18:22:46 -07:00
Kin Blas
9f4ae3ba79 Documenting isSameDomain(), isRelativeUrl(), isAbsoluteUrl(), makePathAbsolute(), and makeUrlAbsolute(). 2011-06-17 18:22:00 -07:00
scottjehl
fcbfc2f380 added minScrollBack feature to core options. This is the minimum scroll distance that will be jumped-to when returning to a page. By default, the distance is screen.height /2. If you really needed to disable scroll memory altogether, this could be set to Infinity. Note that disabling scroll memory altogether is almost never a good idea for usability, but the option is there. 2011-06-17 19:19:47 -04:00
Kin Blas
93d3551f9c Documenting $.mobile.path.parseUrl(). 2011-06-17 12:29:50 -07:00
Kin Blas
0ec7c3c54a Changed the description of the role option for loadPage() and changePage() to reflect some changes to the default value I just checked in. 2011-06-16 15:18:42 -07:00
Kin Blas
ca4428c430 - Update changePage() documentation to match current implementation.
- Added entry for loadPage().
2011-06-15 13:58:08 -07:00
scottjehl
8929ac33b9 Removed the ajaxLinksEnabled and ajaxFormsEnabled settings. These were deprecated in a4 and scheduled for removal. Automated link and form ajax handling can still be globally disabled via the ajaxEnabled option. 2011-05-24 16:08:30 -04:00
Kin Blas
3c792c58f0 Merge branch 'master' into navigation
Fixed Conflicts:
	js/jquery.mobile.init.js
	js/jquery.mobile.navigation.js
2011-05-20 09:39:19 -07:00
scottjehl
e4336f38ae changed the docs to represent the new auto back button default 2011-05-18 18:05:05 -04:00
scottjehl
8ba4c27300 Ya'll can scale your pages now. Fixes #1645. Note: we originally disabled user zooming to work around a bug in iOS that automatically zooms the page beyond the constraints of the viewport on orientation change. We are not working around this bug at all now, but you are free to include any meta tag you'd like, or better yet, consider this polyfill: http://www.blog.highub.com/mobile-2/a-fix-for-iphone-viewport-scale-bug/ 2011-05-17 17:28:19 -04:00
Kin Blas
b96310eedf - Externalize some of the nested functions in changePage().
- Modified changePage() so that it can take an options object. Updated all references throughout the framework.
- Split $.mobile.pageLoading() into 2 functions $.mobile.show/hidePageLoadingMsg(). Updated docs accordingly.
- Renamed $.mobile.defaultTransition to $.mobie.defaultPageTransition. Updated docs accordingly.
- Added $.mobile.defaultDialogTransition so that it isn't hard coded in the changePage/transitionPages and select code.
- Hand integrated jquery.mobile.navigation.js checkins from master: 4b4ee54a, e775f5e8, e597ccb3, 084bbbd8.
2011-05-16 16:02:26 -07:00
scottjehl
28ef60afe2 added deprecated message for media helpers 2011-05-11 18:31:13 +02:00
scottjehl
d97a964884 been meaning to do this for a while. 2011-04-14 16:04:47 -04:00
scottjehl
bb7b09f2a1 documented theme css namespace caveat. Fixes #1341 2011-04-01 14:58:36 -04:00
scottjehl
cb34aa2169 typo 2011-04-01 12:28:28 -04:00
scottjehl
77b25a46ea docs typo. Fixes #1150 2011-03-30 23:52:36 -04:00
scottjehl
51c79481fc documented hashListeningEnabled. Fixes #1091 2011-03-30 23:28:53 -04:00
scottjehl
4a45d8d96b Added pageLoadErrorMessage option. Defaults to "Error Loading Page". Documentation included. Fixes #1258 and Fixes #363 2011-03-27 11:45:03 -04:00
scottjehl
e8cee23744 major simplification of jqmData method, while adding new methods for jqmRemoveData, and also their $-namepaced utility methods, including $.jqmHasData. Commit includes 20 new unit tests included to test compatibility with jQuery core's data methods, and docs are updated as well. 2011-03-26 14:14:02 -04:00
scottjehl
8a3b846e95 documented the new jqmData method and :jqmData selector. 2011-03-26 09:11:42 -04:00
scottjehl
9fc1f9828b fixed docs for the default namespace (blank string) 2011-03-26 08:39:12 -04:00
John Bender
63e8f6bfcb resolved merge conflicts and fixed 2 tests 2011-03-15 23:57:17 -07:00
scottjehl
0d9627d54e Added viewport meta elements to the markup of every template and removed the metaViewportContent option from code and docs. IE does not support generated viewport tags. 2011-03-14 00:20:23 -04:00
scottjehl
19f5fd7cae changed the default namespace to "" and updated the docs/demos as such 2011-03-09 22:36:14 -05:00
scottjehl
aa0228d5b8 updated doc 2011-03-09 21:03:40 -05:00
scottjehl
9e91fa6752 updated docs with jq namespace, found some more stragglers 2011-03-09 21:03:40 -05:00
scottjehl
d183cc591f applied data-jq- namespacing to all data attributes in docs 2011-03-09 20:53:02 -05:00
Ashley Streb
767c35c629 Updating docs to specify that the default transition for dialogs is 'pop' 2011-02-16 22:52:44 -08:00
John Bender
2a1935caf5 Revert "added autoInitialize documentation"
This reverts commit 7da26e1974.
2011-02-07 08:11:57 -08:00
toddparker
0aeb20b180 home button fixes 2011-02-03 18:34:35 -05:00
toddparker
9806cdc221 Added a home link to all pages and changed the header bar theme swatch to b globally 2011-02-03 17:29:48 -05:00
John Bender
7da26e1974 added autoInitialize documentation 2011-02-02 23:03:07 -08:00
toddparker
1644bca45b Added data-role="button" attributes to links because these were rendering as links only. Added link to form theming page. 2011-02-01 22:38:22 -05:00
scottjehl
2e6a396278 added ajaxEnabled option. ajaxLinksEnabled and ajaxFormsEnabled are deprecated and will be removed by 1.0. Fixes #851 2011-01-23 19:03:35 -05:00
scottjehl
9b57c46349 Refactored urlStack and updated dialog and page plugins to match. jQuery Mobile's internal history now attempts to follow the history menu when urls change from hashchange, even for changes that go multiple steps forward or back. The internal history stack is now pruned based on whether a user goes back and then changes direction, whereas before a back-button click would result in a pop off the history. Instead we now maintain an active index number in the history stack, which allows us to maintain references to transitions that are saved on pages reached through clicking the forward button as well. This fixes #636.
In the process, some other small changes should be noted:
urlStack is now urlHistory, a hash of methods and properties used for history stack management (stack, activeIndex, getActive, getPrev, getNext, addNew, clearForward, and listening Enabled). All these are documented inline and exposed on $.mobile.urlHistory (I'm not sure these will be publicly documented, but just exposed internally for plugins for now).

$.changePage has two argument changes: the "back" argument is now called "reverse"; this results in no change from an end-user standpoint, but reflects the fact that it only reverses the direction of a transition without affecting the internal history stack, and second, a new argument at the end defines whether changePage was called from a hashChange which makes that url open to history menu guessing.
2011-01-23 17:33:36 -05:00
scottjehl
9e4b0a484c Overhauled path object and exposed it and the base object via $.mobile. Form and Link handlers now use the path methods internally. Unit tests adjusted, but more are needed to fully cover the path and base propeties and methods. Fixes #566. 2011-01-22 17:42:07 -05:00
Kin Blas
161f5e6ae3 Removed jquery.js from js/index.php and updated all html doc/experiments/test files that incuded "js/" so that they also include jquery.js manually.
This makes our include model match the include model on the CDN, and allows devs to make use of mobileinit for debugging some of the samples since that must be set up after jquery.js, but before jquery-mobile.
2011-01-20 11:26:12 -08:00
Kin Blas
8050fb0d01 Merge branch 'master' of https://github.com/walkingeyerobot/jquery-mobile into pull672 2011-01-11 09:04:32 -08:00
Kin Blas
38f09ee66f Sweep through all files to add a trailing slash to <link> tags that include thems/default. This should fix Opera Mobile Issue 763. 2011-01-05 16:19:24 -08:00
Mitch Foley
df3bc91f80 renaming nobackbtn to backbtn. 2010-12-13 10:54:26 -05:00
Michael J. Rubinsky
76cc574721 Add note specifying these events need to be called prior to jQuery Mobile execution. 2010-12-08 06:11:01 +08:00
scottjehl
80d56e655b Changed page navigation scripting to use data-url attributes instead of IDs for storing page URLs. This fixes a number of issues, most importantly #477, which exposed a conflict between jQuery's selector engine that would result in un-enhanced pages whenever linking between two pages in the same directory.
The shift away from interal ID attribute usage also allows users to bind page events (pagecreate, pagebeforecreate) to a page div by its ID, which was a frequent cause of confusion when it didn't work as expected in former versions of the framework.

Seemingly unrelated: these commits allow you to specify data-role="dialog" in multipage and single page templates. In multipage templates, the role must be on the page (a link with data-rel alone will not work in multi-page). This addresses issue number 464, but may need further testing for obscure scenarios.

Fixes #477 (Pages are not enhanced when linking to a filename without a path)
Fixes #493 (Click the same link twice -> blank page)
Fixes #513 (closing dialog + returning to the same dialog)
Fixes #550 (changePage() not updating hash for internal pages - breaks )
Fixes #464 (Dialogs don't work within multi-pages)
Fixes #633 (Recent change to prevent same-page requests breaks select menu close button)
Fixes #599 (Page ids & page specific events)
Fixes #634 (After a bad page request, base url is not reset to current path)

booya.
2010-12-07 12:05:10 -05:00
scottjehl
f56fe84245 fixed a docs typo 2010-11-18 22:56:40 -05:00
scottjehl
909a0d0f08 removed transitions property from the configuration and updated docs to match. 2010-11-18 22:18:20 -05:00
kptdobe
c413b2f86f fixed doc: missing/invalid HTML tags and wrong paths 2010-11-16 22:42:02 +08:00
scottjehl
bffff87441 changed docs for live event => bind event 2010-11-12 15:46:00 -05:00
scottjehl
cf2fc6434e added docs for media query function 2010-11-11 21:50:39 -05:00
scottjehl
aca00ea8ec renaming for screen size 2010-11-11 19:09:11 -05:00
scottjehl
058f0a867d closing tag 2010-11-11 17:50:30 -05:00
scottjehl
014bbbcc4a typo 2010-11-11 17:17:45 -05:00
Todd Parker
e9d2c376fc added demo css file to api folder pages 2010-11-11 16:15:13 -05:00
scottjehl
5a2b76bae4 close the ul 2010-11-11 16:13:30 -05:00
scottjehl
499bcb6458 added methods documentation 2010-11-11 16:12:14 -05:00
scottjehl
17304461bf removed data theme 2010-11-11 16:12:00 -05:00
Todd Parker
06b383cbbf Content cleanup 2010-11-11 14:38:13 -05:00
Todd Parker
fed9911f08 Refined names for API pages 2010-11-11 14:34:12 -05:00
Todd Parker
98e09e7178 Merge branch 'master' of github.com:jquery/jquery-mobile 2010-11-11 14:26:07 -05:00
Todd Parker
db9e9c918e Combined settings and global config pages 2010-11-11 14:25:41 -05:00
scottjehl
c708859f55 added docs for media query helpers 2010-11-11 14:22:14 -05:00
Todd Parker
0e28ffe9a1 Added a few code style to demo css. Converted events api page to use DL markup 2010-11-11 14:06:47 -05:00
Todd Parker
34fefc02fc Merge branch 'master' of github.com:jquery/jquery-mobile 2010-11-11 13:53:23 -05:00
scottjehl
d8845f233b styling the dl 2010-11-11 13:43:05 -05:00