FEATURE: add basic template for dobrotyzpece.cz

This commit is contained in:
Michal Kváček
2016-10-10 01:25:36 +02:00
parent a75425ca12
commit dc43a9503d
90 changed files with 371 additions and 32 deletions
@@ -0,0 +1,17 @@
(function ($) {
$ (function () {
$ ('.button-collapse').sideNav ();
$ ('.parallax').parallax ();
$ ('.slider').slider ({full_width: true});
$ ('textarea').trigger ('autoresize');
});
$('a.page-scroll').bind('click', function(event) {
var $anchor = $(this);
$('html, body').stop().animate({
scrollTop: $($anchor.attr('href')).offset().top
}, 1500, 'easeInOutExpo');
event.preventDefault();
});
}) (jQuery);