1$(function(){ 2 function showLightbox(lightboxId) { 3 var lightbox = $("#" + lightboxId); 4 $(".lightboxArea").not(lightbox).hide().removeClass("active"); // ééå ¶ä»çç®± 5 lightbox.show(); 6 lightbox.addClass("active"); 7 8 setTimeout(function(){ 9 lightbox.find(".lightboxMain").css({ 10 'transform':'scale(1)' 11 }); 12 }, 300); 13 } 14 15 function hideLightbox(lightboxId) { 16 var lightbox = $("#" + lightboxId); 17 18 setTimeout(function(){ 19 lightbox.hide(); 20 lightbox.removeClass("active"); 21 }, 300); 22 23 lightbox.find(".lightboxMain").removeAttr("style"); 24 } 25 26 // é è¨æé lightbox01 27 showLightbox("lightbox01"); 28 29 $(".lightBoxShow").click(function(e) { 30 var lightboxId = $(this).data("lightbox"); 31 showLightbox(lightboxId); 32 }); 33 34 $(".lightTextArea .lightboxClose, .lightboxBG").click(function(e) { 35 var lightboxId = $(this).closest(".lightTextArea").attr("id"); 36 hideLightbox(lightboxId); 37 }); 38 39 // çç®±å §æ¯å½±çæ 40 $(".play_video").click(function(e) { 41 $(".lightboxArea").addClass("video_use"); // æ·»å å½±ççç®±çæ¨£å¼ 42 43 var thisId = $(this).attr("id"); // åå¾ç¸å°æçç®±åå¡çdata-url(youtubeç¶²å) 44 var youtubeUrl = $('#' + thisId + '_area').attr("data-url"); // ââ 45 var iframeDom = $(youtubeUrl); 46 iframeDom.appendTo($('#' + thisId + '_area')); // æ·»å iframeå°ç¸å°æçåå¡å § 47 }); 48 49 $(".lightboxClose, .lightboxBG").click(function(e) { 50 setTimeout(function(){ 51 $(".lightboxArea").removeClass("video_use"); // ç§»é¤å½±ççç®±çæ¨£å¼ 52 }, 300); 53 $(".video iframe").remove(); // ç§»é¤iframe 54 }); 55});
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.