forked from ArjunVaskale/hackventoProject
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
78 lines (66 loc) · 1.51 KB
/
index.html
File metadata and controls
78 lines (66 loc) · 1.51 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<html>
<head>
<title> City Hospitals </title>
<link rel="stylesheet" type="text/css" href="indexcss.css">
</head>
<body>
<div class="top-container">
<h1><u>City Hospital</u></h1>
<h1 align=center> Welcome to our online appointment scheduling services</h1>
</div>
<div class="header" id="head">
<a href="login.php">
<input class="log" type="submit" value="Login">
</a>
</div>
<div class="dr_details">
<p style="font-family: "Trebuchet MS", Helvetica, sans-serif;font-size: 30px;color:ivory">
Our specialised doctors
</p>
</div>
<div class="content">
<center>
<div class="detail">
<p>
Dr.Kailash Bhatia<br>
General Physician
</p>
</div><br>
<div class="detail">
<p>
Dr.Ajay Tiwari <br>
ENT Specialist
</p>
</div><br>
<div class="detail">
<p>
Dr.Narendra Gokhale<br>
Dermatologist
</p>
</div><br>
<div class="detail">
<p>
Dr.Girish Kumar<br>
Dentist
</p>
</div><br>
</center></div>
<center>
<a href="registration.php">
<input class="app" type="submit" value="Get Appointment">
</a>
</center>
</body>
<script>
window.onscroll = function() {myFunction()};
var header = document.getElementById("head");
var sticky = header.offsetTop;
function myFunction() {
if (window.pageYOffset > sticky) {
header.classList.add("sticky");
} else {
header.classList.remove("sticky");
}
}
</script>
</html>