PageSourceSearch

http://www.africanfeministforum.com/wp-content/themes/aff_custom122/js/navigation-x55323.js

js africanfeministforum.com collected 2026-10-02 07:47:41 UTC 631 bytes, 27 lines download raw bytes

1/**
2 * navigation.js
3 *
4 * Handles toggling the navigation menu for small screens.
5 */
6( function() {
7	var container, button, menu;
8	container = document.getElementById( 'top-nav' );
9	if ( ! container ) {
10		return;
11	}
12	button = container.getElementsByTagName( 'button' )[0];
13	if ( 'undefined' === typeof button ) {
14		return;
15	}
16	menu = container.getElementsByTagName( 'ul' )[0];
17	// Hide menu toggle button if menu is empty and return early.
18	if ( 'undefined' === typeof menu ) {
19		button.style.display = 'none';
20		return;
21	}
22	(function($){
23		$("#menu_toggle").click(function(){
24		$("#menu").toggle(200);
25		});
26	 })(jQuery);
27} )();

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.