PageSourceSearch

https://alfanooralsurgery.com/wp-content/themes/alfano/js/dropdown-hover.js?ver=1791149179

js alfanooralsurgery.com collected 2026-10-04 21:27:21 UTC 968 bytes, 47 lines download raw bytes

1jQuery( document ).ready(
2
3		/**
4		 * Compatible drop-down menu issue.
5		 */
6		function($) {
7				var windowWidth = window.innerWidth;
8			
9				/**
10				 * Add active parent links on navigation
11				 */
12				$( '.navbar .dropdown > a' ).click(
13					function () {
14						//Do nothing if it's an empty hash.
15						
16						if ( $( this ).attr( 'href' ) === '#' ) {
17							return false;
18						}
19						location.href = this.href;
20						return false;
21						
22					}
23				);
24				
25				if ( windowWidth >= 768 ) {
26					/**
27					 * Add Hover Dropdown
28					 */
29					$('.navbar .dropdown').hover(
30						function() {
31							$(this).find('.dropdown-menu').first().stop(true, true).delay(250).slideDown();
32						},
33						function() {
34							$(this).find('.dropdown-menu').first().stop(true, true).delay(100).slideUp();
35						}
36					);
37				}
38				else {
39					/**
40					 * Always show sub-menu on the mobile screen
41					 */
42					$('.dropdown-menu').toggleClass('show');
43				}
44
45		}
46		
47( jQuery ));

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.