1$( document ).ready(function() { 2 //change tabs on tab click 3 $('.tab').click(function(e) { 4 alert('1111'); 5 $('.tab').removeClass('active'); 6 $('.tab-content').removeClass('active'); 7 $(this).addClass('active'); 8 if($(this).hasClass('tab-install')) { 9 $('.tab-content.content-install').addClass('active'); 10 } else if($(this).hasClass('tab-login')) { 11 $('.tab-content.content-login').addClass('active'); 12 } else if($(this).hasClass('tab-search')) { 13 $('.tab-content.content-search').addClass('active'); 14 } else if($(this).hasClass('tab-download')) { 15 $('.tab-content.content-download').addClass('active'); 16 } 17 }); 18 //change tabs on button click 19 $('.thank-you-page .tab-btn ').on('click', function() { 20 var _target = $(this).data('target'); 21 $('.tab').removeClass('active'); 22 $('.tab-content').removeClass('active'); 23 $('.tab-' + _target).addClass('active'); 24 $('.tab-content.content-' + _target).addClass('active'); 25 }); 26 27 28 //popup scripts 29 var width = $(window).width(); 30 $( window ).resize(function() { 31 width = $(window).width(); 32 }); 33 34 $('.info-icon').mouseenter(function(event){ 35 if(width > 920) { 36 $(".info-popup").css("display", "block"); 37 $(".look-img").css("z-index", "-1"); 38 } 39 }).mouseleave( function(event){ 40 if(width > 920) { 41 $(".info-popup").css("display", "none"); 42 $(".look-img").css("z-index", "1"); 43 } 44 }); 45 46 47 $(".info-icon").on("click", function(event){ 48 if(width <= 920) { 49 event.stopPropagation(); 50 $(".info-popup").toggle(); 51 $(".look-img").css("z-index", ($(".info-popup").is(":visible") ? "-1" : "1")); 52 } 53 }); 54 $('.info-popup').click(function(event){ 55 event.stopPropagation(); 56 }); 57 $('.close-info-popup-btn').click(function(event){ 58 if(width <= 920) { 59 $(".info-popup").css("display", "none"); 60 $(".look-img").css("z-index", "1"); 61 } 62 }); 63 $('body').click(function() { 64 if(width <= 920) { 65 $(".info-popup").css("display", "none"); 66 $(".look-img").css("z-index", "1"); 67 } 68 }); 69});
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.