[Template] Add Thesaurus To Bottom Of CREATE THREAD Page
Apr 5, 2013 12:26:43 GMT -8
aRMY83, gtv22, and 2 more like this
Post by Former Member on Apr 5, 2013 12:26:43 GMT -8
Add Thesaurus to bottom of the Create Thread Page
Go Admin - Themes - Layout Templates - Posting Page
And DIRECTLY UNDER $[form.footer]
Add the code below
<center><form action="http://dictionary.cambridge.org/search/british/direct/?utm_source=widget_searchbox_source&utm_medium=widget_searchbox&utm_campaign=widget_tracking" target="_blank" method="post"><table style="font-size: 10px; border: 1px solid black; background: #242C72 url('http://dictionary.cambridge.org/external/images/sbr.gif?version=2013-03-20-1149') no-repeat top right;" width="650px" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td colspan="2"><a href="http://dictionary.cambridge.org/" style="display:block; background: transparent url('http://dictionary.cambridge.org/external/images/sbl.gif?version=2013-03-20-1149') no-repeat 5px 6px; height: 32px;"></a></td></tr><tr><td width="68px" style="padding: 4px;"><input name="q" size="8" style="display:block; height: 100%;width: 100%; font-size:10px " type="text"/></td><td width="50px" style="padding: 0 4px 0 0;"><input width="100%" style="display:block; float: right; background: #92AE2E url('http://dictionary.cambridge.org/external/images/sbb.gif?version=2013-03-20-1149') repeat-x; border: 1px solid green; font-size:10px; padding: 2px 0;" type="submit" border="0" value="Look it up"/></td></tr></tbody></table></form></center><br />
You can change the width="650px" to suit your forum - The minimum should be width="153px"
Screenshot
Clicking on the Lookup button will open a new tab page on your browser - To look up the word
If You want the thesaurus box to be white - Then use the code below
It will open a new tab page on your browser to look up the word
Go Admin - Themes - Layout Templates - Posting Page
And DIRECTLY UNDER $[form.footer]
Add the code below
<center><!--dictionary lookup box by TheFreeDictionary.com-->
<style>#dictionarybox TD, INPUT, SELECT {font-size:10pt;}</style>
<form action="http://www.thefreedictionary.com/_/partner.aspx" method="get" target="_blank" name="dictionary"
style="display:inline;margin:0">
<table id="dictionarybox" cellspacing="0" cellpadding="3" style="border:1px #000000 solid;font-family:;width:650px;background-color:;color:#000000"><tr>
<td bgcolor="#FFFFFF" style="border-bottom:1px #000000 solid"><img src="http://img.tfd.com/Help.gif?0" width="25" height="25"/></td>
<td bgcolor="#FFFFFF" style="border-bottom:1px #000000 solid" colspan="2" nowrap="yes"><a
style="text-decoration:none;color:#000000" href="http://www.thefreedictionary.com"><div style="font-size:12pt"><b>Online Reference</b></div>
<div style="font-size:8pt">Dictionary, Encyclopedia & more</div></a></td></tr>
<tr><td align="center">Word:<br/>
<img id=dictionarybox_img_toggle src="http://img.tfd.com/toggle/b-down.gif" style="cursor:hand;cursor:pointer"
onclick="var s=document.getElementById('dictionarybox_source').style;this.src='http://img.tfd.com/toggle/b-'+(s.display?'up.gif':'down.gif');s.display=(s.display?'':'none')"/></td>
<td colspan="2"><input name="Word" value="" size="26"/></td></tr>
<tr id="dictionarybox_source" style="display:none"><td align=right>Look in:</td><td colspan=2 style="font-size:8pt;text-align:left" id="boxsource_td"><style>#boxsource_td A {color:#000000;text-decoration:none}</style>
<!--[if IE]><style>#boxsource_td INPUT {height:12pt}</style><![endif]-->
<input type="radio" name="Set" value="www" checked="yes"/>Dictionary & thesaurus<br/>
<input type="radio" name="Set" value="medical-dictionary"/>Medical Dictionary<br/>
<input type="radio" name="Set" value="legal-dictionary"/>Legal Dictionary<br/>
<input type="radio" name="Set" value="financial-dictionary"/>Financial Dictionary<br/>
<input type="radio" name="Set" value="acronyms"/>Acronyms<br/>
<input type="radio" name="Set" value="idioms"/>Idioms<br/>
<input type="radio" name="Set" value="encyclopedia2"/>Encyclopedia<br/>
<input type="radio" name="Set" value="encyclopedia"/>Wikipedia<br/>
<input type="radio" name="Set" value="periodicals"/>Periodicals<br/>
<input type="radio" name="Set" value="literature"/>Literature
<div style="cursor:hand;cursor:pointer"
onclick="var s=document.getElementById('dictionarybox_ol').style;document.getElementById('dictionarybox_ol_img').src='http://img.tfd.com/toggle/b-'+(s.display?'up.gif':'down.gif');s.display=(s.display?'':'none')"><img
id=dictionarybox_ol_img src="http://img.tfd.com/toggle/b-down.gif"/>Other languages:</div><div id="dictionarybox_ol" style="display:none">
<input type="radio" name="Set" value="es"/>Spanish Dictionary<br/>
<input type="radio" name="Set" value="de"/>German Dictionary<br/>
<input type="radio" name="Set" value="fr"/>French Dictionary<br/>
<input type="radio" name="Set" value="it"/>Italian Dictionary<br/>
<input type="radio" name="Set" value="zh"/>Chinese Dictionary<br/>
<input type="radio" name="Set" value="pt"/>Portuguese Dictionary<br/>
<input type="radio" name="Set" value="nl"/>Dutch Dictionary<br/>
<input type="radio" name="Set" value="no"/>Norwegian Dictionary<br/>
<input type="radio" name="Set" value="el"/>Greek Dictionary<br/>
<input type="radio" name="Set" value="ru"/>Russian Dictionary</div>
</td></tr>
<tr><td align="right">by:</td>
<td><select name="mode"><option value="w">Word</option><option value="s">Starts with</option>
<option value="e">Ends with</option><option value="d">Mentions</option></select></td>
<td align=right><input type="submit" name="submit" value="Look it up"/></td></tr></table></form>
<!--end of dictionary lookup box--></center><br />
You can change the width:650px to suit your forum
Screenshot
Remember you can always click on the preview button to view how it will look
Before making any changes to your template.
Steve