website/_assets/js/main.js

26 lines
783 B
JavaScript
Raw Normal View History

2021-01-28 16:05:16 +01:00
$(document).ready(function () {
2019-08-13 15:16:48 +02:00
var sjs = SimpleJekyllSearch({
searchInput: document.getElementById('search-input'),
resultsContainer: document.getElementById('results-container'),
json: '/search.json',
searchResultTemplate: '<a class="dropdown-item" href="{url}">{title}</a>',
noResultsText: '<a class="dropdown-item" href="#">Nessun risultato</a>',
exclude: ["https://blog.unitoo.it", "https://blog.unitoo.pw"]
});
2019-08-14 15:57:40 +02:00
$(".morphext-bounce-in").Morphext({
animation: "bounceIn",
speed: 2500
});
$(".morphext-bounce-left").Morphext({
animation: "zoomInLeft",
speed: 4500
});
$(".morphext-bounce-up").Morphext({
animation: "bounceInUp",
speed: 6500
});
2019-08-13 15:16:48 +02:00
});