Skip to content

Commit

Permalink
started with jquery
Browse files Browse the repository at this point in the history
  • Loading branch information
jen67 committed Dec 28, 2023
1 parent a6159be commit 07589dc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions J-query-sidenav/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@


// Jquery

(function () {

"use strict";

$('ul li ul').hide();

$('.menulink').click(function () {
Expand All @@ -39,4 +42,6 @@ $('.menulink').click(function () {
$('ul li ul').not(thisMenu).hide();

thisMenu.toggle();
});
});

})();

0 comments on commit 07589dc

Please sign in to comment.