-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfale-conosco.html
278 lines (269 loc) · 8.65 KB
/
fale-conosco.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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tudo sobre Google Glass</title>
<link rel="stylesheet" href="_css/estilo.css" />
<link rel="stylesheet" href="_css/form.css" />
</head>
<script src="_javascript/funcoes.js"></script>
<script>
function calc_total() {
var qtd = parseInt(document.getElementById("cQtd").value);
tot = qtd * 1500;
document.getElementById("cTot").value = tot;
}
</script>
<body>
<div id="interface">
<header id="cabecalho">
<hgroup>
<h1>Google Glass</h1>
<h2>A revolução do Google está chegando</h2>
</hgroup>
<img id="icone" src="_imagens/contato.png" alt="Google Glass" />
<nav id="menu">
<h1>Menu Principal</h1>
<ul>
<li
onmouseover="mudaFoto('_imagens/home.png')"
onmouseout="mudaFoto('_imagens/contato.png')"
>
<a href="index.html">Home</a>
</li>
<li
onmouseover="mudaFoto('_imagens/especificacoes.png')"
onmouseout="mudaFoto('_imagens/contato.png')"
>
<a href="specs.html">Especificações</a>
</li>
<li
onmouseover="mudaFoto('_imagens/fotos.png')"
onmouseout="mudaFoto('_imagens/contato.png')"
>
<a href="fotos.html">Fotos</a>
</li>
<li
onmouseover="mudaFoto('_imagens/multimidia.png')"
onmouseout="mudaFoto('_imagens/contato.png')"
>
<a href="multimidia.html">Multimídia</a>
</li>
<li
onmouseover="mudaFoto('_imagens/contato.png')"
onmouseout="mudaFoto('_imagens/contato.png')"
>
<a href="fale-conosco.html">Fale conosco</a>
</li>
</ul>
</nav>
</header>
<section id="corpo-full">
<article id="noticia-principal">
<header id="cabecario-artigo">
<hgroup>
<h3>Fale Conosco > Contato</h3>
<h1>Formulário de Contato</h1>
<h2>por Paulo Alvares</h2>
<h3 class="direita">Atualizado em 06/Fevereiro/2024</h3>
</hgroup>
</header>
<form
method="post"
id="fContato"
action="mailto:contato@cursoemvideo.com"
oninput="calc_total()"
>
<fieldset id="usuario">
<legend>Identificação do Usuário</legend>
<p>
<label for="cNome">Nome:</label>
<input
type="text"
name="tNome"
id="cNome"
size="20"
maxlength="30"
placeholder="Nome Completo"
/>
</p>
<p>
<label for="cSenha">Senha:</label>
<input
type="password"
name="tSenha"
id="cSenha"
size="8"
maxlength="8"
placeholder="8 dígitos"
/>
</p>
<p>
<label for="cMail">E-mail:</label>
<input
type="email"
name="tMail"
id="cMail"
size="20"
maxlength="40"
/>
</p>
<fieldset id="sexo">
<legend>Sexo:</legend>
<input type="radio" name="tSexo" id="cMasc" checked />
<label for="cMasc">Masculino</label><br />
<input type="radio" name="tSexo" id="cFem" />
<label for="cFem">Feminino</label>
</fieldset>
<p>
<label for="cNasc">Data de Nascimento:</label>
<input type="date" name="tNasc" id="cNasc" />
</p>
</fieldset>
<fieldset id="endereco">
<legend>Endereço do Usuário</legend>
<p>
<label for="cRua">Logradouro:</label>
<input
type="text"
name="tRua"
id="cRua"
size="13"
maxlength="80"
placeholder="Rua, Avenida, Trav..."
/>
</p>
<p>
<label for="cNum">Número:</label>
<input
type="number"
name="tNum"
id="cNum"
min="0"
max="99999"
/>
</p>
<p>
<label for="cEst">Estado:</label>
<select name="tEst" id="cEst">
<optgroup label="Região Sudeste">
<option value="RJ">Rio de Janeiro</option>
<option value="SP" selected>São Paulo</option>
<option value="MG">Minas Gerais</option>
</optgroup>
<optgroup label="Região Sul">
<option value="PR">Paraná</option>
<option value="SC">Santa Catarina</option>
<option value="RS">Rio Grande do Sul</option>
</optgroup>
</select>
</p>
<p>
<label for="cCid">Cidade:</label>
<input
type="text"
name="tCid"
id="cCid"
maxlength="40"
size="20"
placeholder="Sua Cidade"
list="cidades"
/>
<datalist id="cidades">
<option value="Rio de Janeiro"></option>
<option value="Nova Iguaçu"></option>
<option value="Niterói"></option>
<option value="Belford Roxo"></option>
</datalist>
</p>
</fieldset>
<fieldset id="mensagem">
<legend>Mensagem do Usuário</legend>
<p>
<label for="cUrg">Grau de Urgência:</label>
Min
<input
type="range"
name="tUrg"
id="cUrg"
min="0"
max="10"
step="2"
/>
Max
</p>
<p>
<label for="cMsg">Mensagem:</label>
<textarea
name="tMsg"
id="cMsg"
cols="35"
rows="5"
placeholder="Deixe aqui sua mensagem"
></textarea>
</p>
</fieldset>
<fieldset id="pedido">
<legend>Quero um Google Glass</legend>
<p>
<input type="checkbox" name="tPed" id="cPed" checked />
<label for="cPed">
Gostaria de adquirir um Google Glass quando disponível
</label>
</p>
<p>
<label for="cCor">Cor:</label>
<input type="color" name="tCor" id="cCor" value="#0000FF" />
</p>
<p>
<label for="cQtd">Quantidade:</label>
<input
type="number"
name="tQtd"
id="cQtd"
min="0"
max="5"
value="0"
/>
</p>
<p>
<label for="cTot">Preço Total: R$</label>
<input
type="text"
name="tTot"
id="cTot"
placeholder="Total a Pagar"
readonly
/>
</p>
</fieldset>
<!--
Botão alternativo:
<input type="submit" value="Enviar">
-->
<input
type="image"
name="tEnviar"
src="_imagens/botao-enviar.png"
/>
</form>
</article>
</section>
<footer id="rodape">
<p>
Copyright © 2024 - by Paulo Alvares <br />
<a
href="https://www.facebook.com/paulogabriel.alvares"
target="_blank"
>Facebook</a
>
|
<a href="https://twitter.com/PauloAlvares4" target="_blank"
>Twitter</a
>
</p>
</footer>
</div>
</body>
</html>