Formatting
This commit is contained in:
parent
c110336ab1
commit
51120ac303
1 changed files with 48 additions and 31 deletions
43
index.htm
43
index.htm
|
@ -1,20 +1,36 @@
|
|||
<html><script>
|
||||
function expand() {document.getElementById("bar").style.height = "100%";}
|
||||
function collapse() {document.getElementById("bar").style.height = "0px"; }
|
||||
function myFunction() {
|
||||
if (document.getElementById('bar').clientHeight == 0) { expand();}
|
||||
else { collapse();}
|
||||
}
|
||||
<html>
|
||||
<script>
|
||||
function expand() { document.getElementById("bar").style.height = "100%"; }
|
||||
function collapse() { document.getElementById("bar").style.height = "0px"; }
|
||||
function myFunction() {
|
||||
if (document.getElementById('bar').clientHeight == 0) { expand(); }
|
||||
else { collapse(); }
|
||||
}
|
||||
</script>
|
||||
<LINK href="style.css" rel="stylesheet" type="text/css">
|
||||
<title>TC Automotives</title><style>
|
||||
#b1:hover { background-image:url("resources/car.png");}
|
||||
#b2:hover { background-image:url("resources/sketch.png");}
|
||||
#b3:hover { background-image:url("resources/cogs.png");}
|
||||
#b4:hover { background-image:url("resources/track.png");}
|
||||
<title>TC Automotives</title>
|
||||
|
||||
<style>
|
||||
#b1:hover {
|
||||
background-image: url("resources/car.png");
|
||||
}
|
||||
|
||||
#b2:hover {
|
||||
background-image: url("resources/sketch.png");
|
||||
}
|
||||
|
||||
#b3:hover {
|
||||
background-image: url("resources/cogs.png");
|
||||
}
|
||||
|
||||
#b4:hover {
|
||||
background-image: url("resources/track.png");
|
||||
}
|
||||
</style>
|
||||
|
||||
<body>
|
||||
<div id="menu"><div id="buttonholder">
|
||||
<div id="menu">
|
||||
<div id="buttonholder">
|
||||
<div id="b1" class="button" onclick="myFunction()">Models</div>
|
||||
<div id="b2" class="button" onclick="myFunction()">Design</div>
|
||||
<div id="b3" class="button" onclick="myFunction()">Details</div>
|
||||
|
@ -39,4 +55,5 @@ function myFunction() {
|
|||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Reference in a new issue