-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbounce.html
More file actions
35 lines (35 loc) · 909 Bytes
/
Copy pathbounce.html
File metadata and controls
35 lines (35 loc) · 909 Bytes
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Bouncers!!</title>
<style type="text/css">
#ballBounce{
float: left;
outline: black solid thin;
background-color:#87CEFA;
}
</style>
<script type="text/javascript"
src="http://code.jquery.com/jquery-1.6.2.js"></script>
<script type="text/javascript" src='delayEvent.js'></script>
<script type="text/javascript">
$(document).ready(function(){
initialScreen();
$(document).keydown(onKeyDown);
$(document).delay({
delay : 500,
event : 'keyup',
fn : onKeyUp
})
});
</script>
</head>
<body>
<div id="container">
<canvas id="ballBounce" height="500" width="700"> Your browser
does not support HTML5 canvas </canvas>
</div>
</body>
<script src="game8.js" type="text/javascript"></script>
</html>