Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdrakedennis authored Feb 14, 2020
1 parent c383397 commit b059ff4
Show file tree
Hide file tree
Showing 25 changed files with 2,343 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ignis/compiled/css/animate.min.css

Large diffs are not rendered by default.

40 changes: 40 additions & 0 deletions ignis/compiled/js/custom.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
function shuffle(a) {
var j, x, i;
for (i = a.length; i; i--) {
j = Math.floor(Math.random() * i);
x = a[i - 1];
a[i - 1] = a[j];
a[j] = x;
}
}
$(document).ready(function() {
if (typeof backgrounds != 'undefined') {
$('body').append('<div class="overlay"></div>');
if (backgrounds.random == 1) {
shuffle(backgrounds.list);
}
if (backgrounds.list.length > 0 && backgrounds.list[0] != '') {
$.backstretch(backgrounds.list[0], {
fade: backgrounds.fade
});
var cnt = 1;
setInterval(function() {
$.backstretch(backgrounds.list[cnt], {
fade: backgrounds.fade
});
cnt++;
if (cnt >= backgrounds.list.length) {
cnt = 0;
}
}, backgrounds.duration);
}
}
});




$(function() {
$('.card').matchHeight({ property: 'min-height' });
});

1 change: 1 addition & 0 deletions ignis/compiled/js/jquery.backstretch.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit b059ff4

Please sign in to comment.