1$(function () { 2 let wowOptions = { 3 effect: "basic_linear", 4 prev: "", 5 next: "", 6 duration: 6000, 7 delay: 6000, 8 width: 1200, 9 height: 550, 10 autoPlay: true, 11 autoPlayVideo: false, 12 playPause: false, 13 stopOnHover: false, 14 loop: false, 15 bullets: 1, 16 caption: false, 17 captionEffect: "parallax", 18 controls: false, 19 controlsThumb: false, 20 responsive: 1, 21 fullScreen: false, 22 gestures: 2, 23 onBeforeStep: 0, 24 images: 0, 25 }; 26 if ($("#wowslider-container1").length > 0) $("#wowslider-container1").wowSlider(wowOptions); 27 28 //! this script opens all external links to a new window 29 $(document).on("click", "a[href^=http]", function (event) { 30 if (this.href.indexOf(location.hostname) == -1) { 31 event.preventDefault(); 32 $(this).attr({ 33 target: "_blank", 34 title: "Opens in a new window", 35 }); 36 window.open($(this).attr("href")); 37 38 //! this will open up a confirmation dialog for all new window 39 // const confirmBox = confirm("Are you sure you want to go to an external source?"); 40 // if (confirmBox) window.open($(this).attr("href")); 41 } 42 }); 43 44 const form = ` 45 <form action="/page/map" id="form-zone" method="POST"> 46 <div class="ui search"> 47 <div class="ui icon input" style="width: 100%;"> 48 <input class="prompt" type="text" name="search_address" placeholder="Your address here..." /> 49 <i class="search icon" onclick="document.getElementById('form-zone').submit()"></i> 50 </div> 51 <div class="results"></div> 52 </div> 53 </form> 54 `; 55 if ($("#zone-page .column").length) { 56 $("#zone-page .column").prepend(form); 57 } 58});
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.