Skip to content

Commit

Permalink
First Upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarrith committed Nov 8, 2016
0 parents commit 2cb67f4
Show file tree
Hide file tree
Showing 552 changed files with 986,332 additions and 0 deletions.
Binary file added AoOFig1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AoOFig2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AoOFig3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DiceSageLogo red.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3,610 changes: 3,610 additions & 0 deletions abilitiesAndConditions.html

Large diffs are not rendered by default.

2,051 changes: 2,051 additions & 0 deletions actionsInCombat.html

Large diffs are not rendered by default.

718 changes: 718 additions & 0 deletions agentRetriever.html

Large diffs are not rendered by default.

9,215 changes: 9,215 additions & 0 deletions anchorList.js

Large diffs are not rendered by default.

94 changes: 94 additions & 0 deletions anchorSearch.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>
D&D 3.5 Index Search
</TITLE>
<LINK rel="stylesheet" type="text/css" href="style.css">
<TABLE cellspacing=20 cellpadding=0 border=0 width=100% height=100%>
<TR>
<TD valign=top>
<SCRIPT LANGUAGE="JavaScript" src="anchorSearch.js">
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript" src="anchorList.js">
</SCRIPT>
<script language="JavaScript">
<!--
function runSearch() {
var query = location.search;
if(query.length > 1){
query = query.substring (1, query.length);
i = 1;
for(i=1; i < 30; i++){
if(query.indexOf('%20') > -1){
query = query.replace('%20',' ');
}
else {
i = 30;
}
}
document.form1.name.value = query;
if(query !=' '){
searchAnchor(document.form1, anchorlist);
return false;
}
}
}
-->
</script>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-239947-2";
urchinTracker();
</script>
</HEAD>
<BODY onLoad="runSearch()">

<H2>
Index&nbsp;Search
</H2>
<FORM name="form1" onSubmit="searchAnchor(document.form1, anchorlist); return false">
<TABLE border="0" cellspacing="0">
<TR class="odd-row">
<TD valign="center">
<B>
Search text in Name&nbsp;&nbsp;&nbsp;
</B>
</TD>
<TD valign="center">
<INPUT maxLength=60 size=30 value="" name="name">
&nbsp;&nbsp;&nbsp;
</TD>
<TD valign="center">
<SELECT name="stop">
<OPTION value="0">
Don't stop search
<OPTION value="30">
Stop search at 30 results
<OPTION value="50" selected>
Stop search at 50 results
<OPTION value="100">
Stop search at 100 results
<OPTION value="200">
Stop search at 200 results
</SELECT>
</TD>
<TD>
</TD>
</TR>

</TABLE>
<INPUT type="submit" name="search" value="Search">
<INPUT type="reset" name="clear" value="Clear form" />
</FORM>
<BR>
<BR>
<TABLE border=0 cellspacing=0>
<TBODY>
</TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
136 changes: 136 additions & 0 deletions anchorSearch.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@

var tableempty=true;
var oddrow=true;
function searchAnchor(frm, spl)
{
var idx;
count=0;
pr=true;
tb=getTBody();
clearTable(tb);
for (idx=0;idx <spl.length;idx++)
{
var pageTitle = spl[idx][0];
var pageFilename = spl[idx][1];
var pageAnchors = spl[idx][2];
for (var anchor_idx=0;anchor_idx < pageAnchors.length; anchor_idx++)
{
if (pr && checkAnchor(frm, pageAnchors[anchor_idx]))
{
count++;
if (count==frm.stop.value)
{
pr=confirm('More than '+frm.stop.value+' results found. List all?\n(It might take a while...)');
}
insertRow(tb, pageTitle, pageFilename, pageAnchors[anchor_idx]);
}
}
}
if (tableempty) insertNoresults(tb);
return count;
}
function checkAnchor(frm, anchor)
{
var reply=true;
if (reply && frm.name.value !='')
{
reply=false;
txt=frm.name.value.toLowerCase();
if (anchor[1].toLowerCase().indexOf(txt)>=0)
{
reply=true;
}
}
return reply;
}
function insertRow(tb, pageTitle, pageFilename, anchor)
{if (tableempty)
{insertHeader(tb);
tableempty=false;
}
tdn=document.createElement("TD");
tdn.innerHTML='<A href="JavaScript:openLink('+"'"+pageFilename+"#"+anchor[0]+"'"+')" style="color: rgb(87, 158, 182)">'+pageTitle+'&nbsp;&nbsp;</A>';
tds =document.createElement("TD");
if (anchor[1].substr(anchor[0].length-4) == "_top")
{
tds.innerHTML = "&lt;Top of page&gt;";
}
else
{
tds.innerHTML = anchor[1].substr(0,1).toUpperCase() + anchor[1].substr(1) +'&nbsp;';
tds.innerHTML = tds.innerHTML.replace("Table ", "Table: ");
}

tr=document.createElement("TR");
if (oddrow) tr.className='odd-row';
tr.appendChild(tdn);
tr.appendChild(tds);
tb.appendChild(tr);
oddrow=!oddrow;
return true;
}
function getTBody()
{
art_table=document.getElementsByTagName("TABLE")[2];
return art_table.getElementsByTagName("TBODY")[0];
}
function replace(str, fnd, rpl)
{
var idx;
var a=str.split(fnd);
reply='';
sep='';
for (idx=0;idx <a.length;idx++)
{
reply+=sep+a[idx];
sep=rpl;
}
return reply;
}
function clearTable(tb)
{while (tb.getElementsByTagName('TR').length> 0)
{
tb.removeChild(tb.getElementsByTagName('TR')[0]);
}
oddrow=true;
tableempty=true;
return true;
}
function insertHeader(tb)
{
thn =document.createElement("TD");
thn.innerHTML ='<B>Top results may not be the most relevant</B>';
tr=document.createElement("TR");
tr.appendChild(thn);
tb.appendChild(tr);

thn =document.createElement("TD");
thn.innerHTML ='<B>Page&nbsp;&nbsp;</B>';
ths =document.createElement("TD");
ths.innerHTML ='<B>Section&nbsp;&nbsp;</B>';
tr=document.createElement("TR");
tr.appendChild(thn);
tr.appendChild(ths);
tb.appendChild(tr);
return true;
}
function insertNoresults(tb)
{
td=document.createElement("TD");
td.innerHTML ='<B>NO RESULTS FOUND</B>';
tr=document.createElement("TR");
tr.appendChild(td);
tb.appendChild(tr);
return true;
}
function openLink(lnk)
{if (window.opener)
{
window.opener.document.location.href=lnk;
window.opener.focus();
}else
{
var w=window.open(lnk, "anchor_detail", "scrollbars=yes,resizable=yes, toolbar=no, status=no, location=no, directories=no, screenX=10, screenY=20, top=20, left=10");
w.focus();
}
}
Loading

0 comments on commit 2cb67f4

Please sign in to comment.