1$(function() { 2 $('.ajaximagen').each(function(){ 3 data = $.parseJSON($(this).children().text()); 4 $(this).parent().append('<img src="'+data.src+'"></img>'); 5 $(this).remove(); 6 }); 7 8 9 10 11 //funcion que decide cargar redes laterales segun la resolucion 12$('#botonMenuIzquierda').click(function(){ 13 $('#izquierda').toggleClass('offcanvasshow'); 14 $("html, body").animate({ scrollTop: 0 }, "slow"); 15 }); 16 $('#botonMenuDerecha').click(function(){ 17 $('#menumovilderecha').toggleClass('offcanvasshow'); 18 }); 19 20if (screen.width>1025){ /*cuemprueba si la resolución de la pantalla es menor que 1025px*/ 21 22$(".barratw").css("display", "block"); 23 24$('.fblateral').each(function(){ 25 var thi$=$(this); 26 var fblateral = thi$.attr('id'); 27 28 $('<div class=\'barrafb\' onmouseout=\'this.className='barrafb'\' onmouseover=\'this.className='barrafbc'\'><div class=\'barcontefacebook\'><iframe allowtransparency=\'true\' frameborder=\'0\' scrolling=\'no\' src="https://www.facebook.com/plugins/likebox.php?href=https://www.facebook.com/'+fblateral+'&width=240&colorscheme=light&connections=15&stream=false&header=false&height=320" style="border: none; height: 320px; overflow: hidden; width: 240px;background: #fff;"></iframe>\ 29</div></div>').appendTo(thi$); 30 });} 31//fin de cargar redes laterales 32 33 34 35 36}); 37if ( $("#desde").length ) { 38 $( function() { 39 var dateFormat = "dd/mm/yy", 40 from = $( "#desde" ) 41 .datepicker({ 42 defaultDate: "+1w", 43 changeMonth: true, changeYear: true, dateFormat: "dd/mm/yy", minDate: +2 44 }) 45 .on( "change", function() { 46 to.datepicker( "option", "minDate", getDate( this ) ); 47 }), 48 to = $( "#hasta" ).datepicker({ 49 defaultDate: "+1w", 50 changeMonth: true, changeYear: true, dateFormat: "dd/mm/yy" 51 }) 52 .on( "change", function() { 53 from.datepicker( "option", "maxDate", getDate( this ) ); 54 }); 55 56 function getDate( element ) { 57 var date; 58 try { 59 date = $.datepicker.parseDate( dateFormat, element.value ); 60 } catch( error ) { 61 date = null; 62 } 63 64 return date; 65 } 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.