PageSourceSearch

https://markaketab.com/wp-content/themes/websima/templates/mobile-menu/mobile-menu.js

js markaketab.com collected 2026-10-07 16:47:58 UTC 921 bytes, 31 lines download raw bytes

1/* jQuery(document).ready(function($) {
2    $('.hamburger-btn').click(function() {
3        $('.hamburger-content').toggleClass('visible');
4        $('.overlay-menu').toggleClass('visible');
5    });
6}); */
7jQuery(document).ready(function($) {
8	$(".hamburger-btn").click(function(e){
9		e.preventDefault();
10		$(".hamburger-content").toggleClass("show");
11		$(".overlay-menu").toggleClass("show");
12	});
13
14	$(".close-btn").click(function(e){
15		e.preventDefault();
16		$(".hamburger-content").toggleClass("show");
17		$(".overlay-menu").toggleClass("show");
18	});
19
20
21
22
23
24    $(".mobile-menu ul.sub-menu").hide();
25    $(".mobile-menu li.menu-item-has-children").append('<span class="caret"></span>');
26    $(".mobile-menu li.menu-item-has-children .caret").unbind('click').click(function() {
27        $(this).siblings('ul.sub-menu').slideToggle();
28        $(this).parent().toggleClass('active');
29    });
30
31}); 

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.