forked from dbedard/widgets-VITA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
widgetcode
31 lines (24 loc) · 1.73 KB
/
widgetcode
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<style media="screen" type="text/css">
@import "http://www.OurOntario.ca/portlets/_common/minisearch.css";
form.minisearch-oo h4 {background: transparent url("http://www.ourontario.ca/portlets/29/searchtile_286x73.jpg") no-repeat top left;}
</style>
<form class="minisearch minisearch-oo" method="get" action="http://images.ourontario.ca/uoguelph/results.asp">
<h4>L.M. Montgomery Research Centre - University of Guelph</h4>
<fieldset>
<input class="minisearch" size="30" name="q" type="text" /><input alt="submit" src="http://www.OurOntario.ca/portlets/_common/minisearch_button.jpg" class="minisubmit" value="submit" type="image" />
<input type="hidden" name="r" value="wlmm" />
<p> Search the L.M. Montgomery Research Centre, highlighting the University of Guelph's extensive collection of Montgomery memorabilia — including her private journals, scrapbooks, handiwork, photographs, and other records. For more information or more search options - <a href="http://images.ourontario.ca/uoguelph/search.asp">Visit our site</a>.</p>
</fieldset>
</form>
=======================================================
Usage notes:
1) the CSS and widget graphics are called from the VITAtoolkit server, where the Agency site originates.
2) the line above starting "form.minisearch-oo" needs to be on one line even though it may wrap in your display.
3) widget expects the site to provide an appropriate "branding" graphic with the following specifications:
Search Widget Tile
• searchtile_286x73.jpg
• JPEG (.jpg)
• 286 pixels wide 73 pixels high
• optimized for web, so in the 12 – 20 KB file size range max.
Download the base wrapper for the branding slice here:
http://www.ourontario.ca/portlets/_common/searchtile_286x73.psd