PageSourceSearch

https://www.ictoc.org/fr/wp-content/themes/coicd/library/js/scripts.js

js ictoc.org collected 2026-10-04 13:31:30 UTC 1,965 bytes, 37 lines download raw bytes

1/*
2Bones Scripts File
3Author: Eddie Machado
4
5This file should contain any js scripts you want to add to the site.
6Instead of calling it in the header or throwing it inside wp-head()
7this file will be called automatically in the footer so as not to 
8slow the page load.
9
10*/
11
12// Modernizr.load loading the right scripts only if you need them
13Modernizr.load([
14	{
15    // Let's see if we need to load selectivizr
16    test : Modernizr.borderradius,
17    // Modernizr.load loads selectivizr for IE6-8
18    nope : ['selectivizr-min.js']
19	}
20]);
21
22/* imgsizer (flexible images for fluid sites) */
23var imgSizer={Config:{imgCache:[],spacer:"/path/to/your/spacer.gif"},collate:function(aScope){var isOldIE=(document.all&&!window.opera&&!window.XDomainRequest)?1:0;if(isOldIE&&document.getElementsByTagName){var c=imgSizer;var imgCache=c.Config.imgCache;var images=(aScope&&aScope.length)?aScope:document.getElementsByTagName("img");for(var i=0;i<images.length;i++){images[i].origWidth=images[i].offsetWidth;images[i].origHeight=images[i].offsetHeight;imgCache.push(images[i]);c.ieAlpha(images[i]);images[i].style.width="100%";}
24if(imgCache.length){c.resize(function(){for(var i=0;i<imgCache.length;i++){var ratio=(imgCache[i].offsetWidth/imgCache[i].origWidth);imgCache[i].style.height=(imgCache[i].origHeight*ratio)+"px";}});}}},ieAlpha:function(img){var c=imgSizer;if(img.oldSrc){img.src=img.oldSrc;}
25var src=img.src;img.style.width=img.offsetWidth+"px";img.style.height=img.offsetHeight+"px";img.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+src+"', sizingMethod='scale')"
26img.oldSrc=src;img.src=c.Config.spacer;},resize:function(func){var oldonresize=window.onresize;if(typeof window.onresize!='function'){window.onresize=func;}else{window.onresize=function(){if(oldonresize){oldonresize();}
27func();}}}}
28
29// as the page loads, cal these scripts
30$(document).ready(function() {
31
32	
33	
34	// add all your scripts here
35
36 
37}); /* end of as page load scripts */

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.