|
|
|
@ -15,10 +15,6 @@
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
background-image: url(<?php
|
|
|
|
|
$bgs = glob("img/bg/*.jpg");
|
|
|
|
|
echo $bgs[array_rand($bgs, 1)];
|
|
|
|
|
?>);
|
|
|
|
|
background-attachment: fixed;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -157,6 +153,17 @@
|
|
|
|
|
<script>
|
|
|
|
|
window.onload = function () {
|
|
|
|
|
createMap();
|
|
|
|
|
|
|
|
|
|
var bgs = [
|
|
|
|
|
"dale-nibbe-GR09HcWwP-w-unsplash.jpg",
|
|
|
|
|
"hide-obara-VzWx1l2LuIA-unsplash.jpg",
|
|
|
|
|
"john-fowler-jcbq3qWpKoo-unsplash.jpg",
|
|
|
|
|
"mark-harpur-K2s_YE031CA-unsplash.jpg",
|
|
|
|
|
"renns-art-TXhxOXHN1EE-unsplash.jpg",
|
|
|
|
|
"solotravelgoals-7kLufxYoqWk-unsplash.jpg"
|
|
|
|
|
];
|
|
|
|
|
var bgimg = bgs[Math.floor(Math.random() * bgs.length)];
|
|
|
|
|
$("body").css("background-image", "url(./img/bg/" + bgimg + ")");
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
function dolookup(words) {
|