1(function($){ 2 var rsloaded = false; 3 $(function() { 4 if(rsloaded == false) { 5 $('.read-speaker-list').show(); 6 rsloaded = true; 7 } 8 $('.rsbtn_tooltoggle').show(); 9 10 }); 11 12 ReadSpeaker.q(function() { 13 if(rsloaded == false) { 14 $('.read-speaker-list').show(); 15 } 16 $('.rsbtn_tooltoggle').show(); 17 loaded = true; 18 }); 19 20 if(window.location.hostname == "mecenazgo.ujaen.es" || window.location.hostname == "mecenazgo.pre.ujaen.es" 21 || window.location.hostname == "ujacep.ujaen.es" || window.location.hostname == "ujacep.pre.ujaen.es" 22 || window.location.hostname == "uniradio.ujaen.es" || window.location.hostname == "uniradio.pre.ujaen.es") { 23 $('.breadcrumb > ol li:nth-child(2)').hide(); 24 } 25 26})(jQuery); 27 28 29 30$( document ).ready(function() { 31 var width_table = $(".table-responsive > table").width(); 32 $('.table-responsive').before('<div class="wrapper1"><div class="div1" style="width:width_table"></div></div>'); 33 var width_table = $(".table-responsive > table").width(); 34 var width_div = $(".div1").width(); 35 if (width_table == width_div ) { 36 $(".wrapper1").hide(); 37 } 38 $(".wrapper1").scroll(function(){ 39 $(".table-responsive").scrollLeft($(".wrapper1").scrollLeft()); 40 }); 41 $(".table-responsive").scroll(function(){ 42 $(".wrapper1").scrollLeft($(".table-responsive").scrollLeft()); 43 }); 44 $(".div1").css("width", width_table); 45}); 46 47$(function() { 48 $( "#form-buscador-biblio" ).on('submit', function( e ) { 49 e.preventDefault(); 50 var text = $("#buscar-biblio").val(); 51 var type = $("input:radio[name ='options_biblio']:checked").val(); 52 console.log("form-buscador-biblio", text, type); 53 var url = "https://buscaenbuja.ujaen.es/discovery/search?query=any,contains," + text + "&tab=Jaen&search_scope=" + type + "&vid=34CBUA_UJA:VU1&lang=es&offset=0"; 54 console.log("Biblio submit", url); 55 var win = window.open(url, '_blank'); 56 if (win) { 57 //Browser has allowed it to be opened 58 win.focus(); 59 } 60 return false; 61 }); 62 63 $( ".profile-trigger-mobile" ).on('click', function( e ) { 64 if ($(this).hasClass('profile-active')) { 65 $(this).attr('aria-expanded', 'false'); 66 $('.profile-submenu-mobile').attr('aria-hidden', 'true'); 67 } else { 68 $(this).attr('aria-expanded', 'true'); 69 $('.profile-submenu-mobile').attr('aria-hidden', 'false'); 70 } 71 72 $(this).toggleClass('profile-active'); 73 $('.profile-submenu-mobile').toggle(); 74 }); 75});
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.