-
Notifications
You must be signed in to change notification settings - Fork 0
/
whichone.html
37 lines (29 loc) · 1.02 KB
/
whichone.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Which one?</title>
<link rel="stylesheet" type="text/css" href="css/site.css" />
<script src="js/jQuery.js" type="text/javascript"></script>
<script>
$(function(){
$("#blueButtonHelper").click(function(){window.location="bouncing.html";});
$('#redButton').click(function(){startOver();});
});
function startOver() {
//***Get what is below onto one line***
window.open("index.html",'Index','toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1');
//***Get what is above onto one line***
self.close()
}
</script>
</head>
<body>
<h3 id="buttonChooseTitle">CHOOSE</h3>
<div id="buttonChooseWrapper">
<div id="blueButtonHelper"></div>
<img id="blueButton" src="images/bluebutton.jpg" />
<img id="redButton" src="images/redbutton.jpg" />
</div>
</body>
</html>