Use custom toggle for smallscreen nav.
This commit is contained in:
parent
7a94df491a
commit
7811150fe5
@ -74,6 +74,8 @@
|
||||
{else}
|
||||
{if NOT $admin_vars.no_sidebar}
|
||||
<div class="smallscreen">
|
||||
<a id="nav-toggle" href="#main_menu"><span class="icon-menu"></span><span class="visuallyhidden"> Navigation</span></a> {* i18n *}
|
||||
|
||||
<nav id="main_menu">
|
||||
<h2 class="visuallyhidden">Main menu</h2> {* i18n *}
|
||||
|
||||
|
@ -1049,9 +1049,9 @@ var AccessifyHTML5 = function (defaults, more_fixes) {
|
||||
animate: true, // Boolean: Use CSS3 transitions, true or false
|
||||
transition: 250, // Integer: Speed of the transition, in milliseconds
|
||||
// String: Label for the navigation toggle
|
||||
label: "<span class='icon-menu'></span><span class='visuallyhidden'> Navigation</span>",
|
||||
label: "",
|
||||
insert: "before", // String: Insert the toggle before or after the navigation
|
||||
customToggle: "", // Selector: Specify the ID of a custom toggle
|
||||
customToggle: "nav-toggle", // Selector: Specify the ID of a custom toggle
|
||||
openPos: "relative", // String: Position of the opened nav, relative or static
|
||||
jsClass: "js", // String: 'JS enabled' class which is added to <html> el
|
||||
debug: false, // Boolean: Log debug messages to console, true or false
|
||||
|
Loading…
x
Reference in New Issue
Block a user