Commit graph

134 commits

Author SHA1 Message Date
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