Commit graph

12 commits

Author SHA1 Message Date
scottjehl
2e4c537783 a little refactor to improve support for icons, text-only, among other things. Demo page has 3 different globalnav variations now. 2010-10-04 12:50:25 -04:00
scottjehl
28c0c41e30 removed inline gzips on a few more files 2010-10-02 11:47:02 -04:00
scottjehl
22eecd11dc refactored. globalnavs can now be generated on any div, and all they do is the "more" nav behavior. Plugin may need renaming...
in these demos, the globalnavs are inside a footer div.
2010-10-01 23:37:43 -04:00
scottjehl
af250415b2 updated markup to use data-role attrs in place of classes for header/content/footer 2010-09-21 10:58:54 -04:00
scottjehl
08f1ec9bf8 rewrite of globalnav plugin. Anything beyond 3 links auto-generates a "more..." button and creates a fully navigable, scrollable page with all the links in a grid view. 2010-09-19 10:51:21 -04:00
scottjehl
f9f236fb8b Big update:
In starting markup, pages should now be identified with the attribute data-role="page".  This allows us to then add ui-page programatically, hiding all non-active pages, and apply ui-page-active to one page at a time to show it.

mobile.js is updated to find pages by this attribute now, instead of ui-page class.

fixes issue 32
2010-09-18 12:20:35 -04:00
scottjehl
125cb6c156 changed globalnav logic to do the following:
- globalnav elements can now be included at the end of any ui-page div
- mobilize will create the globalnav when it finds one, append outside of ui-page to persist across pages
- when a new page is loaded that includes a globalnav, old globalnav will be replaced with the new one.
2010-09-18 10:55:37 -04:00
scottjehl
abef220bef made some updates to fix support for globalnav plugin. Now you identify a globalnav with data-role="globalnav". 2010-09-17 18:44:55 -04:00
scottjehl
94be57ef22 removed unnecessary theme classes from headers & footers 2010-09-16 12:21:52 -04:00
scottjehl
44af14989f updated demo title / desc 2010-09-14 13:19:18 -04:00
scottjehl
eb2805f9d9 fixed up globalnav.js plugin and demo page. This could potentially replace the tabs plugin...
CSS updates for globalnav styling.

small changes to mobile.js to make globalNav demo init once at domready, not per ui-page.
2010-09-14 11:44:16 -04:00
scottjehl
1d0fd4a7d8 committing all the mobiley goodness. 2010-09-10 18:23:13 -04:00