PageSourceSearch

https://www.sirjohnsherbrooke.co.uk/_includes/editor/template-javascript.asp?cache=260715

js sirjohnsherbrooke.co.uk collected 2026-09-29 11:29:04 UTC 1,516 bytes, 3 lines download raw bytes

1"use strict";function runTemplateAccordion(e,t,n,i){var a=$(e);if(a.length<1)return!1;document.querySelectorAll(n).forEach((e=>{e.setAttribute("role","region")})),document.querySelectorAll(t).forEach((e=>{e.setAttribute("tabindex",0),e.setAttribute("role","button"),e.setAttribute("aria-label","Open or close the "+e.textContent+" accordion"),e.addEventListener("keydown",(function(t){"Space"!==t.code&&" "!==t.key||(t.preventDefault(),e.click())}))})),a.unbind("click"),a.on("click","> "+t,(function(){var t=$(this),a=t.parent(e);a.siblings(e).removeClass("active").find(n).slideUp(i),a.hasClass("active")?(a.removeClass("active"),a.attr("aria-expanded","false"),t.next(n).stop().slideUp(i)):(a.addClass("active"),a.attr("aria-expanded","true"),t.next(n).stop().slideDown(i),t.next(n).find("img[data-fill]").each((function(){resizeImage($(this),$($(this).attr("data-fill"))),$(document).off("load",$(this))})))}))}function runTemplateLinkBox(e,t,n){var i=0;$(e).each((function(){var e=$(this),a=e.find(t),o=e.find(n);if(a&&o&&0===a.children().length&&"Double Click To Change The Link"===a.text()&&""!=o.text()){var l="linkboxLink"+i;a.attr("aria-labelledby",l),o.attr("id",l),a.html("")}i++}))}
1$(document).ready((function(e){boolAdminMode||(runTemplateAccordion(".template--accordion",".template--accordion__title",".template--accordion__container",400),runTemplateLinkBox(".template--linkbox","a.link__box__link",".link__box__container__header"))}));function runPreview() {
2    // Functions for preview go here
3}

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.