PageSourceSearch

https://homermarrs.com/wp-content/themes/chocolat/js/navimenu.js

js homermarrs.com collected 2026-09-27 06:32:09 UTC 1,653 bytes, 54 lines download raw bytes

1var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
2let window = _____WB$wombat$assign$function_____("window");
3let self = _____WB$wombat$assign$function_____("self");
4let document = _____WB$wombat$assign$function_____("document");
5let location = _____WB$wombat$assign$function_____("location");
6let top = _____WB$wombat$assign$function_____("top");
7let parent = _____WB$wombat$assign$function_____("parent");
8let frames = _____WB$wombat$assign$function_____("frames");
9let opens = _____WB$wombat$assign$function_____("opens");
10/* ------------------------------------
11	navimenu.js
12	Mignon Style
13	http://mignonstyle.com/
14------------------------------------ */
15jQuery(function($){
16	var replaceWidth = 640;
17	var timer = false;
18
19	chocolat_navi_menu();
20
21	// resize
22	$(window).resize(function(){
23		if(timer !== false){
24			clearTimeout(timer);
25		}
26		timer = setTimeout(function(){
27			chocolat_navi_menu();
28		}, 200);
29	});
30
31	function chocolat_navi_menu(){
32		var windowWidth = parseInt($(window).width());
33
34		if(windowWidth > replaceWidth){ // 640
35			chocolat_menu_slide();
36		}else if(windowWidth <= replaceWidth){
37			$('.globalnav > ul li').unbind('hover');
38			$('div.globalnav ul ul').show();
39		}
40	}
41
42	function chocolat_menu_slide(){
43		$('.globalnav > ul li').hover(function(){
44			if($('>ul', this).size()){
45				$('>ul:not(:animated)', this).slideDown('fast');
46			}
47		},function(){
48			if($('>ul', this).size()){
49				$('>ul', this).slideUp('fast');
50			}
51		});
52	}
53});
54}

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.