1// dl-menu options 2$(function() { 3 $( '#dl-menu' ).dlmenu({ 4 animationClasses : { classin : 'dl-animate-in', classout : 'dl-animate-out' } 5 }); 6}); 7// Need this to show animation when go back in browser 8window.onunload = function() {}; 9 10// Add lightbox class to all image links 11$("a[href$='.jpg'],a[href$='.jpeg'],a[href$='.JPG'],a[href$='.png'],a[href$='.gif']").addClass("image-popup"); 12 13// FitVids options 14$(function() { 15 $(".content").fitVids(); 16}); 17 18// All others 19$(document).ready(function() { 20 // zoom in/zoom out animations 21 if ($(".container").hasClass('fadeOut')) { 22 $(".container").removeClass("fadeOut").addClass("fadeIn"); 23 } 24 if ($(".wrapper").hasClass('fadeOut')) { 25 $(".wrapper").removeClass("fadeOut").addClass("fadeIn"); 26 } 27 $(".zoombtn").click(function() { 28 $(".container").removeClass("fadeIn").addClass("fadeOut"); 29 $(".wrapper").removeClass("fadeIn").addClass("fadeOut"); 30 }); 31 // go up button 32 $.goup({ 33 trigger: 500, 34 bottomOffset: 10, 35 locationOffset: 20, 36 containerRadius: 0, 37 containerColor: '#fff', 38 arrowColor: '#000', 39 goupSpeed: 'normal' 40 }); 41 $('.image-popup').magnificPopup({ 42 type: 'image', 43 tLoading: 'Loading image #%curr%...', 44 gallery: { 45 enabled: true, 46 navigateByImgClick: true, 47 preload: [0,1] // Will preload 0 - before current, and 1 after the current image 48 }, 49 image: { 50 tError: '<a href="%url%">Image #%curr%</a> could not be loaded.', 51 }, 52 removalDelay: 300, // Delay in milliseconds before popup is removed 53 // Class that is added to body when popup is open. 54 // make it unique to apply your CSS animations just to this exact popup 55 mainClass: 'mfp-fade' 56 }); 57});
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.