Searching Other Web Sites
Searching TBRC
Updated December 20, 2006, following TBRC re-engineering.
To add a TBRC search box to a THDL page, copy the form below and paste it into an HTML document. Note: the code refers to certain styles that appear in thdl-styles.css.
The radio buttons allow visitors to search different areas of TBRC. To change the default selection, you would need to move the following text to your default input category of choice: checked="on". In the example below, the default is applied to "Places".
In using a TBRC search box, modify the header to express the default search category by using this format: "Search TBRC Tibetan Places", "Search TBRC Tibetan Titles", "Search TBRC Tibetan Persons", "Search TBRC Tibetan Outlines", or "Search TBRC Tibetan Subjects".
Note: in order to place the Search within a spotlight box as in the case of the Cultural Geography Home Page, take the code below and place it within a div: <div class="spotlightBox">. Remember to close the div!
<!--Search TBRC--> <h2>Search TBRC's Tibetan Places</h2> <p class="tightPara">The Tibetan Buddhist Recource Center maintains a database of Tibetan places. Enter Tibetan terms using <a href="/collections/langling/ewts/ewts.php?m=intro">Wylie Transliteration</a>. "Places" is selected by default, but you can also select from the different criteria. For TBRC search details, see the TBRC <a href="http://tbrc.org/kb/tbrc-search.xq?collection=allx">search page</a>.</p><br/> <form action="http://tbrc.org/kb/tbrc-process.xq" method="post"> <input type="hidden" name="howmany" value="10"/> <input type="hidden" name="max" value="100"/> <input type="hidden" name="match-type" value="phrase"/> <table border="0" cellpadding="0" cellspacing="5" align="center"> <tr> <td colspan="5"><b>Search category:</b></td> </tr> <tr valign="top"> <td valign="top"><input name="collection" type="radio" value="/db/tbrc/tbrc-works"/></td> <td valign="top"><label class="qsearch">Works</label></td> <td valign="top"><img src="/images/spacer.gif" width="40" height="1" border="0" alt="_"></td> <td valign="top"><input type="radio" name="collection" value="/db/tbrc/tbrc-outlines"/></td> <td valign="top"><label class="qsearch">Outlines</label></td> </tr> <tr> <td><input type="radio" name="collection" value="/db/tbrc/tbrc-topics"/></td> <td valign="top"><label class="qsearch">Subjects</label></td> <td valign="top"><img src="/images/spacer.gif" width="40" height="1" border="0" alt="_"></td> <td><input type="radio" name="collection" value="/db/tbrc/tbrc-persons"/></td> <td valign="top"><label class="qsearch">Persons</label></td> </tr> <tr> <td><input type="radio" name="collection" value="/db/tbrc/tbrc-places" checked="on"/></td> <td valign="top"><label class="qsearch">Places</label></td> <td valign="top"><img src="/images/spacer.gif" width="40" height="1" border="0" alt="_"></td> <td><input type="radio" name="collection" value="/db/tbrc/tbrc-corporations"/></td> <td valign="top"><label class="qsearch">Corporations</label></td> </tr> <tr> <td colspan="5"><br/><b>Search term:</b><br/><input name="term" type="text" size="25"/> <input type="submit" name="Submit" value="Search" target="_blank"/></td> </tr> </table> </form>