'; itemElement.innerHTML = content; return itemElement; } if (suggestion.displayFullResult) { content = '

Vedi i risultati completi per {s}

'; content = content.replace('{s}', '« ' + sanitizer.sanitize(input.value) + ' »'); } else if (suggestion.semQuery) { content = '

Ricerca semantica per {s}

'; content = content.replace('{s}', '« ' + sanitizer.sanitize(input.value) + ' »'); } else { var cleanText = sanitizer.sanitize(suggestion.text) var boldText = cleanText.replace(reg, function (optionText) { return '' + optionText + '' }); var subText = sanitizer.sanitize(suggestion.subText); subText = subText.replace(suggestion.artistName, function (optionText) { return optionText.replace(reg, function (boldText) { return '' + boldText + '' }) }); var cssClass = suggestion.type === 'artist' ? 'img-circle border' : ''; content = '
' + '' + cleanText + '' + '
' + '' + boldText + '' + '' + subText + '' + '
' + '
'; } itemElement.innerHTML = content; return itemElement; }, onSelect: function (element, autocomplete) { document.dispatchEvent(new CustomEvent('am.gtag.search', {'detail': {'term': autocomplete.value}})) savedSearch(sanitizer.sanitize(autocomplete.value), element); }, emptyMsg: 'Nessun risultato è stato trovato.', preventSubmit: false, showOnFocus: true, // Required to set the final position of the results // By default result tag is applied at the bottom of the document with fixed style // when we want it in the defined tag ( Styles are also customized ) customize: function (input, inputRect, container, maxHeight) { resultContainer.append($(container)) } }; } function savedSearch(string, element) { if (!element.url) { element.url = url.replace("term", string) } var formData = new FormData(); formData.append('string', string); formData.append('nbResults', nbResults); try { if (navigator.sendBeacon) { navigator.sendBeacon('/it/saved--search/artwork', formData) } else { var xhr = new XMLHttpRequest(); xhr.open('post', '/it/saved--search/artwork', false); xhr.send(formData); } } catch (e) { } window.location.href = element.url } document.addEventListener('am.gtag.search', function (e) { var term = e.detail.term gtag("event", "search", { search_term: term }); }); }) })();
Stefano Galli Immagine del profilo

Stefano Galli 5a6m6b

Ritorna alla lista Aggiunto il 13 lug 2020

Giro giro tondo in giro per il mondo 6t702m

Biblioteca del Daverio, Milano piazza Bertarelli,4

mercoledì 18 settembre 2019
martedì 24 settembre 2019

ArtMajeur

Ricevi la nostra newsletter per apionati d'arte e collezionisti
Iris
Iris, la tua guida AI
Loading...