The
Ohio State University
Precision Agriculture Product and Service Locator
http://precisionag.osu.edu/parl
The following are descriptions of using PHP or JavaScript
to insert the Quick Search on your web site.
PHP
Use this method only if you have PHP installed on
your web server. If you do not know what PHP, either
contact your web server adminestrator and ask, or use
the Java Insert described below.
Copy and paste the following code into the <HEAD>
section of your HTML document:
<? include 'http://precisionag.osu.edu/nprecisionag/interest/parlquicksearch.lib'
?>
Copy and paste the following
code anywhere in the <BODY> of your HTML document:
<? PARL_Body_Insert(); ?>
Now, save your HTML file with an '.php' extension instead
of a '.html' extension. You may have to change links
on other pages as well to link to the appropriate page.
ex.) " mypage.html"
is saved as "mypage.php"
JavaScript
Copy the following line of code and place it in
the <HEAD> section of your HTML document:
<SCRIPT SRC="http://precisionag.osu.edu/nprecisionag/interest/parlquicksearch.js"></SCRIPT>
Copy the following line of code and place it anywhere
in the <BODY> section of your HTML document:
<SCRIPT> PARL_Body_Insert();
</SCRIPT>
|