1jQuery(document).ready(function($) { 2 3 $('.efbl_feed_popup').magnificPopup({ 4 type: 'inline', 5 preloader: false, 6 mainClass: 'my-mfp-zoom-in', 7 callbacks: { 8 beforeOpen: function() { 9 10 11 var $story_link = this.st.el.data('storylink'), 12 $story_link_text = this.st.el.data('linktext'), 13 $caption = this.st.el.data('caption'), 14 $image_url = this.st.el.data('imagelink'), 15 $iframe_vid_url = this.st.el.data('videolink'), 16 $video_url = this.st.el.data('video'); 17 18 if($image_url){ 19 $('#efblcf_holder .efbl_popup_image').attr('src', $image_url); 20 $('#efblcf_holder .efbl_popup_image').css('display', 'block'); 21 } 22 23 if($iframe_vid_url){ 24 $('#efblcf_holder .efbl_popup_if_video').attr('src', $iframe_vid_url); 25 $('#efblcf_holder .efbl_popup_if_video').css({ 26 'display' : 'block', 27 'width' : '720px', 28 'height' : '400px' 29 }); 30 31 } 32 33 if($video_url){ 34 $('#efblcf_holder .efbl_popup_video').attr('src', $video_url); 35 $('#efblcf_holder .efbl_popup_video').css('display', 'block'); 36 setTimeout(function(){ 37 $('#efblcf_holder .efbl_popup_video')[0].play(); 38 }, 500); 39 40 41 } 42 43 if($caption){ 44 $('#efblcf_holder .efbl_popupp_footer').html('<p>'+$caption+' <a class="efbl_popup_readmore" href="'+$story_link+'" target="_blank">'+$story_link_text+'</a></p>'); 45 $('#efblcf_holder .efbl_popupp_footer').css('display', 'block'); 46 } 47 48 49 }, 50 beforeClose: function (){ 51 52 //Clear the container for new instance 53 $('#efblcf_holder .efbl_popup_image').attr('src', ''); 54 $('#efblcf_holder .efbl_popup_image').css('display', 'none'); 55 56 $('#efblcf_holder .efbl_popup_if_video').attr('src', ''); 57 $('#efblcf_holder .efbl_popup_if_video').css('display', 'none'); 58 59 $('#efblcf_holder .efbl_popup_video').attr('src', ''); 60 $('#efblcf_holder .efbl_popup_video').css('display', 'none'); 61 62 $('#efblcf_holder .efbl_popupp_footer').html(''); 63 $('#efblcf_holder .efbl_popupp_footer').css('display', 'none'); 64 65 } 66 } 67 68 69 70 }); 71 72 $('.efbl_share_links').click(function(){ 73 $(this).next('.efbl_links_container').toggle( "slide" ); 74 }); 75 76 $('.efbl_info').click(function(){ 77 $(this).siblings('.efbl_comments_wraper').toggleClass( "efbl_cwraper_slide" ); 78 }); 79 80 81});
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.