PageSourceSearch

https://www.birchhotel.co.uk/wp-content/plugins/divi-assistant/D5/…n-menu-keyboard-navigation.min.js?ver=2.3.0

js birchhotel.co.uk collected 2026-10-05 01:45:22 UTC 1,548 bytes, 1 lines download raw bytes

1jQuery(document).ready(function(e){e(window).width()>980&&(e("li.menu-item.menu-item-has-children").on("mouseenter",function(){e(this).children("button.dropdown-toggle").attr("aria-expanded","true")}),e("li.menu-item.menu-item-has-children").on("mouseleave",function(){e(this).children("button.dropdown-toggle").attr("aria-expanded","false")}),e("header li.menu-item.menu-item-has-children > a:not(.et_mobile_menu a)").each(function(){let t=window.getComputedStyle(this,"::after"),n=t.getPropertyValue("content");if(n&&"none"!==n&&'""'!==n){let a=e(this),r=e.trim(a.text()),o=(parseInt(t.getPropertyValue("width"),10)-8)/2+parseInt(t.getPropertyValue("right"),10),i=(parseInt(t.getPropertyValue("height"),10)-8)/2+parseInt(t.getPropertyValue("top"),10),d=e("<button>",{class:"dropdown-toggle","aria-expanded":"false","aria-label":r+": submenu","aria-haspopup":"true",style:"display: none;"});d.css({right:o+"px",top:i+"px"}),isNaN(o)||isNaN(i)||a.append(d)}}),e(document).on("keydown",".dropdown-toggle",function(t){("Tab"===t.key||9===t.keyCode||"Enter"===t.key||13===t.keyCode)&&e(this).css("display","")}),e(document).on("keydown",".dropdown-toggle",function(t){if("Enter"===t.key||13===t.keyCode){let n=e(this),a=n.parent().parent(),r="true"===n.attr("aria-expanded");e("li.menu-item.menu-item-has-children").each(function(){e(this).trigger("mouseleave").removeClass("et-hover").find(".dropdown-toggle").attr("aria-expanded","false")}),r||(a.trigger("mouseenter"),a.addClass("et-hover"),n.attr("aria-expanded","true")),t.preventDefault()}}))});

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.