Commit Graph

7 Commits

Author SHA1 Message Date
Lance Willett
e86e4fae4b Twenty Twelve: spaces to tabs in navigation.js, props obenland. See #21685.
git-svn-id: https://develop.svn.wordpress.org/trunk@21616 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 16:50:05 +00:00
Lance Willett
6255e979f8 Twenty Twelve: rework navigation to remove need for jQuery and support wp_page_menu markup better. Fixes #21562.
git-svn-id: https://develop.svn.wordpress.org/trunk@21611 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 21:07:19 +00:00
Lance Willett
35ad2034b2 Twenty Twelve: re-implement the hiding of toggle element when empty menu is present, see #21562 and r21520 props cfinke.
git-svn-id: https://develop.svn.wordpress.org/trunk@21557 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 19:14:51 +00:00
Lance Willett
c148784433 Twenty Twelve: improve navigation to be mobile-first and not rely on JS for hiding and showing, props obenland for patches. See #21562.
git-svn-id: https://develop.svn.wordpress.org/trunk@21554 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 18:35:33 +00:00
Andrew Nacin
50bf8dfaef Remove Twenty Twelve from 3.4. see #19978. see http://wp.me/pbNCB-yA.
git-svn-id: https://develop.svn.wordpress.org/trunk@20219 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 18:41:54 +00:00
Lance Willett
981992f8fb Twenty Twelve: make proper use of the cached jQuery collection in navigation.js, props mattwiebe. Fixes #20131.
git-svn-id: https://develop.svn.wordpress.org/trunk@20017 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 19:17:04 +00:00
Lance Willett
91511b6a18 Twenty Twelve: add support for toggling the navigation menu in small screens. See #19978.
Triggered when a viewport is under 600 pixels wide. This functionality depends on JS being enabled, and will naturally fall back to a normal, expanded menu for a client without JS.

Props iandstewart for the original JS file and concept.


git-svn-id: https://develop.svn.wordpress.org/trunk@20007 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:59:47 +00:00