PageSourceSearch

https://barbaraoakley.com/wp-content/themes/barbara-oakley/assets/…?ver=f95180a3617cc1570f06555044d9faa6

js barbaraoakley.com collected 2026-09-24 09:26:52 UTC 2,012 bytes, 85 lines download raw bytes

1jQuery(document).foundation();
2/*
3These functions make sure WordPress
4and Foundation play nice together.
5*/
6
7jQuery(document).ready(function() {
8
9    // Remove empty P tags created by WP inside of Accordion and Orbit
10    jQuery('.accordion p:empty, .orbit p:empty').remove();
11
12	 // Makes sure last grid item floats left
13	jQuery('.archive-grid .columns').last().addClass( 'end' );
14
15	// Adds Flex Video to YouTube and Vimeo Embeds
16  jQuery('iframe[src*="youtube.com"], iframe[src*="vimeo.com"]').each(function() {
17    if ( jQuery(this).innerWidth() / jQuery(this).innerHeight() > 1.5 ) {
18      jQuery(this).wrap("<div class='widescreen flex-video'/>");
19    } else {
20      jQuery(this).wrap("<div class='flex-video'/>");
21    }
22  });
23
24  jQuery('.homepage').addClass('is-animating');
25
26  jQuery(window).load(function(){
27    jQuery('#masonry-container').masonry({
28      itemSelector: '.masonry-item'
29    });
30  });
31  
32  
33  
34  
35  jQuery('.course_slider').slick({
36	  infinite: true,
37	  slidesToShow: 2,
38	  slidesToScroll: 2,
39	  arrows: true,
40	  dots: false,
41	  autoplay: false,
42	  responsive: [
43	    {
44	      breakpoint: 900,
45	      settings: {
46	        slidesToShow: 1,
47			slidesToScroll: 1,
48	      }
49	    }
50	   ]
51	});
52  
53  jQuery('.book_slider').slick({
54	  infinite: true,
55	  slidesToShow: 1,
56	  slidesToScroll: 1,
57	  arrows: true,
58	  dots: false,
59	  autoplay: true,
60	  autoplaySpeed: 3000,
61	});
62	
63   
64
65});
66
67// Get the element with id="defaultOpen" and click on it
68document.getElementById("defaultOpen").click();
69
70function openCity(evt, cityName) {
71  var i, tabcontent, tablinks;
72  tabcontent = document.getElementsByClassName("tabcontent");
73  for (i = 0; i < tabcontent.length; i++) {
74    tabcontent[i].style.display = "none";
75  }
76  tablinks = document.getElementsByClassName("tablinks");
77  for (i = 0; i < tablinks.length; i++) {
78    tablinks[i].className = tablinks[i].className.replace(" active", "");
79  }
80  document.getElementById(cityName).style.display = "block";
81  evt.currentTarget.className += " active";
82}
83
84
85

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.