-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.htm
43 lines (35 loc) · 1.07 KB
/
index.htm
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
<!DOCTYPE html>
<html>
<head>
<title>Log in</title>
<link href="WADproject1.css" rel="stylesheet" type="text/css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js">
</script>
<script>
$(document).ready(function(){
//Hide (Collapse) the toggle containers on load
$('#slidetoggle').hide();
$("#trigger").click(function () {
$("#slidetoggle").slideToggle("fast");
});
});
</script>
</head>
<body>
<div id="container"
<h1>
Go ahead & log in, so you can join the fun!</h1>
<p>This is a page with a log in form that hides out of the way. It uses the jQuery 'toggle' effect.</p>
<p id="trigger">Click here to log in</p>
<form>
<fieldset id="slidetoggle">
<label for "email">What's your email address?</label>
<input id="email" name="email" type="text" placeholder="[email protected]" />
<label for "password">Type in that password whydon'tcha?</label>
<input id="password" name="password" type="password" />
<input class="submit" type="submit" value="Hit me!" />
</fieldset>
</form>
</div>
</body>
</html>