PageSourceSearch

https://www.bonningtondublin.com/wp-content/cache/min/1/wp-content…/js/hero-slider.js?ver=1788257288

js bonningtondublin.com collected 2026-10-07 03:04:28 UTC 1,172 bytes, 5 lines download raw bytes

1jQuery(document).ready(function($){let hero_slider=$('#hero_banner');let slider_control=$('a.hero_slider_control');let next_slide_num;let hero_interval=parseFloat(hero_slider.data('interval'));let t;if(hero_interval>0){t=setTimeout(rf_switch_slide,hero_interval,'next')}
2$(window).load(function(){slider_control.on('click',function(e){e.preventDefault();if(hero_interval>0){clearTimeout(t)}
3if($(this).hasClass('hero_slider_prev')){rf_switch_slide('prev')}else{rf_switch_slide('next')}})});function rf_switch_slide(hero_dir='next'){if(hero_interval>0){clearTimeout(t)}
4let num_hero_slides=parseFloat(hero_slider.data('numslides'));let current_hero_slide=hero_slider.find('.hero-image.current');let current_hero_slide_num=parseFloat(current_hero_slide.data('num'));if(hero_dir==='prev'){next_slide_num=(current_hero_slide_num-1);if(next_slide_num<1){next_slide_num=num_hero_slides}}else{next_slide_num=(current_hero_slide_num+1);if(next_slide_num>num_hero_slides){next_slide_num=1}}
5current_hero_slide.removeClass('current');hero_slider.find('.hero-image.image-'+next_slide_num).addClass('current');if(hero_interval>0){t=setTimeout(rf_switch_slide,hero_interval,'next')}}})

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.