-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStore1.html
executable file
·113 lines (105 loc) · 5.37 KB
/
Store1.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!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" xml:lang="EN" lang="EN" dir="ltr">
<!--document.getElementById("myP").style.visibility="hidden";-->
<head profile="http://gmpg.org/xfn/11">
<title>MA Fishing</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="imagetoolbar" content="no" />
<link rel="stylesheet" href="styles/layout.css" type="text/css" />
</head>
<body id="top">
<div class="wrapper col1">
<div id="topbar">
</div>
</div>
<div class="wrapper col2">
<div id="header">
<div id="logo">
<h1><a href="#">Get Hooked</a></h1>
<p>A learning fishing game for the state of Massachussetts</p>
</div>
</div>
</div>
<div class="wrapper col3">
<div id="gallery">
<img src="images/Store_young.gif" width="1024" height="566" />
<!--br class="clear" /-->
<img id="rod1_sm" src="images/rod1_sm.png" onclick="rod_clicked();" />
<img id="rod_big" src="images/rod1_big.png" width="287" height="137"/>
<img id="worms_sm" src="images/worms_sm.png" onclick="worms_clicked();" />
<img id="worms_big" src="images/worms_big.png" width="221" height="122"/>
<img id="bait_sm" src="images/bait_sm.png" onclick="bait_clicked();" />
<img id="bait_big" src="images/bait_big.png" />
<img id="vest_sm" src="images/vest1_sm.png" onclick="vest_clicked();" />
<img id="vest_big" src="images/vest1_big.png" />
<img id="tBar" src="images/top.png" />
<img id="bBar" src="images/bottom.png" />
<textarea id="sBuble" type="text" readonly>La La la lalalala... Ohh, um..Hiii..Welcome to Hook ‘Em! I’ll try to answer some questions you might have. You can do so by clicking on any equipment to know more, I
guess.!</textarea>
<textarea id="bud" type="text" readonly></textarea>
<textarea id="tar1" type="text" readonly></textarea>
<textarea id="tar2" type="text" readonly></textarea>
<textarea id="tar3" type="text" readonly></textarea>
<textarea id="tar4" type="text" readonly></textarea>
<textarea id="bait1" type="text" readonly>0</textarea>
<textarea id="bait2" type="text" readonly>0</textarea>
<img id="Back" onclick="back()" src="images/exit.gif"/>
<img id="For" onclick="Forward()" src="images/chk.gif" />
<img id="inst" onclick="instructions()" src="images/i.png" />
</div>
</div>
<div class="wrapper col5">
<div id="container">
<br class="clear" />
</div>
</div>
<script>
(function (global) {
document.getElementById("bud").innerHTML = global.localStorage.getItem("budget");
document.getElementById("tar1").innerHTML = global.localStorage.getItem("targ1");
document.getElementById("tar2").innerHTML = global.localStorage.getItem("targ2");
document.getElementById("tar3").innerHTML = global.localStorage.getItem("targ3");
document.getElementById("tar4").innerHTML = global.localStorage.getItem("targ4");
document.getElementById("bait1").innerHTML = global.localStorage.getItem("bait1");
document.getElementById("bait2").innerHTML = global.localStorage.getItem("bait2");
}(window));
function rod_clicked() {
document.getElementById("worms_big").style.visibility = "hidden";
document.getElementById("rod_big").style.visibility = "visible";
document.getElementById("bait_big").style.visibility = "hidden";
document.getElementById("vest_big").style.visibility = "hidden";
document.getElementById("sBuble").innerHTML = "Um, I dunno, beginners like these spin casting ones. I guess they're super easy to use, plus, at $25, they're the cheapest ones we sell!";
}
function worms_clicked() {
document.getElementById("rod_big").style.visibility = "hidden";
document.getElementById("worms_big").style.visibility = "visible";
document.getElementById("bait_big").style.visibility = "hidden";
document.getElementById("vest_big").style.visibility = "hidden";
document.getElementById("sBuble").innerHTML = "OMG! Whatever we have in there are like $3.00 each, I think. Close it fast, though, it totally smells in there!!";
}
function bait_clicked() {
document.getElementById("rod_big").style.visibility = "hidden";
document.getElementById("worms_big").style.visibility = "hidden";
document.getElementById("vest_big").style.visibility = "hidden";
document.getElementById("bait_big").style.visibility = "visible";
document.getElementById("sBuble").innerHTML = "Oh these small fish thingys, people buy them a lot! Dunno why. Maybe coz they are cute, aren’t they?";
}
function vest_clicked() {
document.getElementById("rod_big").style.visibility = "hidden";
document.getElementById("worms_big").style.visibility = "hidden";
document.getElementById("bait_big").style.visibility = "hidden";
document.getElementById("vest_big").style.visibility = "visible";
document.getElementById("sBuble").innerHTML = "Aww! This stylish, cute vest goes perfectly with a pair of awesome shorts and boots. Don’t you think?";
}
function Forward() {
window.location.href = "https://e187e37c2d1b0e5298b62f7b2639b740eb7d4aca.googledrive.com/host/0B2jHpPeOc3kGX0R6WkxfU2w2NEU/cart1.html";
}
function back() {
window.location.href = "https://e187e37c2d1b0e5298b62f7b2639b740eb7d4aca.googledrive.com/host/0B2jHpPeOc3kGX0R6WkxfU2w2NEU/town.html";
}
function instructions() {
window.location.href = "https://e187e37c2d1b0e5298b62f7b2639b740eb7d4aca.googledrive.com/host/0B2jHpPeOc3kGX0R6WkxfU2w2NEU/instr.html";
}
</script>
</body>
</html>