This repository was archived by the owner on Feb 19, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcloudOld.html
More file actions
51 lines (42 loc) · 1.57 KB
/
Copy pathcloudOld.html
File metadata and controls
51 lines (42 loc) · 1.57 KB
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="generator" content="PSPad editor, www.pspad.com">
<title></title>
<script src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#txt_name").keyup(function(){
alert(this.value);
});
});
var name
function start(){
var n = $(window).width()/2-180
$("#startPanel").animate({left: "+="+n}, 2600). animate({ opacity: 0 }, "slow").empty().
css({'backgroundImage': 'url(1.png)','background-color':'transparent','border':'0px','height':'153px','background-repeat': 'no-repeat' }).animate({ opacity: 1 }, "slow");
value = $("#txt_name").attr('value');
alert(name);
}
function enter(e)
{
if (e.keyCode == 13) document.getElementById('GoingBut').click();
}
</script>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<div align="center" id="startPanel">
<form onkeyup="if ( event.keyCode == 13 ) start();">
<h2>Welcome to Clouds</h2>
<label>Enter name<br>
<input type="text" id="name" autofocus onkeydown="enter(event);"> </label>
<input onClick="start();" id='GoingBut'type="button" value="Sending">
</form>
</div>
lalala
<div id="info">
</div>
</body>
</html>