-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
205 lines (186 loc) · 12.2 KB
/
index.html
File metadata and controls
205 lines (186 loc) · 12.2 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
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="description" content="An ability score calculator for the Pathfinder Role Playing Game (RPG)." />
<title>Pathfinder Ability Score Calculator</title>
<script src="http://code.jquery.com/jquery-1.8.3.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" />
<link rel="stylesheet" href="ability.css" />
<script src='ability.js'></script>
<!--
<script>
$(document).ready(function(){
$('#panel').hide();
settingsPane = new SlidingPane({
id: 'panel',
targetId: 'app',
side: 'left',
width: 200,
duration: 0.3,
timingFunction: 'ease',
shadowStyle: '0px 0px 30px #000' /* or 'none' or ... */
});
document.querySelector('#toggle').addEventListener('click', function () {
settingsPane.toggle();
});
});
</script>
-->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-30659888-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="3sections" id="app">
<header>
<img src="images/pathfinder.png">
<!-- FACEBOOK SOCIAL LIKE -->
<div class="fb-like" data-href="http://www.jody-white.com/pathfinder-ability-score-calculator/" data-send="false" data-width="250" data-show-faces="false" data-font="verdana"></div>
<!-- TWITTER SOCIAL LIKE -->
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://bit.ly/XFqio3" data-text="Pathfinder Ability Score Calculator. Simplify your gaming!" data-via="jwjody">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<!-- GOOGLE +1 SOCIAL LIKE -->
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<g:plusone></g:plusone>
<h1>Pathfinder RPG Ability Score Calculator</h1>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-3386970320908648";
/* mySite-ability */
google_ad_slot = "3881032018";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</header>
<div id="radio">
<input type="radio" id="radio1" name="radio" value="10"/><label for="radio1">Low Fantasy: 10</label>
<input type="radio" id="radio2" name="radio" value="15"/><label for="radio2">Standard Fantasy: 15</label>
<input type="radio" id="radio3" name="radio" value="20"/><label for="radio3">High Fantasy: 20</label>
<input type="radio" id="radio4" name="radio" value="25"/><label for="radio4">Epic Fantasy: 25</label>
<input type="radio" id="radio5" name="radio" value="other"/><label for="radio5">Other</label>
</div> <!-- END #radio -->
<div id="scores">
<form>
Select Race:
<select id = "race" onchange = "javascript: racialMod(this.value);">
<option value = "choose">Choose</option>
<option value = "dwarf">Dwarf</option>
<option value = "elf">Elf</option>
<option value = "gnome">Gnome</option>
<option value = "helf">Half-elf</option>
<option value = "horc">Half-orc</option>
<option value = "half">Halfing</option>
<option value = "human">Human</option>
<option value = "other">Other</option>
</select>
</form>
<table>
<tr id="table">
<th>Ability</th>
<th>Points</th>
<th>Mod</th>
<th>Cost</th>
<th>Racial Trait</th>
<th>Actual Points</th>
<th>Actual Mod</th>
</tr>
<tr>
<td class="abilityName"><label for="spinnerSTR">Strength: </label></td>
<td><input class="thisSpinner" id="spinnerSTR" name="value"/></td>
<td><span class="toChange" id="strMod">0</span></td>
<td><span class="toChange points" id="strPts">0</span></td>
<td id="racials"><span class="toChange" id="racialStr">0</span></td>
<td><span class="change" id="actualStrPts">10</span></td>
<td><span class="toChange" id="actualStrMod">0</span></td>
</tr>
<tr>
<td class="abilityName"><label for="spinnerDEX">Dexterity: </label></td>
<td><input class="thisSpinner" id="spinnerDEX" name="value"/></td>
<td><span class="toChange" id="dexMod">0</span></td>
<td><span class="toChange points" id="dexPts">0</span></td>
<td id="raciald"><span class="toChange" id="racialDex">0</span></td>
<td><span class="change" id="actualDexPts">10</span></td>
<td><span class="toChange" id="actualDexMod">0</span></td>
</tr>
<tr>
<td class="abilityName"><label for="spinnerCON">Constitution: </label></td>
<td><input class="thisSpinner" id="spinnerCON" name="value"/></td>
<td><span class="toChange" id="conMod">0</span></td>
<td><span class="toChange points" id="conPts">0</span></td>
<td id="racialc"><span class="toChange" id="racialCon">0</span></td>
<td><span class="change" id="actualConPts">10</span></td>
<td><span class="toChange" id="actualConMod">0</span></td>
</tr>
<tr>
<td class="abilityName"><label for="spinnerINT">Intelligence: </label></td>
<td><input class="thisSpinner" id="spinnerINT" name="value"/></td>
<td><span class="toChange" id="intMod">0</span></td>
<td><span class="toChange points" id="intPts">0</span></td>
<td id="raciali"><span class="toChange" id="racialInt">0</span></td>
<td><span class="change" id="actualIntPts">10</span></td>
<td><span class="toChange" id="actualIntMod">0</span></td>
</tr>
<tr>
<td class="abilityName"><label for="spinnerWIS">Wisdom: </label></td>
<td><input class="thisSpinner" id="spinnerWIS" name="value"/></td>
<td><span class="toChange" id="wisMod">0</span></td>
<td><span class="toChange points" id="wisPts">0</span></td>
<td id="racialw"><span class="toChange" id="racialWis">0</span></td>
<td><span class="change" id="actualWisPts">10</span></td>
<td><span class="toChange" id="actualWisMod">0</span></td>
</tr>
<tr>
<td class="abilityName"><label for="spinnerCHA">Charisma: </label></td>
<td><input class="thisSpinner" id="spinnerCHA" name="value"/></td>
<td><span class="toChange" id="chaMod">0</span></td>
<td><span class="toChange points" id="chaPts">0</span></td>
<td id="racialcha"><span class="toChange" id="racialCha">0</span></td>
<td><span class="change" id="actualChaPts">10</span></td>
<td><span class="toChange" id="actualChaMod">0</span></td>
</tr>
<tr>
<td class="abilityName"><button id="reset">Reset Scores</button></td>
</tr>
<tr>
<td class="abilityName">Remaining</td>
<td></td>
<td></td>
<td id="remaining"></td>
</tr>
</table>
<hr/>
</div> <!-- END #scores -->
<footer>
<p>"This website uses trademarks and/or copyrights owned by Paizo Publishing, LLC, which are used under Paizo's Community Use Policy. We are expressly prohibited from charging you to use or access this content. This website is not published, endorsed, or specifically approved by Paizo Publishing. For more information about Paizo's Community Use Policy, please visit paizo.com/communityuse. For more information about Paizo Publishing and Paizo products, please visit paizo.com."</p>
</footer>
<div id="amazon_ads">
<iframe src="http://rcm.amazon.com/e/cm?lt1=_blank&bc1=FFFFFF&IS2=1&nou=1&bg1=FFFFFF&fc1=000000&lc1=0000FF&t=alittlelessco-20&o=1&p=8&l=as1&m=amazon&f=ifr&ref=qf_sp_asin_til&asins=1601251505" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
<iframe src="http://rcm.amazon.com/e/cm?t=alittlelessco-20&o=1&p=8&l=as1&asins=1601252463&nou=1&ref=qf_sp_asin_til&fc1=000000&IS2=1<1=_blank&m=amazon&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
<iframe src="http://rcm.amazon.com/e/cm?t=alittlelessco-20&o=1&p=8&l=as1&asins=1601251831&nou=1&ref=qf_sp_asin_til&fc1=000000&IS2=1<1=_blank&m=amazon&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
<iframe src="http://rcm.amazon.com/e/cm?t=alittlelessco-20&o=1&p=8&l=as1&asins=1601254245&nou=1&ref=qf_sp_asin_til&fc1=000000&IS2=1<1=_blank&m=amazon&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
<iframe src="http://rcm.amazon.com/e/cm?t=alittlelessco-20&o=1&p=8&l=as1&asins=1601253729&nou=1&ref=qf_sp_asin_til&fc1=000000&IS2=1<1=_blank&m=amazon&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
<iframe src="http://rcm.amazon.com/e/cm?lt1=_blank&bc1=FFFFFF&IS2=1&nou=1&bg1=FFFFFF&fc1=000000&lc1=0000FF&t=alittlelessco-20&o=1&p=8&l=as1&m=amazon&f=ifr&ref=qf_sp_asin_til&asins=B000X75BFE" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</div><!-- END #ads -->
</div><!-- END #app -->
</body>
</html>