Commit graph

22 commits

Author SHA1 Message Date
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
Todd Parker
ac351b92e9 more docs edits for pages section 2010-10-11 17:49:12 -04:00
Todd Parker
be385a7162 new pages & links docs pages 2010-10-11 17:35:29 -04:00