1var $elem = $('.visualArea'), 2$content = $('.otherBnr'), 3 4$window = $(window); 5 6var contentTop = 0; 7 8var winW = $(window).width(); 9var winH = $(window).height(); 10 11$(window).on('load',function(){ 12 $('.load_logo').animate({'opacity': '1'}, '50', 'easeInOutCubic'); 13 $('.load_logo').delay(1000).queue(function(){ 14 $(this).stop().fadeOut().dequeue(); 15 }); 16 $('#opening').delay(2000).queue(function(){ 17 $(this).stop().fadeOut().dequeue(); 18 }); 19 if(winW >768){ 20 updatePosition(); 21 update(); 22 var kv_H = $('.kv').innerHeight(); 23 $('html,body').animate({scrollTop : kv_H - winH },{duration:1000,easing:'easeInOutCubic'}); 24 setTimeout(function(){ 25 $('html,body').delay(2000).animate({scrollTop : 0},{duration:2000,easing:'easeInOutCubic'}); 26 $('.visual_bnr').delay(5000).animate({'opacity': '1'}, '50', 'easeInOutCubic'); 27 }); 28 } 29}); 30$(window).on('resize',function(){ 31 if(winW >768){ 32 updatePosition(); 33 update(); 34 } 35}); 36$(window).on('scroll',function(){ 37 if(winW >768){ 38 update(); 39 } 40}); 41 42$(function(){ 43 $('.movieArea .thumb').click(function(){ 44 var movie_id = $(this).attr('data-id'); 45 $('.trailerMovie').append('<iframe src="https://www.youtube.com/embed/' + movie_id + '?rel=0&autoplay=1" frameborder="0" allowfullscreen></iframe>'); 46 $('.modal_wrapper').stop().fadeIn('slow'); 47 $('.modalBg,.trailerModal,.btn_modalClose').click(function(){ 48 $('.modal_wrapper').stop().fadeOut('slow',function(){ 49 $('.trailerMovie').empty(); 50 $('.modal_wrapper').css('display','none'); 51 }); 52 }); 53 }); 54}); 55 56function updatePosition(){ 57 contentTop = $content.offset().top; 58} 59 60 61function update(){ 62 if( $window.scrollTop() + $window.height() > contentTop ){ 63 $('.visual_bnr').addClass('absolute'); 64 }else if( $('.visual_bnr').hasClass('absolute') ){ 65 $('.visual_bnr').removeClass('absolute'); 66 } 67}
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.