Skip to content
All gists
Back to GitHub
Sign in
Sign up
Sign in
Sign up
{{ message }}
Instantly share code, notes, and snippets.
beags121
3
followers
·
1
following
View GitHub Profile
Sort:
Recently created
Sort options
Recently created
Least recently created
Recently updated
Least recently updated
All gists
1
Forked
1
Starred
1
Sort:
Recently created
Sort options
Recently created
Least recently created
Recently updated
Least recently updated
2 files
0 forks
0 comments
0 stars
beags121
/
navigation.js
Created
Jan 12, 2023
— forked from
joshmcrty/navigation.js
View
navigation.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
/**
* navigation.js
*
* Handles toggling the navigation menu for small screens and enabling tab support for dropdown menus.
*/
(
function
(
)
{
var
container
,
button
,
menu
,
links
;
container
=
document
.
getElementById
(
'site-navigation'
)
;
if
(
!
container
)
You can’t perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.