-
Notifications
You must be signed in to change notification settings - Fork 0
/
paginacontato.html
74 lines (63 loc) · 1.77 KB
/
paginacontato.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>CLÍNICA DOUTOR FABIANO</title>
<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:300,300i,400,400i,700i" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<link rel="stylesheet" href="layouthome.css">
<script type="text/javascript"></script>
</head>
<body>
<nav class="menu-activea">
<h1>NAVEGAR</h1>
<ol>
<li><a href="paginahome.html">HOME</a></li>
<li><a href="paginacadastramento.html">PACIENTES</a></li>
<li><a href="paginacontato.html">CONTATO</a></li>
</ol>
</nav>
<main>
<section>
<p class="h1a">CENTRO CLÍNICO DOUTOR FABIANO</p><br><br><br><br><br><br>
<p class="escritahome">
CONTATO:<br>
Email: [email protected]<br>
Telefone: (##) ####-#####<br>
WhatsApp: (##) #####-#####
</p><br><br><br><br><br><br><br><br><br><br>
<p class="infonav">Contato Desenvolvedor: [email protected]</p>
<br>
<p class="rodape">Desenvolvido por Antonio Paolillo</p>
</section>
</main>
<script>
(function () {
var nav = $('nav'),
menu = $('nav h1'),
main = $('main'),
open = false,
hover = false;
menu.on('click', function () {
open = !open ? true : false;
nav.toggleClass('menu-active');
main.toggleClass('menu-active');
nav.removeClass('menu-hover');
main.removeClass('menu-hover');
console.log(open);
});
menu.hover(
function () {
if (!open) {
nav.addClass('menu-hover');
main.addClass('menu-hover');
}
}, function () {
nav.removeClass('menu-hover');
main.removeClass('menu-hover');
}
);
})();
</script>
</body>
</html>