- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontainer.html
More file actions
Latest commit
64 lines (50 loc) · 1.99 KB
/
Copy pathcontainer.html
File metadata and controls
64 lines (50 loc) · 1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html>
<head>
<metacharset="utf-8" />
<linkrel="stylesheet" type="text/css" href="css/container.css">
<title></title>
</head>
<body>
<h1>Our Menu</h1>
<divid="mainContainer">
<divid="box">
<divid="header">
<divid="title1">Chicken</div>
</div>
<divid="content">LJLS DJFLSD KJFS KFJSDLF LJLS DJFLSD KJFS KFJSDLFLJLS DJFLSD KJFS KFJSDLFLJLS DJFLSD KJFS KFJSDLFLJLS DJFLSD KJFS KFJSDLFLJLS DJFLSD KJFS KFJSDLF </div>
</div>
<divid="box">
<divid="header">
<divid="title2">Beef</div>
</div>
<divid="content">LJLS DJFLSD KJFS KFJSDLF LJLS DJFLSD KJFS KFJSDLFLJLS DJFLSD KJFS KFJSDLFLJLS DJFLSD KJFS KFJSDLFLJLS DJFLSD KJFS KFJSDLFLJLS DJFLSD KJFS KFJSDLF </div>
</div>
<divid="box2"><!--really i should be using classes overhere instead of specifitying another id like stated in lecture 24. Note to myself: but since I've already started and its almost time to submit, I'm just going to finish this using like so-->
<divid="header">
<divid="title3">Sushi</div>
</div>
<divid="content">LJLS DJFLSD KJFS KFJSDLF LJLS DJFLSD KJFS KFJSDLFLJLS DJFLSD KJFS KFJSDLFLJLS DJFLSD KJFS KFJSDLFLJLS DJFLSD KJFS KFJSDLFLJLS DJFLSD KJFS KFJSDLF </div>
</div>
</div>
</body>
</html>
<script>
functionajaxhandler(){
}
</script>
<script>
functionclientWidth(){
returndocument.documentElement.clientWidth;
}
functionresize(){//this needs to be changed.
return480-200;
}
functionupdate(id){
//var width = clientWidth();
//document.getElementById(id).style.backgroundColor = "black";
}
// window.onresize = function () {
// update("content");
//}
</script>