PageSourceSearch

https://www.building-supplies.co.nz/wp-content/themes/itm/js/slide…?ver=09d36c48e3dbb2cc43cdc19342e061a7

js building-supplies.co.nz collected 2026-10-08 03:59:23 UTC 1,504 bytes, 50 lines download raw bytes

1/* <![CDATA[ */
2
3
4/****************** HOME PAGE CAROUSEL *****************/
5jQuery(document).ready(function($){	
6	/*
7	 * Set up carousels
8	 */
9	var bc = $('#buttonContainer');
10	if (typeof carousel_timeout == 'undefined') {
11		carousel_timeout = 3000;
12	} else {
13		if (isNaN(carousel_timeout)) carousel_timeout = 3000;
14		carousel_timeout = parseInt(carousel_timeout);
15		if (carousel_timeout <=0) carousel_timeout = 3000;
16	}
17	if (typeof carousel_autorotate == 'undefined' || !carousel_autorotate) {
18		carousel_timeout = 0;
19	}
20	var $container = $('#spotlight').cycle({ 
21	    fx:     'scrollHorz', 
22	    speed:   500, 
23	    timeout: carousel_timeout,
24	    pager: '#buttonContainer',
25	    pause: true
26	}); 
27});
28
29
30/****************** [CURRENTLY REDUNDANT] responsive sizing for carousel (other related code in 'functions.php' under 'buildingconnexion_carousel()') *****************/
31function DocumentSize() {
32  var myWidth = 0, myHeight = 0;
33  if( typeof( window.innerWidth ) == 'number' ) {
34    //Non-IE
35    myWidth = window.innerWidth;
36  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
37    //IE 6+ in 'standards compliant mode'
38    myWidth = document.documentElement.clientWidth;
39  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
40    //IE 4 compatible
41    myWidth = document.body.clientWidth;
42  }
43  
44  return myWidth;
45  
46}
47
48 /* ]]> */
49 
50 

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.