Commit graph

19 commits

Author SHA1 Message Date
scottjehl
a362a782fa Changed the collapsible cleanup in our docs JS to use click instead of vclick 2011-08-03 13:41:12 -04:00
scottjehl
4c01267306 Moving this call to setDefaultTransition to run at DOM ready, because calling it earlier triggers an error in jQuery core, based on logic in dimensions.js that assumes document.body is defined. I've added a pull request to fix the issue in jQuery core, but for our purposes, this change allows us to work without the fix. 2011-08-03 12:15:04 -04:00
scottjehl
f3e35d49dd more updates to the docs markup. getting close! 2011-06-20 18:53:55 -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
4cbbd7779a docs design updates 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
06020201fc fixed up the themeswitcher 2011-06-17 19:25:35 -04:00
scottjehl
1e01856f5d updated to use namespace 2011-03-09 21:34:03 -05:00
scottjehl
77ac0f009a a few more non-namespaced attrs to bring over 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
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
f6dbe5554c Welcome back, Valencia. Fixes #352 2010-11-04 18:50:43 -04:00
scottjehl
cb13c2f84a updated to use new changePage function, which no longer has a "from" arg 2010-10-21 13:12:25 -04:00
scottjehl
a0b814e26a moved appends over to use $.pageContainer 2010-10-20 12:09:03 -04:00
scottjehl
350d481ccc don't add to navbars either, theme switchster 2010-10-15 19:14:43 -04:00
scottjehl
4abd7b14d2 ye olde theme switcher. appending to all pages now. 2010-10-15 18:03:17 -04:00
scottjehl
6cc749023e renamed Dobson theme "Valencia" 2010-10-15 17:10:38 -04:00
scottjehl
4293bc50c9 new design for the top of the homepage. also, generated the themeswitcher link with js. 2010-10-14 21:56:51 -04:00