Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
BURDOTATTOO committed Aug 24, 2024
1 parent d39733d commit 731854d
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,26 +52,3 @@ $(document).ready(function(){




$(document).ready(function() {
//responsive menu toggle
$("#menutoggle").click(function() {
$('.xs-menu').toggleClass('displaynone');

});
//add active class on menu
$('ul li').click(function() {
e.preventDefault();
$('li').removeClass('active');
$(this).addClass('active');
});
//drop down menu
$(".drop-down").hover(function() {
$('.mega-menu').addClass('display-on');
});
$(".drop-down").mouseleave(function() {
$('.mega-menu').removeClass('display-on');
});

});

0 comments on commit 731854d

Please sign in to comment.