1$(function() { 2 3 ///speed-tester 4 $('.speed-tester .start').click(function() { 5 $('.graf').removeClass('option1 option2 option3') 6 var option = 'option' + ($('.speed-tester select').val()); 7 if ($('.speed-tester select').val() != undefined) { 8 setTimeout(function() { 9 $('.graf').addClass(option); 10 $('.cont-graf .type').text($('.speed-tester select option:selected').text()) 11 }, 100, option) 12 } 13 }) 14 15 ///adjust link dropmenu 16 $('.dropdown-toggle').click(function(ev) { 17 window.location.href = $(this).attr('href'); 18 }) 19 20 ///bullets open 21 $('.bullet.cerrado').click(function(ev) { 22 $(this).toggleClass('abierto') 23 }) 24 $('.bullet.cerrado').each(function() { 25 var abierto = $(this).height() 26 var cerrado = $(this).find('h3').height() 27 $(this).attr('style', '--open:' + abierto + ';--close:' + cerrado) 28 }) 29 30 //file cf7 career 31 $('input[name=archivo]').change(function() { 32 // console.log($(this).val().split(/(\\|\/)/g).pop()); 33 $('span.text-archive').text($(this).val().split(/(\\|\/)/g).pop()) 34 }) 35 36 ///form select careers 37 // $('#form-careers select').change(envio_form_career) 38 // $("#form-careers").submit(function(e) { 39 // e.preventDefault(); 40 // envio_form_career() 41 // }); 42 43 // function envio_form_career() { 44 // $.ajax({ 45 // 'url': window.location, 46 // 'type': 'POST', 47 // 'data': $("#form-careers").serialize(), 48 // 'success': function(data) { 49 // console.log(data); 50 // }, 51 // }); 52 // } 53 54}); 55 56// ============================ 57// TBB Code START 58// ============================ 59$(document).scroll(function() { 60 if ($(document).scrollTop() >= 50) { 61 // user scrolled 50 pixels or more; 62 $('#header').addClass('scrolled'); 63 } else { 64 $('#header').removeClass('scrolled'); 65 } 66}); 67 68$(document).ready(function(){ 69 if ($("body").hasClass("page-template-default")) { 70 $("#header").addClass('white-header fixed-top'); 71 } 72 else{} 73}); 74 75// ============================ 76// TBB Code END 77// ============================
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.