1 2function navHorizonCtrl() { 3 var ww = $(window).width(); 4 if (ww > 1500) { 5 $('nav').css({'right':50 + "%", 'margin-right':-695 }); 6 }else { 7 $("nav").css({'right':50+'px', 'margin-right':0 }); 8 } 9} 10 11function mvRpeat(){ 12 _mvnum = 1; 13 var mvNum = $("#mv img").length; 14 15 mvChange = setInterval(function(){ 16 17 _mvnum++; 18 19 if(_mvnum > mvNum){ 20 _mvnum = 1; 21 } 22 23 $("#mv img").removeClass('active'); 24 $("#mvChanger li").removeClass('active') 25 26 $("#mv"+_mvnum).addClass('active'); 27 $("#mvc"+_mvnum).addClass('active'); 28 29 },8000); 30} 31 32$(function(){ 33 var hs = location.hash; 34 $(window).on('load', function() { 35 36 $("#topBnrBox").remove(); 37 38 var mv_len = $("#mv li").length; 39 if (mv_len < 1) { 40 $("#mvChanger").remove(); 41 } 42 43 if(hs){ 44 $(".bnrBox").addClass('on'); 45 $("#loading").delay(300).fadeOut(); 46 setTimeout(function(){ 47 $("#mv").removeClass(); 48 $("#onair").addClass('on'); 49 },400); 50 51 $("#r_movie span, #l_movie span").remove(); 52 53 setTimeout(function(){ 54 mvRpeat(); 55 },600); 56 }else{ 57 $("#loading").delay(300).fadeOut(); 58 setTimeout(function(){ 59 $("#mv").removeClass(); 60 $("#onair").addClass('on'); 61 bnb_num = 1; 62 setInterval(function(){ 63 $('#bnb0'+bnb_num).addClass('on'); 64 bnb_num++; 65 },100); 66 },400); 67 68 setTimeout(function(){ 69 mvRpeat(); 70 },600); 71 } 72 73 //MV SWITCH BTN 74 $("#mvChanger li a").on('click', function(){ 75 $("#mvChanger li").removeClass(); 76 $(this).parent('li').addClass('active'); 77 $("#mv img").removeClass('active'); 78 var c_id = $(this).data('c'); 79 $("#mv"+c_id).addClass('active'); 80 81 clearInterval(mvChange); 82 83 var mvNum = $("#mv img").length; 84 85 mvChange = setInterval(function(){ 86 87 c_id++; 88 89 if(c_id > mvNum){ 90 c_id = 1; 91 } 92 $("#mv img").removeClass('active'); 93 $("#mvChanger li").removeClass('active'); 94 95 $("#mv"+c_id).addClass('active'); 96 $("#mvc"+c_id).addClass('active'); 97 98 },8000); 99 }); 100 101 }); 102 103 $(window).on("load resize",navHorizonCtrl); 104 105});
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.