You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

100 lines
3.4 KiB

<html>
<head>
<meta charset="utf-8" />
<title>Poogie's Toolbox</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js"></script>
<script src="js/common.js"></script>
<script type="text/javascript">
$(document).ready(function(){
setup_item_autocomplete("#item");
setup_weapon_autocomplete_by_type();
$("#weapon_type").change(function(evt) {
update_weapon_autocomplete("#weapon", autocomplete_predicate, null);
});
});
function autocomplete_predicate(weapon_data) {
var weapon_type = $("#weapon_type").val();
if (weapon_type != "All" && weapon_type != weapon_data["wtype"]) {
return false;
}
return true;
}
function setup_weapon_autocomplete_by_type() {
// the completion and change fn are null because the page uses a form
// and submits to the weapon planner page
setup_weapon_autocomplete("#weapon", autocomplete_predicate,
null, null);
}
</script>
<style>
label {
font-weight: bold;
font-family: sans, sans-serif;
}
</style>
</head>
<body>
<form action="recommends.html" method="GET">
<fieldset>
<legend title="Find the best quests and armor skills for farming an item."
>Poogie Recommends</legend>
<label for="item">Item:</label>
<input id="item" name="item" type="text" size="20" />
<input type="submit" value="Ask Poogie" />
<p></p>
</fieldset>
</form>
<form action="weaponplanner.html" method="GET">
<fieldset>
<legend title="Compare the cost of making a weapon from different starting points in the tree"
>Poogie's Weapon Planner</legend>
<table>
<tr>
<td><label for="type">Type:</label></td>
<td><select id="weapon_type" name="weapon_type">
<option value="All">All</option>
<option value="Great Sword">Great Sword</option>
<option value="Long Sword">Long Sword</option>
<option value="Sword and Shield">Sword and Shield</option>
<option value="Dual Blades">Dual Blades</option>
<option value="Hammer">Hammer</option>
<option value="Hunting Horn">Hunting Horn</option>
<option value="Lance">Lance</option>
<option value="Gunlance">Gunlance</option>
<option value="Switch Axe">Switch Axe</option>
<option value="Charge Blade">Charge Blade</option>
<option value="Insect Glaive">Insect Glaive</option>
<option value="Light Bowgun">Light Bowgun</option>
<option value="Heavy Bowgun">Heavy Bowgun</option>
<option value="Bow">Bow</option>
</select></td>
</tr>
<tr>
<td><label for="weapon">Weapon:</label></td>
<td><input id="weapon" name="weapon" weapon="text" size="20" />
<input type="submit" value="Ask Poogie" /></td>
</tr>
</table>
</fieldset>
</form>
<fieldset>
<legend title="Plan armor sets">Poogie Outfitters</legend>
<a href="outfitters.html">Armor set planner</a>
</fieldset>
<br />
<fieldset>
<legend title="Mobile friendly translation guide">Poogie トランスレーター</legend>
<a href="translate/">English to Japanese translation guide</a>
</fieldset>
</body>