PageSourceSearch

https://www.clickcover.co.nz/edit/modules/news/news.js?version=3.0.3

js clickcover.co.nz collected 2026-10-04 21:44:23 UTC 1,093 bytes, 35 lines download raw bytes

1// News JavaScript Document
2
3	$(document).ready(function() {
4		"use strict";
5
6		// Check for news items then match height
7		if($.fn.matchHeight && $(".news .news-item").length > 0) {
8			$(".news .news-item p").matchHeight({
9				byRow: true,
10				property: "height"
11			});
12		}
13		
14		// Open news images in magnific popup
15		if($.fn.magnificPopup) {
16			//
17			$('a.news-details-image').magnificPopup({
18				type:'image'
19			});	
20		}
21		
22		// Open news images in colorbox
23		else if($.fn.colorbox) { 
24			//
25			$("a[class=\'news-details-image\']").colorbox({photo:true},function(){ 
26				var titleheight = $("#cboxTitle").height(); 
27				$("#colorbox").height($("#colorbox").height() + titleheight); 
28				$("#cboxWrapper").height($("#cboxWrapper").height() + titleheight); 
29				$("#cboxMiddleLeft").height($("#cboxMiddleLeft").height() + titleheight); 
30				$("#cboxMiddleRight").height($("#cboxMiddleRight").height() + titleheight); 
31				$("#cboxContent").height($("#cboxContent").height() + titleheight); 
32				$("#cboxLoadedContent").height($("#cboxLoadedContent").height() + titleheight); 
33			});
34		}
35	});

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.