Commit graph

52 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
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
scottjehl
91109ebbd0 better page titles 2011-03-31 12:56:47 -04:00
toddparker
e9e7a78e99 Fixed a minor grammatical error in the pages docs. 2011-03-30 22:31:18 -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
scottjehl
89cb6d455f typos in page template urls. 2011-02-04 10:13:56 -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
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
b112b6ea84 updated doc version # 2011-01-31 16:45:41 -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
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
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
Leon Brocard
42d20b4b08 Update a few remaining links from 1.0a1 to 1.0a2 2010-11-18 22:40:10 +08: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
scottjehl
bc1d0ba08e set utf-8 2010-11-01 21:46:29 -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
Burin Asavesna
3d224c3877 fix minor typos on doc-pages.html 2010-10-18 13:05:37 +08:00
Todd Parker
30f11b9f60 added boilerplate pages 2010-10-15 20:00:05 -04:00
Todd Parker
a6c6e3ac2d removed extra ui-body class 2010-10-15 16:05:43 -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
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
71bd3a114a fixed code example formatting 2010-10-12 17:23:48 -04:00
scottjehl
b11a45f615 switched up padding and margins on content div. Now it will get 15px padding, unless its a fullscreen page.
Inset listviews have no margin now, and regular listviews have -15px margins. Also, collapsibles now have no padding.

Updated HTML to remove ui-body classes for content divs, to match these changes.

Fixes #161
2010-10-12 15:50:28 -04:00
scottjehl
091c00a9cf removed media attrs in markup. We can do this internally in the css if necessary, but in general, this css only applies to js-generated classes anyway. 2010-10-12 15:14:07 -04:00
scottjehl
65cd3ae0ab fixed paths to js and css files when these files are opened standalone 2010-10-11 19:44:14 -04:00