-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.php
110 lines (93 loc) · 2.63 KB
/
index.php
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
<!DOCTYPE html>
<html>
<head>
<link rel="icon" href="images/HMS-Logo.jpg" type="image/jpg" sizes="16x16">
<title>HMS</title>
<!-- <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> -->
<script src="jquery-1.11.0.min.js"></script>
<script>
function updateFrame(src) {
document.getElementById("hmsFrame").src = src;
}
function serviceRequest(value) {
var openServiceFrame = 'services/'+value+'.php';
updateFrame(openServiceFrame);
}
$("#menu a").click(function(e) {
e.preventDefault();
var src = $(this).attr('href');
$('#hmsFrame').fadeOut(1000,function(){
$('#hmsFrame').attr('src',src ).load(function(){
$(this).fadeIn(1000);
});
});
});
</script>
<style>
header {
background-color:green;
color:white;
text-align:center;
padding:5px;
}
footer {
background-color:black;
color:white;
clear:both;
text-align:center;
padding:5px;
}
nav a {
height:40px;
width:80px;
border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
display: inline-block; padding: 2px 8px;
border-style: solid; border-width: 1px;
background: ButtonFace; color: ButtonText;
background-color:tan;
}
nav a:link, a:visited {
text-decoration: none;
cursor: auto;
}
nav a:link:active, a:visited:active {
}
</style>
</head>
<body>
<header>
<table align="center">
<tr>
<td><img src="images/HMS-Logo.jpg" alt="HMS LOGO" width="100" height="60"></img></td>
<td><h1>Welcome to Hospital Management System</h1></td>
</tr>
</table>
</header>
<table width="100%" height="435px" border="1">
<tr>
<td width="10%" valign="top" bgcolor="wheat">
<nav id="menu">
<a href="menu/home.php" target="hmsFrame">Home</a>
<a href="menu/what-HMS.php" target="hmsFrame">What is HMS?</a>
<a href="menu/mission.php" target="hmsFrame">Our Mission</a>
<a href="menu/services.php" target="hmsFrame">Services</a>
<a href="menu/address.php" target="hmsFrame">Our Address</a>
<a href="menu/anubhav.php" target="hmsFrame">About the Developer</a>
</nav>
</td>
<td bgcolor="snow">
<iframe name="hmsFrame" id="hmsFrame" width="100%" height="420px" frameborder="0" src="images/hospital.jpg"></iframe>
</td>
</tr>
</table>
<table width="100%" border="1">
<tr>
<td bgcolor="peru" align="center">News Update: </td>
<td bgcolor="oldlace" color="yellow" width="800px"><marquee>10% discount for NITS Students and faculty. AIIMS surgeon about to join medical staff. Eye operation camp in rural areas of Silchar on 25 December. Mobile application for HMS soon to release.</marquee></td>
</tr>
</table>
<footer>
Copyright © Anubhav Saxena. ™ NIT SILCHAR - 2014
</footer>
</body>
</html>