Search widget code

Select the appropriate code from the formats listed below depending on your site's requirements. Copy the HTML code and insert it into the source code of your web page. If you are using a social site builder, such as a blog tool (e.g. Blogger, WordPress) ensure that you have first opened the appropriate widget for embedding HTML.

Simple Form
<form action="http://govdocs.OurOntario.ca/result" method="get" >
  <input type="text" size="40" name="q" />
  <input type="hidden" name="st" value="kw" />
  <input type="submit" value="Search" /> 
<input type="reset" value="New search" />

</form>
More Complex Form

Government Documents

Search government documents from the Legislative Library directly in the search box above, for browse options and to read more click here.

 <style media="screen" type="text/css">
    @import "http://graphics.ourontario.ca/_css/minisearch.css";
    form.minisearch-government h4 {background: transparent 
    url("http://graphics.ourontario.ca/minisearch_legend_govdocs.jpg")
    no-repeat top left;}
  </style>
  <form class="minisearch minisearch-government" method="get" 
  action="http://govdocs.OurOntario.ca/results">
    <h4>Government Documents</h4>

    <fieldset>
      <input class="minisearch" size="30" name="q" type="text" />
      <input type="hidden" name ="r" value="sw"/>
      <input alt="submit" 
      src="http://graphics.ourontario.ca/minisearch_government_button_bg.jpg"
      class="minisubmit" value="submit" type="image" />
      <p>Search government documents from the Legislative Library 
      directly in the search box above, for browse options and to read more 
      <a href="http://govdocs.OurOntario.ca">click here</a>.
      </p>

    </fieldset>
  </form>
The line above starting "form.minisearch-government" needs to be on one line even though it may wrap in your display



Linkable version of this form
  http://govdocs.ourontario.ca/minisearch_government.html

Older HTML Form for Facebook and similar (restricted) pages
OurOntario Government Documents
 

Search government documents from the Legislative Library directly in the search box above, for browse options and to read more

  click here.
 
<table width="286" border="0" cellpadding="0" cellspacing="0" 
background="http://graphics.ourontario.ca/minisearch_government_fieldset_bg.jpg">
  <tr>
    <td colspan="3"><img src="http://graphics.ourontario.ca/minisearch_government_legend_bg.jpg" width="286" height="73" 
alt="OurOntario Government Documents" /></td>

  </tr>
  <tr>
 <td width="8">&nbsp;</td>
 <td width="270">
<form  requirelogin="false" method="get" action="http://govdocs.OurOntario.ca
/results"><input size="27" name="q" type="text"/><input type="hidden" 
name ="r" value="fb"/><input alt="submit" src="http://graphics.ourontario.ca/minisearch_government_button_bg.jpg" value="submit" type="image"  
align="top"/>

<p><font color="#CCCCCC" size="small">Search government documents 
from the Legislative Library directly in the search box above, for browse 
options and to read more </font></p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>&nbsp;</td>
            <td width="50%"><a href="http://govdocs.ourontario.ca/search">

click here</a>.</td>
          </tr>
        </table>
</form>
</td>
 <td width="8"> </td>

  </tr>
</table>
<table width="286" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td><img src="http://graphics.ourontario.ca/minisearch_government_bg.jpg" width="286" height="11"/></td>
  </tr>

</table>