-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex2.html
executable file
·93 lines (72 loc) · 3.67 KB
/
index2.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
<!DOCTYPE html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!-- Consider adding a manifest.appcache: h5bp.com/d/Offline -->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<!-- Use the .htaccess and remove these lines to avoid edge case issues.
More info: h5bp.com/b/378 -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Cognitopia Health Checker</title>
<meta name="description" content="">
<meta name="author" content="">
<!-- Mobile viewport optimized: h5bp.com/viewport -->
<meta name="viewport" content="width=device-width,initial-scale=1">
<!-- Place favicon.ico and apple-touch-icon.png in the root directory: mathiasbynens.be/notes/touch-icons -->
<link rel="stylesheet" type="text/css" href="css/fonts/fonts.css" />
<link rel="stylesheet" href="css/hc2.css">
<!-- More ideas for your <head> here: h5bp.com/d/head-Tips -->
<!-- All JavaScript at the bottom, except this Modernizr build incl. Respond.js
Respond is a polyfill for min/max-width media queries. Modernizr enables HTML5 elements & feature detects;
for optimal performance, create your own custom Modernizr build: www.modernizr.com/download/ -->
<script src="js/modernizr-2.0.6.min.js"></script>
</head>
<body>
<div id="content">
<div id="header"><img src="images/skinnylogo.png"></div>
<div id="guide1"><img src='images/host_150.png'></div>
<div id="pageheader"><h1></h1></div>
<div id="minibubble"><img src='images/minibubble.png'></div>
<div id="bubbletalk"><h3 id="talkbubble" class="talkable">Welcome to your Health Checker!</h3></div>
<div id="signin">
<img class="floatleft" src="images/login.png">
<fieldset id="signinarea">
<form id="nameForm" method="post">
<div><h5><label>First Name:</label><input id="name" type="text" name="name" required/></h5></div>
<div class="margindrop1"><h5><label>Email address:</label><input id="email" name="email" type="email" required/></h5></div>
<img class="next" id="submitsignin" type="submit" src="images/signin_back.png">
</form>
</fieldset>
</div>
</div> <!-- end content -->
<script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript" src="js/jquery.healthchecker.js"></script>
<script type="text/javascript">
$(document).ready(function() {
localStorage.clear();
});
$(window).load(function(){speakText("Welcome to your Health Checker! ... Please sign innn.");});
$('#submitsignin').hover(function(){speakText("sign in");});
$("#submitsignin").click(function() {
var myName = $("#name").val();
localStorage.setItem("name", myName);
var myEmail = $("#email").val();
localStorage.setItem("email", myEmail);
window.location = 'good-start.html';
});
$("#name").hover(function() {
speakText("First Name");
});
$("#email").hover(function() {
speakText("Email Address");
});
</script>
<footer></footer>
<div id='speech'></div>
<script type="text/javascript" src="js/tts.js"></script>
</body>
</html>