1jQuery(window).load(function() { 2 3// Masonry 4// =============================================================================== 5 6jQuery('.home-content .js-masonry').masonry({ 7 itemSelector: '.col-lg-4', 8 columnWidth: '.col-lg-4' 9}); 10 11 12jQuery('.archive-content .js-masonry').masonry({ 13 itemSelector: '.col-lg-6', 14 columnWidth: '.col-lg-6' 15}); 16 17 18// Slider 19// =============================================================================== 20jQuery('#slider-nn').flexslider({ 21 animation: dphvars.fx, 22 itemWidth: 900, 23 slideshow: jQuery.parseJSON(dphvars.dphauto), 24 controlNav: false, 25 pauseOnHover: jQuery.parseJSON(dphvars.pausem), 26 slideshowSpeed: jQuery.parseJSON(dphvars.showsp), 27 animationSpeed: jQuery.parseJSON(dphvars.fxsp), 28 29 start: function(slider) { 30 jQuery('.slides').removeClass('loading'); 31 } 32 33}); 34 35jQuery('.gallery-slider').flexslider({ 36 animation: "fade", 37 controlNav: false, 38 slideshow: false, 39 smoothHeight:true, 40 animationLoop: true, 41 42 start: function(slider) { 43 jQuery('.gallery-slider').removeClass('loading'); 44 } 45 46}); 47 48jQuery('.flexi').flexslider({ 49 animation: "slide", 50 controlNav: false, 51 slideshow: false, 52 animationLoop: true, 53 itemWidth: 293, 54 minItems: 1, 55 maxItems: 4, 56 itemMargin: 0, 57 start: function(slider) { 58 jQuery('.ami').fadeIn(); 59 } 60 }); 61 62 63 jQuery('.flexslider').flexslider({ 64 animation: "slide", 65 controlNav: false, 66 slideshow: false, 67 animationLoop: false, 68 itemWidth: 263, 69 itemMargin: 10 70 }); 71}); 72 73 74jQuery(document).ready(function() { 75 76// dotdotdot 77// =============================================================================== 78 jQuery(".slide-panel h2").dotdotdot({ 79 ellipsis : '...', 80 watch : true, 81 height : 68 82 }); 83 84// Sidr 85// =============================================================================== 86 jQuery('#simple-menu').sidr({ 87 name: 'sidr-existing-content', 88 source: '.main-nav' 89 }), 90 91 jQuery('body').click(function() { 92 jQuery.sidr('close', 'sidr-existing-content'); 93 }); 94 95 96// Tooltip 97// =============================================================================== 98 jQuery('a[data-toggle="tooltip"]').tooltip(); 99 100// Superfish Menu 101// =============================================================================== 102 jQuery('.main-nav ul').superfish(); 103 104// Share Buttons 105// =============================================================================== 106 jQuery('a.share-fb, a.share-tw').on('click', function(){ 107 newwindow=window.open(jQuery(this).attr('href'),'','width=626,height=436'); 108 if (window.focus) {newwindow.focus()} 109 return false; 110 }); 111 112// FitVids 113// =============================================================================== 114 jQuery(".wg-video").fitVids(); 115 116 117 jQuery(function() { 118 jQuery(".dial").knob({ 119 readOnly: true, 120 fgColor: "#fff", 121 bgColor: "#00BF76", 122 inputColor: "#fff", 123 thickness: ".06", 124 fontWeight:"100", 125 font: "Dosis" 126 }); 127 128 jQuery(".ubscore input").fadeIn(); 129 130}); 131 132// Gallery & Video position 133// =============================================================================== 134 135 jQuery(".gallery_format").appendTo( ".featured-media" ); 136 jQuery(".format-video .wp-video").appendTo( ".featured-media" ); 137 jQuery(".format-video .entry-content .wg-video").eq(0).appendTo( ".featured-media" ); 138 139 140// Coolll 141// =============================================================================== 142 jQuery("#collapse1").addClass("in"); 143 144 145// Overlay Hover 146// =============================================================================== 147 jQuery(".block-inner, #slider-nn").hover(function() { 148 jQuery('.overlay', this).fadeOut(); 149 }, function() { 150 jQuery('.overlay', this).fadeIn('slow'); 151 }); 152 153 154// Tabs 155// =============================================================================== 156 jQuery("ul.nav-tabs li:first").addClass("active"); //Activate first tab 157 jQuery("div.tab-content div:first").addClass("active"); //Show first tab content 158 jQuery("ul.nav-tabs li").click(function() { 159 jQuery("ul.nav-tabs li").removeClass("active"); //Remove any "active" class 160 jQuery(this).addClass("active"); //Add "active" class to selected tab 161 var activeTab = jQuery(this).find("a").attr("href"); 162 jQuery("div.tab-content div").removeClass("active"); //Hide all tab content 163 jQuery('div.tab-content #' + activeTab).addClass("active"); //Fade in the active ID content 164 return false;
165 }); 166 167// Facebook Comments 168// =============================================================================== 169 (function(d, s, id) { 170 var js, fjs = d.getElementsByTagName(s)[0]; 171 if (d.getElementById(id)) return; 172 js = d.createElement(s); js.id = id; 173 js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; 174 fjs.parentNode.insertBefore(js, fjs); 175 } (document, 'script', 'facebook-jssdk')); 176 177});
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.