Main theme for SuiteDesk

This commit is contained in:
Manuel Cillero 2017-07-25 13:57:02 +02:00
parent 8cf3c56044
commit 42540d1310
185 changed files with 17597 additions and 0 deletions

View file

@ -0,0 +1,23 @@
'use strict';
$jq(document).ready(function ($) {
// Bind to scroll.
$(window).scroll(function () {
//Display or hide scroll to top button.
if ($(this).scrollTop() > 100) {
$('#scroll-top-link').fadeIn();
} else {
$('#scroll-top-link').fadeOut();
}
});
// Function for scrolling to top.
$('#scroll-top-link').click(function () {
$("html, body").animate({
scrollTop: 0
}, 600);
return false;
});
});