1/*1776151918000*/ 2 3/*$(".custom-nav_index-4").click(function(e){ 4 //e.preventDefault(); 5 //alert("ciao mbà sono stato premuto"); 6 7}); 8 9function changeCaret(){ 10 11} 12 13//Display search bar in mobile 14function displaySearchBar(){ 15 if($(".iss-l-search").is(":visible")){ 16 $(".iss-l-search").hide("slow"); 17 $(".iss-search-icon").addClass("fa-search"); 18 $(".iss-search-icon").removeClass("fa-times"); 19 20 } 21 else{ 22 $(".iss-l-search").show("slow"); 23 $(".iss-search-icon").removeClass("fa-search"); 24 $(".iss-search-icon").addClass("fa-times"); 25 } 26} 27 28$(document).ready(function(){ 29 //$("#portlet_com_liferay_site_navigation_breadcrumb_web_portlet_SiteNavigationBreadcrumbPortlet li:before").css("content", "|"); 30 31 //portlet-title-text 32 //var words = $(".portlet-title-text"); 33 var ua = navigator.userAgent.toLowerCase(); 34 if (ua.indexOf('safari') != -1) { 35 if (ua.indexOf('chrome') > -1) { 36 //alert("1") // Chrome 37 } else { 38 //alert("2") // Safari 39 $(".lexicon-icon").css("pointer-events", "inherit"); 40 } 41 } 42}); 43 44/ 45*/ 46 47AUI().ready(function () {}); 48 49/* 50 * This function gets loaded after each and every portlet on the page. 51 * 52 * portletId: the current portlet's id 53 * node: the Alloy Node object of the current portlet 54 */ 55Liferay.Portlet.ready(function (_portletId, _node) {}); 56 57/* 58 * This function gets loaded when everything, including the portlets, is on 59 * the page. 60 */ 61 62Liferay.on('allPortletsReady', function () {}); 63 64 65//Color first word 66function ColorFirstWord(classe){ 67 var title = $("."+classe); 68 69 70 for (i = 0; i < title.length; i++) { 71 var text = title[i].innerText.trim(); 72 var t_split = text.split(' '); 73 74 75 t_split[0]="<span class='iss-first' >"+t_split[0]+"</span>"; 76 title[i].innerText = t_split.join(" "); 77 $(title[i]).html(title[i].innerText); 78 79 } 80 81} 82 83//Mobile search click 84$("#mobile-search-icon").click(function(){ 85 $("#search-portlet-container-mobile").show("slow"); 86}) 87 88//Mobile search close 89$("#search-portlet-close-icon").click(function(){ 90 $("#search-portlet-container-mobile").hide("slow"); 91 var s = $("#search-portlet-container-mobile").find(":input:not([type=hidden])"); 92 if(s && s !== undefined && s !== null && s !== "" && s.length > 0){ 93 $(s[0]).val(""); 94 } 95}); 96 97 98// let scrolling = true; 99if (typeof scrolling === 'undefined') scrolling = true; 100 101$(window).scroll(function() { 102 103 if ($(this).scrollTop() > 220) { 104 if(scrolling === true){ 105 $("#navSticky").css("display", "block"); 106 //Shows arrow caret to scroll top 107 $(".link-anchor-top").fadeIn(); 108 scrolling = false; 109 } 110 } else { 111 if(scrolling === false){ 112 $("#navSticky").css("display", "none"); 113 $(".link-anchor-top").fadeOut(); 114 scrolling = true; 115 } 116 } 117}); 118 119 120$(".link-anchor-top").on('click', function(){ 121 var subsite = $(".home-page"); 122 var x = 0; 123 var y = 0; 124 125 if(subsite.length > 0){ 126 127 var offset = $("#navSticky").height(); 128 129 x = $("#content").offset().left; 130 y = $("#content").offset().top - offset; 131 132 } 133 134 window.scroll(x, y); 135}); 136
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.