PageSourceSearch

https://secure.cpa.ca/CDN/ajax/scripts/ams.colorbox.init.js

js cpa.ca collected 2026-09-24 09:00:09 UTC 1,334 bytes, 48 lines download raw bytes

1var windowHeight = $(window).height();
2var windowWidth = $(window).width();
3
4function initializeGallery() {
5    windowHeight = $(window).height();
6    windowWidth = $(window).width();
7
8    $("a[rel^='colorbox']").colorbox({
9        title: "",
10        transition: "fade",
11        height: windowHeight - 100,
12        width: windowWidth - 100,
13        maxHeight: windowHeight,
14        maxWidth: windowWidth,
15        scalePhotos: true
16    });
17};
18
19function photoGallery() {
20    $("a[tag^='colorbox']").colorbox({
21        rel: 'group', transition: "fade", width: "50%", height: "50%", slideshow: false
22    });
23};
24
25function initializeById(id, url) {
26    windowHeight = $(window).height();
27    windowWidth = $(window).width();
28    if (url == undefined || url == '') {
29        $('#' + id).colorbox({
30            title: '',
31            transition: "fade",
32            height: windowHeight - 200,
33            maxHeight: windowHeight,
34            maxWidth: windowWidth,
35            scalePhotos: true
36        });
37    } else {
38        $('#' + id).colorbox({
39            title: '',
40            transition: "fade",
41            height: windowHeight - 200,
42            maxHeight: windowHeight,
43            maxWidth: windowWidth,
44            scalePhotos: true,
45            href: url
46        });
47    }
48};

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.