FEATURE: add basic template for dobrotyzpece.cz
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user