scottjehl
50aca4e613
Links to the transitions page need to use data-ajax="false" because it uses multipage.
2011-08-26 20:07:38 -04:00
toddparker
66fb6bba2f
Moved the transition sampler page to a multi-page format to avoid the loader every time you want to try a transition. Leaving the old page here for now because we may link to it elsewhere.
2011-08-26 17:00:44 -04:00
toddparker
01f61cfd54
Removed prefetch. Can't use that on a dialog.
2011-08-26 16:58:16 -04:00
toddparker
cd5cb16fe1
Added prefetch attr and fixed theme tags in markup for dialogs
2011-08-26 16:53:26 -04:00
John Bender
0346cbe439
added note on managing element id's in pages loaded via ajax
2011-08-26 09:15:47 -07:00
John Bender
9eef5cec53
added documentation covering the replaceState plugin
2011-08-26 09:15:23 -07:00
Richard D. Worth
a5a608c2e5
Fixed a typo. Thanks gregmelson http://bugs.jqueryui.com/ticket/7660
2011-08-22 07:49:33 -04:00
toddparker
c2405448fd
Fixed a few broken links in the docs.
2011-08-04 15:23:51 -04:00
toddparker
37db803557
Removed back buttons.
2011-08-03 15:18:57 -04:00
toddparker
bd36fd6f91
Updated boilerplates to beta 2
2011-08-03 14:02:24 -04:00
toddparker
b77bf47d1d
Minor tweaks.
2011-08-03 12:13:04 -04:00
toddparker
5b73f452f2
Fixed a few issues in the content.
2011-08-03 10:31:57 -04:00
toddparker
012ce48e6f
Added new scripting page to provide a quick overview of common techniques, updated local nav for all other pages.
2011-08-03 10:10:18 -04:00
eddie cianci
1410e03601
fixed typo: swatch E identifying as swatch D
2011-07-31 21:25:38 -04:00
scottjehl
5c01f3f1e5
fixed dead links
2011-07-29 19:46:19 -04:00
toddparker
1c136582ac
Added an H2
2011-07-29 17:34:18 -04:00
toddparker
8d496b782e
Page title fixes
2011-07-29 17:33:08 -04:00
toddparker
264e71522d
Re-vamp of pages docs section to add new features, better organization
2011-07-29 17:29:31 -04:00
scottjehl
8e354a06c5
typo in docs
2011-07-17 17:04:11 -04:00
toddparker
edee8c42b3
Merge remote branch 'origin/master'
2011-07-15 17:04:33 -04:00
toddparker
6b8f322c66
Updated the single and multi-page templates to use the CDN version and have better design/content. Linked to these from the index page so they are more accessible too.
2011-07-15 17:02:25 -04:00
scottjehl
098687ae63
added documentation for data-prefetch
2011-07-15 13:22:13 -04:00
toddparker
30892bab4b
Updated the Anatomy of a Page code examples to include the meta viewport tag
...
Updated 2 code examples with suggested settings and added an explanation of the feature. Fixes #1991
2011-07-05 14:40:51 -04:00
scottjehl
3e3a57401c
page is no longer in use.
2011-06-21 12:11:24 -04:00
scottjehl
52575bb5cb
updated versions in sample code
2011-06-20 19:01:50 -04: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
579f418c2e
updated the rest of the navs to be local to their section.
2011-06-20 18:53:54 -04:00
scottjehl
ebf9bd8535
added navigation components to most docs pages
2011-06-20 18:53:54 -04:00
scottjehl
6980110d32
updated header themes
2011-06-20 18:53:54 -04:00
scottjehl
74b001f62e
linked up js docs references properly
2011-06-20 18:53:54 -04:00
toddparker
b3aa56582c
Added a warning about the use of the flip transition on Android.
2011-06-17 16:37:28 -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
toddparker
a5960dea26
Closed missing </head> tag. Must have been a greedy find and replace that deleted this.
2011-05-12 11:09:59 -04:00
cwt137
357b87fab9
Corrects comment that was wrong. Changes "header" to "footer". Fixes bug #1480
2011-04-19 22:00:25 -07:00
toddparker
fb8ef84434
Fixed a typo, thanks Steven.
2011-04-18 17:35:27 -07:00
toddparker
cdd8b745ca
Added documentation on the auto-updating title and data-attr in the anatomy of a page.
2011-04-18 14:51:48 -07:00
scottjehl
d97a964884
been meaning to do this for a while.
2011-04-14 16:04:47 -04:00
scottjehl
5c1953f5cd
set version to 1.0a4.1
2011-04-07 16:55:05 -04:00
scottjehl
198cb1420d
updated some a3 links. DOH!
2011-03-31 19:08:45 -04:00
toddparker
db3a57975b
Updated to A4 and 1.5.2
2011-03-31 18:38:34 -04:00
toddparker
37a54cb2b0
Removed outdated phone link styles
2011-03-31 18:35:48 -04:00
John Bender
bb7ab45a19
small whitespace fix, removed the data-rel=back from two buttons in the docs as it takes precendence over the href
2011-03-31 14:39:34 -07:00
scottjehl
91109ebbd0
better page titles
2011-03-31 12:56:47 -04:00
scottjehl
b77e04e7c4
Merge remote branch 'origin/master'
2011-03-30 22:53:55 -04:00
scottjehl
5d93d53090
removed the cdn hotlinks - local is best for testing. Also added a link to test Bender's new fix - works fantastic.
2011-03-30 22:53:46 -04:00
toddparker
e9e7a78e99
Fixed a minor grammatical error in the pages docs.
2011-03-30 22:31:18 -04:00
scottjehl
bb9921a9f4
Merge remote branch 'origin/master'
...
Conflicts:
docs/pages/docs-link-scenarios.html
2011-03-28 16:37:58 -04:00
scottjehl
1a2a85773b
fixed a bad path
2011-03-28 16:07:19 -04:00
scottjehl
bc005fe18d
page isn't in use. covered by link-formats.html
2011-03-28 16:07:09 -04:00
toddparker
50717094ad
Removed section on non-ajax dialogs, not supported yet.
2011-03-28 15:42:53 -04:00
scottjehl
4011cf684e
added a bigger select example to the demo
2011-03-27 15:56:48 -04:00
scottjehl
ef1b0d94ae
added the $.mobile.listview.prototype.options.closeBtnText option for configuring the text of dialog back/close buttons. This also Fixes #1227 (or at least a note within that already-closed issue). Documentation included.
2011-03-27 14:10:16 -04:00
scottjehl
241500a422
quick sample page for testing selects in dialogs
2011-03-27 12:38:33 -04:00
John Bender
4fe0b29a0f
Merge branch 'data-namespacing'
2011-03-25 18:46:00 -07:00
toddparker
f22b7c8395
Updates to rel="external" dialog docs
2011-03-23 12:44:24 -04:00
toddparker
aad79e8a9a
Added rel="external" example to the dialogs docs
2011-03-23 12:39:04 -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
3cae8f8bf0
caught a few more
2011-03-09 21:03:40 -05:00
scottjehl
77ac0f009a
a few more non-namespaced attrs to bring over
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
Jim Hoskins
1b588fa76d
Updated grammatical errors in docs
...
Changed "an" to "a" where appropriate
2011-02-23 01:27:12 +08:00
Ashley Streb
767c35c629
Updating docs to specify that the default transition for dialogs is 'pop'
2011-02-16 22:52:44 -08:00
scottjehl
89cb6d455f
typos in page template urls.
2011-02-04 10:13:56 -05:00
scottjehl
a1867eef58
found a dead link that managed to take down our multipage demo.
2011-02-04 08:08:32 -05: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
toddparker
d79d0e3c45
Updated sample page templates and docs to mobile a3 and jquery 1.5
2011-02-03 16:36:21 -05:00
toddparker
d76234b397
Content tweaks for form theme page, fixed a few broken links
2011-02-01 22:55:10 -05:00
scottjehl
3f938fd2f9
fixed bug where a preset data-url was being prefixed by the base url, rather than replacing the whole hash. Fixes #591
2011-02-01 12:32:02 -05:00
scottjehl
e0d419d001
updated some docs pages to mention data-ajax="false" attribute on links.
2011-02-01 01:20:47 -05:00
scottjehl
b3a8230638
This commit includes simplifications to the hashchange event handling & changePage logic, which results in a few bug fixes and removal of some previous limitations. Details:
...
- jquery.mobile.core.js no longer creates pages from every page and dialog in the DOM automatically at domready. Instead, pages are created as they are referenced via changePage, which can speed up pageload in multi-page documents, and means local "dialogs" referenced via data-rel="dialog" no longer need a data-role="dialog" attribute when served.
- in changePage, "from" is now allowed to be undefined. This simplifies the logic involved in showing the first page, which never had a "from" page, and previously needed a custom pageChange workaround to accommodate that.
- The pageshow event is no longer used as a callback for returning false and preventing the $.mobile.activePage from being set to the newly shown page. In other words, a page always becomes $.mobile.activePage once its shown now (the only reason this was optional before was because of a dialog restriction that's no longer true)
- the hashchange event logic for showing a particular page is now greatly simplified. It either shows the page referenced in location.hash, or if there's no hash it changes to the first page in the dom. This means every pageshow (including the first one) now uses pageChange internally.
- the hashchange event listener is no longer disabled when ajaxEnabled == false. Doing this before prevented local non-ajax page navigation from working properly. To disable hashchange listening, use $.mobile.urlHistory.listeningEnabled. We might consider defining (or moving) this on the $.mobile hash later as well for easier access.
- The internal var $.mobile.startPage is now $.mobile.firstPage, because it's not necessarily the page you started on, but merely a reference to the first "page" in the dom.
- Back buttons are auto-added to every page after the first one you first visit (this includes generated pages, such as those in a multipage document or nested listviews). Keep in mind that a "back" button does not take the place of a standard "home" link, and when building an app with jQuery Mobile, it's good to make use of both (particularly on deep-linked pages). Fixes #908
2011-01-31 17:05:57 -05:00
scottjehl
f842b46474
added data-rel attrs to close buttons
2011-01-31 17:05:41 -05:00
scottjehl
44806bcf58
added a dialog to the demo
2011-01-31 16:51:20 -05:00
scottjehl
b112b6ea84
updated doc version #
2011-01-31 16:45:41 -05:00
scottjehl
c470278a62
added data-direction to "back" link in content, in case the deep-linked page is opened first.
2011-01-30 16:54:33 -05:00
scottjehl
df05143371
edited some nav model info - needs filling out, but outdated info is removed now at least
2011-01-26 22:44:32 -05:00
scottjehl
2c6cc45ad0
incomplete, but close to fixing the dialog-create-history entry piece. Also includes fix for nested-listview deep linking regression.
2011-01-26 14:27:10 -05:00
scottjehl
d9b84f3f60
added a note to docs. Fixes #880
2011-01-25 23:46:09 -05:00
scottjehl
b7001d8148
markup cleanup. Fixes #878
2011-01-25 22:24:05 -05:00
scottjehl
0ba9acfc33
added support for URL updating via a preset data-url on the page div when it is sent from the server.
...
If data-url is set on a page div when it returns from the server, it's value will be used to replace the url in the hash, and as the base url for future requests if it adds additional segments (such as a trailing slash). This will enable developers to work around the limitation of directory links requiring a trailing slash, and will also allow developers to specify a new url after a redirect occurs (such as after a login). Fixes #867
2011-01-24 19:35:45 -05:00
scottjehl
be8eb3d0c6
deprecated data-back attribute on links in favor of data-direction="reverse". Updated docs and relevant demos.
2011-01-23 18:12:46 -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
John Bender
beb40bcd7f
corrected link to multi page template to have rel external per the docs
2011-01-20 00:38:07 -08:00
bclinkinbeard
32056c6873
Added type attribute to script tags and fixed footer comment
2011-01-12 03:52:33 +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
Kin Blas
5961818bb3
Fixed a couple of spots that had the following invalid markup:
...
<pre></code>
2010-12-16 11:15:43 -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
008e7e4c37
changed to reference local js,css
2010-12-07 11:33:04 -05:00
scottjehl
f9e25efeb6
Merge branch 'master' of github.com:jquery/jquery-mobile
2010-12-02 15:19:32 -05:00
Todd Parker
cc2fb7eb42
Actually updated to 1.4.4. Thanks Eric!
2010-12-02 12:27:48 -05:00
Todd Parker
df7de3f54d
Updated jq script link to 1.4.4 on both pages. Also used CDN versions on the multi-page template.
2010-12-02 11:43:58 -05:00
scottjehl
69a91d0854
noted docs to-do
2010-12-01 17:05:28 -05:00
Leon Brocard
42d20b4b08
Update a few remaining links from 1.0a1 to 1.0a2
2010-11-18 22:40:10 +08:00
Todd Parker
bf0a32f540
Updated docs from $.changePage() to $.mobile.changePage(). Fixes #488
2010-11-17 11:00:40 -05:00
Todd Parker
719608d0a7
Added link to demo css file to all docs pages
2010-11-11 14:15:42 -05:00
Todd Parker
6ecfe3d5b3
Removed references to mobilize()
2010-11-11 11:02:46 -05:00
scottjehl
8f9aee12a6
removed js/all redirect. updated files to use js/
2010-11-09 17:57:26 -05:00
Todd Parker
644ef0b778
Re-org of the linking example page to emphasize the ajax vs. non-ajax behavior.
2010-11-09 14:11:49 -05:00
Todd Parker
9165a054ab
Added link formatting example page, moved from lists to pages folder.
2010-11-09 10:52:35 -05:00
Todd Parker
6e62cb9e74
Made each transition link a data-rel="dialog" so it's not tracked in history. Once you played with transitions you were in a deep history stack before.
2010-11-09 10:03:51 -05:00
Todd Parker
358501409b
Added documentation about how to close dialogs and how they aren't tracked in history.
2010-11-05 13:00:06 -04:00
scottjehl
93ba5c4a87
fixed some comment typos. thx @warzauwynn
2010-11-04 22:07:21 -04:00
Jonathan Sharp
b13ddf345c
Fixed typo (changed ther to there)
2010-11-04 06:58:01 +08:00
scottjehl
dc74945b00
updates to content
2010-11-02 00:38:31 -04:00
scottjehl
966e6bc4d2
updated form explanation
2010-11-01 23:56:53 -04:00
scottjehl
bc1d0ba08e
set utf-8
2010-11-01 21:46:29 -04:00
Jonatan Littke
47dcb7747b
Fixed broken <code> element.
2010-10-28 01:34:45 +08:00
scottjehl
e736caebfe
Removed the ajaxClick function and moved its logic into the live click event handler, where it is now refactored and simplified. Thx to Jeffrey Way for ideas that went into this refactor.
...
Also, clicks that are triggered on anchors will now be able to make a new http request, which improves listview behavior when clicking LIs that resolve to external urls.
Included in commit is a new demo/test page with various link types to make sure they behave as expected.
Fixes #272 , Fixes #264
2010-10-23 17:24:06 -04:00
scottjehl
ceca38b8e0
fixed css references in markup
2010-10-23 09:01:31 -04:00
Gabe Hollombe
1fccf9918b
typo fix: change Ajax site and applications to Ajax sites and applications
2010-10-19 21:59:32 +11:00
Gabe
3a7cf2e1f8
fix btweent to between
2010-10-19 16:02:12 +11:00
scottjehl
917e32fc22
updated docs on new data-back attr
2010-10-18 18:20:47 -04:00
Todd Parker
6b03498937
page doc edits
2010-10-18 17:42:07 -04:00
Burin Asavesna
3d224c3877
fix minor typos on doc-pages.html
2010-10-18 13:05:37 +08:00
John Resig
51c4f4a5e2
Disable links to API documentation. Will tackle this weekend.
2010-10-15 22:48:09 -04:00
Todd Parker
e60216a1df
added more icons examples
2010-10-15 20:00:21 -04:00
Todd Parker
30f11b9f60
added boilerplate pages
2010-10-15 20:00:05 -04:00
PattyToland
fcb3fea35d
content edits
2010-10-15 18:07:15 -04:00
PattyToland
a3b6a8481b
content edits
2010-10-15 17:57:56 -04:00
Todd Parker
926934fb10
changed headers to data-theme="b"
2010-10-15 17:12:21 -04:00
PattyToland
5f62b3d53c
pages index content edits
2010-10-15 16:47:13 -04:00
PattyToland
7496105c9f
page theming content edits
2010-10-15 16:44:52 -04:00
PattyToland
1b278e083d
page theming content edits
2010-10-15 16:42:36 -04:00
PattyToland
64005b0033
page theme content edits
2010-10-15 16:41:18 -04:00
PattyToland
e23ae6e02b
page themes content edits
2010-10-15 16:39:57 -04:00
Todd Parker
a6c6e3ac2d
removed extra ui-body class
2010-10-15 16:05:43 -04:00
Todd Parker
fc397cd418
changed link to transition success page
2010-10-15 15:43:04 -04:00
scottjehl
b45af308fc
updated transiton types - added attribution
2010-10-15 15:06:18 -04:00
Todd Parker
b23b083697
added transition success page
2010-10-15 14:52:29 -04:00
scottjehl
53b3d6828b
added the other transitions from jQtouch.
2010-10-15 13:37:49 -04:00
PattyToland
fee8fdea35
content edits
2010-10-15 11:20:39 -04:00
PattyToland
d28125178d
content edits to anatomy page
2010-10-15 11:13:51 -04:00
PattyToland
839d343db7
merging 'anatomy of page' and 'linking' pages
2010-10-15 11:11:30 -04:00
PattyToland
497ea18d06
content update to navmodel page
2010-10-15 10:52:07 -04:00
PattyToland
af07cf808e
content edits to dialog page
2010-10-15 09:27:06 -04:00
PattyToland
5a66d6f860
content edits to dialog page
2010-10-15 09:26:07 -04:00
PattyToland
feee461b3d
content edits to page transitions
2010-10-15 09:15:07 -04:00
PattyToland
e609c1d444
content edits to 'linking pages'
2010-10-15 09:07:21 -04:00
Todd Parker
a778140c23
added link that points to a broken page to demo Ajax error
2010-10-14 15:11:21 -04:00
Todd Parker
a32ab634f8
updated dialog content
2010-10-14 14:44:30 -04:00
Todd Parker
f41cc4c97b
fixing broken links
2010-10-14 00:26:57 -04:00
Todd Parker
0b6840aefb
pages section cleanup
2010-10-14 00:12:17 -04:00
Todd Parker
4d1c98d01b
link edits
2010-10-13 18:42:14 -04:00
Todd Parker
7c39a50de8
More page doc updates
2010-10-13 17:43:20 -04:00
scottjehl
d5cbcf755b
Created a themes directory and moved all CSS and images there.
...
Edited the PHP combiner and .htaccess logic to accommodate this change, as well as allowing manifest files to use a "../" when referencing files, which will be handy when adding themes that don't include structural files yet.
Modified all HTML files to point to /themes/default for their theme.
2010-10-13 13:26:23 -04:00
Todd Parker
c5e0d480c8
added new dialog demos and improved docs
2010-10-13 12:06:04 -04:00