basic html project
This commit is contained in:
commit
f66e9a367e
15
index.html
Normal file
15
index.html
Normal 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
4
res/script.js
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
function load_panorama()
|
||||||
|
{
|
||||||
|
document.getElementById("panorama").style.backgroundImage = "./img/test.jpg" //NOT WORKING
|
||||||
|
}
|
1
res/style.css
Normal file
1
res/style.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
/*stuff*/
|
Loading…
x
Reference in New Issue
Block a user