PageSourceSearch

https://www.dintonadventuregolf.co.uk/shared/user_pages/v3_include/js/plugin/controls.min.js?v=jan25v5

js dintonadventuregolf.co.uk collected 2026-09-26 12:05:14 UTC 13,216 bytes, 1 lines download raw bytes

1$("#back-top").click(function(){$("body,html").animate({scrollTop:0},800);return false});$(document).ready(function(){$("img[src*='spacer.gif']").each(function(){$(this).remove()});$(".r8_col3 iframe").not(".handsoff").each(function(){var vid=$(this);var ratio=vid.attr("height")/vid.attr("width");var containerWidth=vid.parent().width();if(vid.attr("width")>containerWidth){vid.attr("width",containerWidth).attr("height",containerWidth*ratio)}});$(window).resize(function(){$(".r8_col3 iframe").each(function(){var vid=$(this);var ratio=vid.attr("height")/vid.attr("width");var containerWidth=vid.parent().width();vid.attr("width",containerWidth).attr("height",containerWidth*ratio)})});$(".splash_content iframe").not(".handsoff").each(function(){var vid=$(this);var ratio=vid.attr("height")/vid.attr("width");var containerWidth=vid.parent().width()*.9;if(vid.attr("width")>containerWidth){vid.attr("width",containerWidth).attr("height",containerWidth*ratio)}});$(window).resize(function(){$(".splash_content iframe").each(function(){var vid=$(this);var ratio=vid.attr("height")/vid.attr("width");var containerWidth=vid.parent().width()*.9;vid.attr("width",containerWidth).attr("height",containerWidth*ratio)})});$(".r8_col3 .map-square").each(function(){var map=$(this);var width=map.width();map.height(width);map.attr("heihgt",width)});$(window).resize(function(){$(".r8_col3 .map-square").each(function(){var map=$(this);var width=map.width();map.height(width);map.attr("height",width)})});$(".r8_col3 .map-23").each(function(){var map=$(this);var width=map.width();map.height(width*2/3);map.attr("heihgt",width*2/3)});$(window).resize(function(){$(".r8_col3 .map-23").each(function(){var map=$(this);var width=map.width();map.height(width*2/3);map.attr("height",width*2/3)})});$(".r8_col3 .map-12").each(function(){var map=$(this);var width=map.width();map.height(width/2);map.attr("heihgt",width/2)});$(window).resize(function(){$(".r8_col3 .map-12").each(function(){var map=$(this);var width=map.width();map.height(width/2);map.attr("height",width/2)})});$(".r8_col3 .map-13").each(function(){var map=$(this);var width=map.width();map.height(width/3);map.attr("heihgt",width/3)});$(window).resize(function(){$(".r8_col3 .map-13").each(function(){var map=$(this);var width=map.width();map.height(width/3);map.attr("height",width/3)})});$(".r8_col3 .map-14").each(function(){var map=$(this);var width=map.width();map.height(width/4);map.attr("heihgt",width/4)});$(window).resize(function(){$(".r8_col3 .map-14").each(function(){var map=$(this);var width=map.width();map.height(width/4);map.attr("height",width/4)})});$("button").popover({html:true});$("object, embed, .format-video iframe").each(function(){var orig=$(this);var ratio=orig.attr("height")/orig.attr("width");var parWidth=orig.parents().find("p:last").width();if(orig.attr("width")>parWidth){orig.attr("width",parWidth).attr("height",parWidth*ratio)}});$(".jqCookieAction").click(function(){var this_type=$(this).data("type");var this_value=$(this).data("value");var request=$.ajax({type:"POST",url:"/shared/cookie_consent.cfm",data:{type:this_type,value:this_value}});request.done(function(msg){$("#cookie_footer").height(70);$("#cookie_footer").hide()})});$(".jqCookieCorner").click(function(){$("#cookie_footer").height(70);$("#cookie_footer").toggle()});$(".jqCookieMore").click(function(){if($(window).width()>991)var fullHeight=350;else var fullHeight=700;var this_height=$("#cookie_footer").height();if(this_height<=70)var new_height=fullHeight;else var new_height=70;$("#cookie_footer").animate({height:new_height},200)});$(".r8_col3 table").not("td > table").not("table.nocompress").each(function(){var containerWidth=$(this).parent().width();var tableWidth=$(this).width();var myTablePercent=Math.round(tableWidth/containerWidth*100);$(this).css("width",myTablePercent+"%")});$(".r8_col3 td table").not("table.nocompress").each(function(){var cellWidth=$(this).parent("td").width();var tableWidth=$(this).width();var myTablePercent=Math.round(tableWidth/cellWidth*100);$(this).css("width",myTablePercent+"%")});$(".r8_col3 table").not("table.nocompress").addClass("table").wrap("<div class='table-responsive'></div>");$(".r8_col3 img").not(".gallery-img").addClass("img-responsive");$(".splash_content img").not(".gallery-img").addClass("img-responsive");$("#r8_popup img").not(".gallery-img").addClass("img-responsive");$(".r8modal img").not(".gallery-img").addClass("img-responsive");$(".r8modal img").css("height","auto");$(".r8_col3 img").addClass("fadeInRight");$(".r8_col3 a:has(> img:first-child)").addClass("r8-anim8-img");$(".r8_col3 a.btn").addClass("r8-anim8-btn");$("tr").each(function(){var totalTDs=$(this).find("td").length;var emptyTDS=0;$(this).find("td").each(function(){if($(this).html().replace(/\s|&nbsp;/g,"").length==0){emptyTDS+=1}});if(emptyTDS!=0&&emptyTDS==totalTDs){$(this).addClass("emptyContent")}});$("p").each(function(){var $this=$(this);if($this.html().replace(/\s|&nbsp;/g,"").length==0)$this.addClass("emptyContent")});$("h1").each(function(){var $this=$(this);if($this.html().replace(/\s|&nbsp;/g,"").length==0)$this.addClass("emptyContent")});$("h2").each(function(){var $this=$(this);if($this.html().replace(/\s|&nbsp;/g,"").length==0)$this.addClass("emptyContent")});$("h3").each(function(){var $this=$(this);if($this.html().replace(/\s|&nbsp;/g,"").length==0)$this.addClass("emptyContent")});$(function(){$("nav#mobile-menu").mmenu({slidingSubmenus:false,moveBackgroun
1d:true})},{listClass:"mobile-nav"});$(function(){var $menu=$("nav#mobile-menu-right");$menu.mmenu({position:"right",classes:"mm-light",header:{add:true,update:true,title:"Contact Us"}})});var $video=$("video[autoplay]"),videoElement=$video[0];$video.on("canplaythrough",function(){this.play()});jQuery.fn.isdefined=function(){return this.length>0};if($("videoElement.readyState").isdefined()){if(videoElement.readyState>3){videoElement.play()}}$('a[href$="_r8contactform_"]').click(function(){$("#r8_contact_form").modal("show");return false});$('a[href$="_r8mailinglist_"]').click(function(){$("#r8_mailing_list").modal("show");return false});$(function(){$(".datepicker").datepicker({dateFormat:"DD, d MM, yy"})});$(".fancyValidate").each(function(){$(this).validate({highlight:function(element){var id_attr="#"+$(element).attr("id")+"_1";$(element).closest(".form-group").removeClass("has-success").addClass("has-error");$(id_attr).removeClass("glyphicon-ok").addClass("glyphicon-remove")},unhighlight:function(element){var id_attr="#"+$(element).attr("id")+"_1";$(element).closest(".form-group").removeClass("has-error").addClass("has-success");$(id_attr).removeClass("glyphicon-remove").addClass("glyphicon-ok")},errorElement:"span",errorClass:"help-block",errorPlacement:function(error,element){if(element.length){error.insertAfter(element)}else{error.insertAfter(element)}},submitHandler:function(form){var recaptcha_url="https://www.google.com/recaptcha/api.js?render=6Lc0fdsUAAAAAK0Pc7BF6JabqyHheb_iUjkyDPyj";$.getScript(recaptcha_url,function(){grecaptcha.ready(function(){grecaptcha.execute("6Lc0fdsUAAAAAK0Pc7BF6JabqyHheb_iUjkyDPyj",{action:"pagetype"}).then(function(token){$("form").prepend('<input type="hidden" name="G-RECAPTCHA-RESPONSE" value="'+token+'">');var data=new FormData(form);var request=$.ajax({type:"POST",enctype:"multipart/form-data",url:"shared/user_pages/v3_contactform_action.cfm",data:data,processData:false,contentType:false,cache:false});request.done(function(msg){if(typeof dataLayer!=="undefined"){dataLayer.push({event:"form-submit-r8"})}if(msg.indexOf("Success")!=-1){$(".fancyValidate").trigger("reset");$("#contactFormModal").modal({backdrop:"static",keyboard:false});$(".customMessageSlot").html(msg);$("#contactFormModal").modal("show")}else if(msg.indexOf("allok")!=-1){$(".fancyValidate").trigger("reset");$("#contactFormModal").modal({backdrop:"static",keyboard:false});$("#contactFormModal").modal("show")}else if(msg.indexOf("captcha")!=-1){$("#captchaModal").modal("show")}else if(msg.indexOf("mailingListOK")!=-1){$("#mailingListOKModal").modal("show")}else if(msg.indexOf("mailingListDuplicate")!=-1){$("#mailingListDuplicateModal").modal("show")}else if(msg.indexOf("broken")!=-1){alert(msg);$(".fancyValidate").trigger("reset")}});request.fail(function(jqXHR,textStatus){alert("SORRY your email was not sent: \nPlease check your form entries \n(remove any '#' symbols)")})})})})}})});for(i=1;i<13;i++){$(".r8Hide"+i+"section").parent().find(".wow").css({visibility:"visible"})}for(i=1;i<13;i++){$(".r8Display"+i).show()}$("[class^='r8Hide']").filter(function(){return/^r8Hide([1-9][0-9]?|99)$/.test(this.className)}).hide();$("[class^='r8Hide'] section").removeClass("wow");$("[class^='r8Show']").click(function(){const classNumber=$(this).attr("class").match(/r8Show(\d+)/)[1];$(".r8Hide"+classNumber).toggle(500)});$("[class^='r8Toggle']").click(function(){const classMatch=$(this).attr("class").match(/r8Toggle(\d+)/);if(classMatch&&classMatch[1]){const classNumber=classMatch[1];$(".r8Hide"+classNumber).toggle(500);$("[class^='r8Hide']").not(".r8Hide"+classNumber).hide(500)}else{console.error("Could not extract class number from:",$(this).attr("class"))}});var screenWidth=$(window).width();if(screenWidth<800){$(".r8vid").removeAttr("autoplay")}else{$(".r8vid").attr("autoplay")}});if($(window).width()<1200||navigator.userAgent.match(/(iPod|iPhone|iPad)/)){$(".parallax01").css("background-attachment","scroll");$(".parallax02").css("background-attachment","scroll");$(".parallax03").css("background-attachment","scroll");$(".parallax04").css("background-attachment","scroll");$(".parallax05").css("background-attachment","scroll");$(".parallaxV01").css("background-attachment","scroll");$(".parallaxV02").css("background-attachment","scroll");$(".parallaxV03").css("background-attachment","scroll");$(".parallaxV04").css("background-attachment","scroll");$(".parallaxV05").css("background-attachment","scroll")}if($(window).width()<991){$('body p[style="text-align: justify;"]').css("text-align","left")}jQuery.fn.isdefined=function(){return this.length>0};
1if($(".landscape").isdefined()){var lw=$(".landscape").width();$(".landscape").css({height:lw+"px"});$(".landscape a img").css({height:lw+"px",width:"auto "})}if($(".portrait").isdefined()){var pw=$(".portrait").width();$(".portrait").css({height:pw+"px"})}$(".R8scrollingRow .scrollPortBox").each(function(){var screenWidth=$(window).width();if(screenWidth>931){$(this).css({width:screenWidth*.3+"px"});$(this).find(".site-img").css({height:screenWidth*.3*.6351+"px"})}});$("#infotab .R8scrollingRow .scrollPortBox").each(function(){$(this).css({width:380+"px"});$(this).find(".site-img").css({height:380*470/740+"px"})});jQuery(document).ready(function(){$("#formSubmitted").hide();$(".clearForm").click(function(){$(".modal").modal("hide");$("#contact-form").hide();$("#formSubmitted").show()});$.validator.setDefaults({submitHandler:function(form){var recaptcha_url="https://www.google.com/recaptcha/api.js?render=6Lc0fdsUAAAAAK0Pc7BF6JabqyHheb_iUjkyDPyj";$.getScript(recaptcha_url,function(){grecaptcha.ready(function(){grecaptcha.execute("6Lc0fdsUAAAAAK0Pc7BF6JabqyHheb_iUjkyDPyj",{action:"pagetype"}).then(function(token){$("form").prepend('<input type="hidden" name="G-RECAPTCHA-RESPONSE" value="'+token+'">');var request=$.ajax({type:"POST",url:"shared/user_pages/v3_contactform_action.cfm",data:$(form).serialize()});request.done(function(msg){if(typeof dataLayer!=="undefined"){dataLayer.push({event:"form-submit-r8"})}if(msg.indexOf("allok")!=-1){document.getElementById("contact-form").reset();$("#contactFormModal").modal({backdrop:"static",keyboard:false});$("#contactFormModal").modal("show")}else if(msg.indexOf("captcha")!=-1){$("#captchaModal").modal("show")}else if(msg.indexOf("mailingListOK")!=-1){$("#mailingListOKModal").modal("show")}else if(msg.indexOf("mailingListDuplicate")!=-1){$("#mailingListDuplicateModal").modal("show")}else if(msg.indexOf("broken")!=-1){document.getElementById("contact-form").reset();$("#errorModal").modal("show")}});request.fail(function(jqXHR,textStatus){alert(msg)})})})})}});$(".formToValidate").each(function(){$(this).validate({focusCleanup:true,rules:{name:{required:true},email:{required:true,email:true},subject:{required:true}}})})});$(".hvrbox").hover(function(){var bar=$(this).find(".textWrapper2");var barlength=$(bar).width();var border=$(this).find(".animated-bottom-border");$(border).animate({width:barlength},500)},function(){var bar=$(this).find(".textWrapper2");var barlength=$(bar).width();var border=$(this).find(".animated-bottom-border");$(border).animate({width:0},250)});$('a[href*="#"]').not('[href="#"]').not('[href="#0"]').not(".nav-tabs a").not(".slide a").click(function(event){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var target=$(this.hash);target=target.length?target:$("[name="+this.hash.slice(1)+"]");if(target.length){event.preventDefault();$("html, body").animate({scrollTop:target.offset().top},1e3,function(){var $target=$(target);$target.focus();if($target.is(":focus")){return false}else{$target.attr("tabindex","-1");$target.focus()}})}}});

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.