1var navigation_slider = function(){���� //calculate image height�� width_ratio = window_width/nav_width ��/* if (width_ratio > 1){�� image_height = nav_set_height;�� }else{�� image_height = width_ratio*nav_set_height;�� }*/�� gelHeaderHeight = 30;�� image_height = window_height-gelHeaderHeight;�� �� if (image_height > nav_set_height){�� image_height = nav_set_height;�� }���� //display amount of slider text according to window height �� if ((window_width<1024)&&(window_width>767)&&(window_width-window_height)){�� jQuery('.short').css({display:"none"});�� }else{�� jQuery('.tall').css({display:"none"});�� }�� ��//calculate image overflow either side of browser�� main_image_overflow = Math.abs((window_width-nav_width)/2);�� �� jQuery('.top_title').hide(); �� jQuery('.homeNav').find('.container').hide(); �� �� �� if (window_width < 767){�� initialise_mobile_sliders();�� �� //top section�� jQuery(".nav_item_first").css({ �� backgroundPosition: "0px 0px", �� backgroundRepeat:"no-repeat", �� }); �� //not shown�� jQuery(".nav_item_last").css({ �� height:"0px" �� }); �� //add background image to rows�� var nav_index = 0;�� jQuery('.nav_item').each(function(){ �� yPosition = (nav_index * mobile_nav_height) + mobile_first_nav;�� jQuery(this).css({ �� backgroundPosition: "0px -" + yPosition + "px", �� backgroundRepeat:"no-repeat", �� height: mobile_nav_height + "px", �� });�� nav_index = nav_index + 1;�� }); �� //set header to increase when slider open��// jQuery('#homeHeader').css({ �� headerMaxHeight = (nav_index * mobile_nav_height) + 760 + mobile_first_nav + "px" ��// });�� �� //click animation activity �� jQuery('.nav_item').each(function(){ ����// if (!jQuery(this).hasClass('horse')){�� jQuery(this).find('a').click(function(event){ �� event.preventDefault(); �� �� //close any open sliders�� jQuery('.slider').each(function(){�� jQuery(this).find('.container').fadeOut();�� jQuery(this).stop(true).animate({height:"0px"},1000); �� }); �� //deactive any open links �� jQuery(this).parent().siblings().children().removeClass('active'); �� �� if (jQuery(this).closest('.nav_item').next().css('height')=="0px"){ �� jQuery('.header_titles').fadeOut();�� jQuery('.top_title').fadeIn(); �� jQuery(this).closest('.nav_item').next().stop(true).animate({height:"760px"},1000).queue(function(){�� jQuery(this).find('.container').fadeIn(); �� //jQuery('.header_titles').fadeOut();�� }); �� jQuery('#homeHeader').animate({height:headerMaxHeight},1000); �� jQuery(this).addClass('active');�� }else{�� jQuery(this).closest('.nav_item').next().find('.container').fadeOut();�� jQuery(this).closest('.nav_item').next().stop(true).animate({height:"0px"},1000).queue(function(){ �� jQuery('.top_title').fadeOut();�� jQuery('.header_titles').fadeIn(); �� });�� jQuery('#homeHeader').animate({height:"533px"},1000); �� jQuery(this).removeClass('active');�� //jQuery('.nav_item_last').stop(true).animate({height:"760px"},1000); �� } �� }); ��// }�� }); �� �� }else{�� initialise_sliders();�� �� jQuery('#homeHeader').css({height:image_height + "px"})�� //set navigation container in the center �� �� var nav_index = 0;�� if (window_width > nav_width){�� fixed_nav_width = (nav_width/100)*nav_item_widthPC;�� fixed_nav_last_width = (nav_width/100)*nav_item_last_widthPC + main_image_overflow;�� nav_img_stretch = (window_width/fixed_nav_width)*100;�� nav_last_img_stretch = (window_width/fixed_nav_last_width)*100;�� centerDiv_marginLeft = main_image_overflow + "px"; �� �� }else{�� fixed_nav_width = (window_width/100)*nav_item_widthPC; �� fixed_nav_width_horse = (window_width/100)*nav_item_widthPC; �� fixed_nav_last_width = (window_width/100)*nav_item_last_widthPC;�� nav_img_stretch = (nav_width/fixed_nav_width)*100;�� nav_last_img_stretch = (nav_width/fixed_nav_last_width)*100;
1�� centerDiv_marginLeft = "0px";�� }�� jQuery('#center_container').css({�� marginLeft: centerDiv_marginLeft,�� });�� �� //apply section of background image to each navigation item�� jQuery('.nav_item').each(function(){ �� //set background image section position�� jQuerybgPos = (nav_index * fixed_nav_width) + main_image_overflow;�� jQuery(this).css({ �� backgroundPosition: "-" + jQuerybgPos + "px 0px", �� backgroundSize : nav_img_stretch + "% 100%",�� width:fixed_nav_width + "px",�� height: image_height + "px", �� });�� �� //widen horse riding hover bground��// if (jQuery(this).hasClass('horse')){��// jQuery(this).find('a').css({width: fixed_nav_width_horse + "px"});��// }else{�� jQuery(this).find('a').css({width: fixed_nav_width + "px"});��// }�� �� nav_index = nav_index + 1;�� �� //icons visible above fold��// var iCurScrollPos = jQuery(window).scrollTop(); ��// if (headerHeightHidden > 0){ ��// jQuery(this).find('a').addClass('fixed'); ��// }else{ ��// jQuery(this).find('a').addClass('absolute'); ��// }�� }); �� �� �� //background position of last nav column�� jQuerybgPos = (nav_index * fixed_nav_width) + main_image_overflow;�� jQuery(".nav_item_last").css({ �� backgroundPosition: "-" + jQuerybgPos + "px 0px",�� backgroundSize : nav_last_img_stretch + "% 100%", �� height: image_height + "px",�� width:fixed_nav_last_width + "px",�� }); �� �� �� jQuery('.slider').each(function(){ �� jQuery(this).css({ �� height: image_height + "px" �� });�� });�� �� //add functionality to allow slider div to animate�� jQuery('.nav_item').each(function(){ ��// if (!jQuery(this).hasClass('horse')){�� jQuery(this).find('a').click(function(event){ �� event.preventDefault(); �� //close any open sliders�� jQuery('.slider').each(function(){�� jQuery(this).find('.container').fadeOut();�� jQuery(this).stop(true).animate({width:"0px"},1000); �� }); �� //deactive any open links �� jQuery(this).parent().siblings().children().removeClass('active'); �� �� if (jQuery(this).closest('.nav_item').next().css('width')=="0px"){ �� jQuery('.header_titles').fadeOut();�� jQuery('.top_title').fadeIn(); �� jQuery(this).closest('.nav_item').next().stop(true).animate({width:"40%"},1000).queue(function(next){�� jQuery(this).find('.container').fadeIn(); �� jQuery('.header_titles').fadeOut();�� }); �� jQuery(this).addClass('active'); �� }else{�� jQuery(this).closest('.nav_item').next().find('.container').fadeOut();�� jQuery(this).closest('.nav_item').next().stop(true).animate({width:"0px"},1000).queue(function(){ �� jQuery('.top_title').fadeOut();�� jQuery('.header_titles').fadeIn(); �� });�� jQuery(this).removeClass('active'); �� } �� }); ��// } �� });�� �� }��};����var initialise_sliders = function(){ �� jQuery('.nav_item').each(function(){ �� //close sliders�� jQuery(this).next().find('.container').fadeOut(); �� jQuery(this).closest('.nav_item').next().css({width:"0px"}); �� jQuery(this).find('a').removeClass('active');�� }); ����}����var initialise_mobile_sliders = function(){ �� jQuery('.nav_item').each(function(){ �� //close sliders�� jQuery(this).next().find('.container').fadeOut();�� jQuery(this).closest('.nav_item').next().css({height:"0px"});�� jQuery(this).find('a').removeClass('active'); �� }); �� ��}��������jQuery(document).ready(navigation_slider);������//if home page window resized then reload page��jQuery(window).bind('resize', function(e)��{�� jQuery('.homeNav').hide();//until page has loaded�� jQuery('.header_titles').hide();//until page has loaded�� jQuery('.nav_item a').hide();//until page has loaded�� if (window.RT) clearTimeout(window.RT);�� window.RT = setTimeout(function()�� {�� // if (!!localStorage['reloaded']){�� this.location.reload(false); /* false to get page from cache */�� // }�� }, 100);��});����
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.