-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
160 lines (134 loc) · 4.01 KB
/
index.html
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>2 Column Layout — Right Menu with Header & Footer</title>
<style type="text/css">
body {
margin:0;
padding:0;
font-family: Sans-Serif;
line-height: 1.5em;
}
header {
background: #ccc;
height: 100px;
}
header h1 {
margin: 0;
padding-top: 15px;
}
main {
padding-bottom: 10010px;
margin-bottom: -10000px;
float: left;
width: 100%;
}
nav {
padding-bottom: 10010px;
margin-bottom: -10000px;
float: left;
width: 230px;
margin-left: -230px;
background: #eee;
}
footer {
clear: left;
width: 100%;
background: #ccc;
text-align: center;
padding: 4px 0;
}
#wrapper {
overflow: hidden;
}
#content {
margin-right: 230px; /* Same as 'nav' width */
}
.innertube {
margin: 15px; /* Padding for content */
margin-top: 0;
}
p {
color: #555;
}
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
}
nav ul a {
color: darkgreen;
text-decoration: none;
}
</style>
<script type="text/javascript">
/* =============================
This script generates sample text for the body content.
You can remove this script and any reference to it.
============================= */
var bodyText=["The smaller your reality, the more convinced you are that you know everything.", "If the facts don't fit the theory, change the facts.", "The past has no power over the present moment.", "This, too, will pass.", "</p><p>You will not be punished for your anger, you will be punished by your anger.", "Peace comes from within. Do not seek it without.", "<h3>Heading</h3><p>The most important moment of your life is now. The most important person in your life is the one you are with now, and the most important activity in your life is the one you are involved with now."]
function generateText(sentenceCount){
for (var i=0; i<sentenceCount; i++)
document.write(bodyText[Math.floor(Math.random()*7)]+" ")
}
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-269964-1', 'quackit.com');
ga('send', 'pageview');
</script>
</head>
<body>
<header>
<div class="innertube">
<h1>Header...</h1>
</div>
</header>
<div id="wrapper">
<main>
<div id="content">
<div class="innertube">
<h1>Heading</h1>
<h3><a style='background:#eee;border:1px solid #ccc;font-size:120%;text-decoration:none;color:black;padding:3px;' href='http://www.quackit.com/html/templates/download/view_source.cfm?template=/html/templates/layout_templates/2_column_right_menu_header_footer.cfm' target='_blank'>View Template Source Code</a></h3> <script>generateText(20)</script></p>
</div>
</div>
</main>
<nav>
<div class="innertube">
<h3>Right heading</h3>
<ul>
<li><a href="#">Link 1</a></li>
<li><a href="#">Link 2</a></li>
<li><a href="#">Link 3</a></li>
<li><a href="#">Link 4</a></li>
<li><a href="#">Link 5</a></li>
</ul>
<h3>Right heading</h3>
<ul>
<li><a href="#">Link 1</a></li>
<li><a href="#">Link 2</a></li>
<li><a href="#">Link 3</a></li>
<li><a href="#">Link 4</a></li>
<li><a href="#">Link 5</a></li>
</ul>
<h3>Right heading</h3>
<ul>
<li><a href="#">Link 1</a></li>
<li><a href="#">Link 2</a></li>
<li><a href="#">Link 3</a></li>
<li><a href="#">Link 4</a></li>
<li><a href="#">Link 5</a></li>
</ul>
</div>
</nav>
</div>
<footer>
<div class="innertube">
<p>Footer...</p>
</div>
</footer>
</body>
</html>