text-align: center;
}
input {
- font-size: 10pt;
+ font-size: 18pt;
font-weight: bold;
}
</style>
<div id="diventry"><table id="tableentry"></table></div>
<form>
- <input id="head" type="button" value="|<" onclick="entriesLoadHead();"/>
- <input id="previous" type="button" value="<<" onclick="entriesLoadPrevious();"/>
- <input id="next" type="button" value=">>" onclick="entriesLoadNext();"/>
- <input id="tail" type="button" value=">|" onclick="entriesLoadTail();"/>
+ <input id="head" type="button" value="⇤" onclick="entriesLoadHead();" title="First Page"/>
+ <input id="previous" type="button" value="←" onclick="entriesLoadPrevious();" title="Previous Page"/>
+ <input id="next" type="button" value="→" onclick="entriesLoadNext();" title="Next Page"/>
+ <input id="tail" type="button" value="⇥" onclick="entriesLoadTail();" title="Last Page"/>
- <input id="more" type="button" value="More" onclick="entriesMore();"/>
- <input id="less" type="button" value="Less" onclick="entriesLess();"/>
+ <input id="more" type="button" value="+" onclick="entriesMore();" title="More Entries"/>
+ <input id="less" type="button" value="-" onclick="entriesLess();" title="Fewer Entries"/>
</form>
<div id="keynav">
function getNEntries() {
var n;
- n = localStorage["n_entries"];
+ n = window.localStorage["n_entries"];
if (n == null)
return 50;
n = parseInt(n);
}
function setNEntries(n) {
- localStorage["n_entries"] = n.toString();
+ if (n < 10)
+ return 10;
+ if (n > 1000)
+ return 1000;
+ window.localStorage["n_entries"] = n.toString();
showNEntries(n);
}
function entriesLoad(range) {
if (range == null)
- range = localStorage["cursor"];
+ range = window.localStorage["cursor"] + ":0";
if (range == null)
range = "";
if (fc != null) {
first_cursor = fc;
- localStorage["cursor"] = fc;
+ window.localStorage["cursor"] = fc;
}
if (lc != null)
last_cursor = lc;