';
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 = '
' +
'' +
'
' +
'' + 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: 'No results found.',
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('/en/saved--search/artwork', formData)
} else {
var xhr = new XMLHttpRequest();
xhr.open('post', '/en/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
});
});
})
})();
Nicolas Sarazin |Apr 14, 20171 minutes read0 comments
I find the Artmajeur interface very easy to use
A very good surprise recently thanks to Artmajeur with the sale of one of my sculptures (in addition, the site does not take any commission when you subscribe to a platinum !). Payment by Paypal allowed an immediate, safe and secure transaction. It was possible for me to communicate online with the client in complete confidence.
I find Artmajeur's interface very easy to use, making it easy and quick to highlight my latest creations at any time. I also recommend this site to discover the works of artists of all kinds and for the exchanges that one can have with other people from other countries, a real openness to the world.
Receive our newsletter for art lovers and collectors
We respect your privacy. 1o836
Welcome to ArtMajeur! 1p4f6s
A redirection has been made from YourArt to ArtMajeur, as the two platforms have merged.
All content, artworks, and artist spaces are now available here.
You can continue browsing on ArtMajeur, the largest online art platform in the world.
Love art? 5gw2t
Get our selection of the best art delivered right to your inbox!
Early access to new works
Selection of established and emerging artists with promising investment potential