1. Computing

Multi Search Engine Search

3. Body Script

Join the Discussion

Questions? Comments?

More of This Feature

Introduction Head Script

The second and final piece of the multi search script goes in the body part of your web page. You need to select the code from the text box below (there is a highlight all button beneath it to make this easier) and copy it into a file called searchb.js.

To finish attaching the facility into your page you just need to insert the following code in the body section of your page where you want the search facility to appear

<script type="text/javascript" src="searchb.js">
</script>

Note that if anyone visits your page with a browser that either doesn't support Javascript or where they have disabled Javascript then the search facility will not appear on their page. You can either leave it like that or grab the search code for your favourite search engine and place that inside noscript tags immediately following this code so as to display that instead when the browser does not support Javascript.

Introduction | Head Scripts | Body Script
Related Video
Zip File 101
Computer Cable Ports 101

©2013 About.com. All rights reserved.