fixed center image
This commit is contained in:
parent
25346dc966
commit
e06f538690
8 changed files with 35 additions and 38 deletions
12
js/custom.js
12
js/custom.js
|
|
@ -8,6 +8,18 @@ $(document).ready(function() {
|
|||
$.scrollIt();
|
||||
});
|
||||
|
||||
$(".artist-media img").imagefill();
|
||||
|
||||
var rnd = Math.floor(Math.random() * 6);
|
||||
|
||||
$(function() {
|
||||
$.vegas({
|
||||
src: '/assets/bgphotos/' + rnd + '.png'
|
||||
});
|
||||
$.vegas('overlay', {
|
||||
src: '/assets/bgphotos/overlay.png'
|
||||
});
|
||||
});
|
||||
|
||||
$(".navigator-toggle").click(function() {
|
||||
if (navigatorOpen) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue