This repository has been archived by the owner on Aug 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
98 lines (89 loc) · 2.49 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
<html>
<head>
<title>For Janu</title>
<style type="text/css">
html {height:100%; position:relative; min-height:100%; overflow:hidden;}
body {height:100%; margin:0 0 400px; padding:0;}
.bg {
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
}
footer {
position:absolute;
left:0;
bottom:0;
height:400px;
width: 100%;
}
.content {
position:relative;
z-index:1;
}
.menu {
background-image:url(box2.png);
background-repeat:no-repeat;
height:47px;
margin-bottom:20px;
font-size:30px;
font-weight:bold;
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
}
.menu p{padding-top:5px;}
a {text-decoration:none; color:#FF6666;}
</style>
<script>
var counter1 = 0;
var sprite1 = new Array("cat1a.png", "cat1b.png", "cat1c.png", "cat1d.png", "cat1e.png", "cat1f.png", "cat1g.png", "cat1h.png");
</script>
</head>
<body onLoad="loadsprites();">
<div class="bg"><img src="drive_in.png" width="100%" height="100%"></div>
<div class="bg" style="left:11%; top:5%;"><img src="23.jpg" style="width:79%; height:29%;"></div>
<footer>
<div class="content" style="width:100%;">
<table align="center" border="0" cellspacing="0" cellpadding="0" style="width:100%;">
<tr>
<td>
<table align="center" border="0" cellspacing="0" cellpadding="0" style="width:450px;">
<tr>
<td align="center"></td>
</tr>
<tr>
<td align="center" style="padding-top:25px;"><img src="title.png"></td>
</tr>
<tr>
<td align="center"><div class="menu"><p><a href="dailyMed.html"><img src="pill.png" hspace="15" border="0">Daily Medicine<img src="pill.png" hspace="15" border="0"></a></p>
</div></td>
</tr>
<tr>
<td align="center"><div class="menu"><p><a href="memoryLane.html"><img src="pixel_heart.png" width="40" height="26" hspace="15" border="0">Trip to Memory Lane<img src="pixel_heart.png" width="40" height="26" hspace="15" border="0"></a></p>
</div></td>
</tr>
<tr>
<td align="center"><div class="menu"><div id="c1" style="position:absolute; margin-left:20px; margin-top:5px;"></div><p><a href="#">50 Shades of Cheetos</a></p></div></td>
</tr>
</table>
</td>
</tr>
</table>
<script>
function loadsprites(){
setInterval(function() {animate('c1', sprite1, counter1, 8)},150);
}
function animate(spriteid, array, counter, numpics) {
var spritediv = document.getElementById(spriteid);
spritediv.innerHTML ="<img src='" + array[counter1] + "' width='31' height='33' />";
counter1++;
if (counter1 > numpics - 1)
{
counter1 = 0;
}
}
</script>
</div>
</footer>
</body>
</html>