diff options
Diffstat (limited to 'themes/flog/layouts/partials/footer.html')
| -rw-r--r-- | themes/flog/layouts/partials/footer.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/themes/flog/layouts/partials/footer.html b/themes/flog/layouts/partials/footer.html index 6a2857e..0dcd9e1 100644 --- a/themes/flog/layouts/partials/footer.html +++ b/themes/flog/layouts/partials/footer.html @@ -17,9 +17,10 @@ $('.button-collapse').sideNav(); $('#main').smoothState({ prefetch: true, onAfter: ready }); }); - - $(document).ready(function() { - $('.parallax').parallax(); + $('body').imagesLoaded({ background: true }, function() { + $('<img src="/images/skyline.jpg">').load(function() { + $('body').css('background-image', 'url(' + this.src + ')'); + }); }); </script> </body> |
