basic html project

This commit is contained in:
Václav Šmejkal 2023-05-16 12:29:52 +02:00
commit f66e9a367e
Signed by: ENGO150
GPG Key ID: F6D6DF86242C5A59
3 changed files with 20 additions and 0 deletions

15
index.html Normal file
View File

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="cs">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="./res/script.js"></script>
<title>Fabrika Hrádek Tour</title>
</head>
<body onload="load_panorama()">
<div id="panorama"></div>
</body>
</html>

4
res/script.js Normal file
View File

@ -0,0 +1,4 @@
function load_panorama()
{
document.getElementById("panorama").style.backgroundImage = "./img/test.jpg" //NOT WORKING
}

1
res/style.css Normal file
View File

@ -0,0 +1 @@
/*stuff*/