 |
 |
You can add Search MP3 to your site in to ways: with a simple search form, that opens the search results in Search MP3's page, or with a personalized form, the displays the search results within your website.
| Simple Search Form with Results in Search MP3's Page |
Just copy the code below to add a form that displays the results in Search MP3's page:
You can customize this code to fit your needs as long as you don't change what's between the <script></script> tags, the form's name, and the names and values of the form objects.
|
| Personalized Search Form with Results in Your Page |
Adding a personalized mp3 search in your site is very simple. Your user will see the search results inside your page, with your site's layout and colors. Just follow the steps below:
Step 1: Copy and paste the search form in your site
The code below displays Search MP3's search form. You should copy and paste it in your site. You can customize it any way you want, as long as you don't change what's in between the <script></script> tags, the form's name, and the names and values of the form objects.
In the <FORM> tag, change the ACTION attribute to the name of the page where you'll display the search results. For example, if your search results page is going to be called songs.htm, then line with the <FORM> tag should be changed to this in the code above:
<FORM NAME=SearchForm ACTION="songs.htm" method=get onsubmit="return CheckForm()">
Step 2: The search results page
The code below should be copied to the page where you'll display the search results. The name of this page must be the same as the one that is used in the ACTION attribute of the FORM tag in the code above.
You only need to copy and paste the code above and you're done! You'll be able to use Search MP3's search system and content in your site!
Customizing Fonts
To change the fonts used in the search results, you just need to modify the code between the <style></style> tags.
Customizing Table Colors
To change the colors of the results table, you just need to specify their html code in the "color_title", "color1", and "color2" variables of the code above. These three variables are responsible for the colors of the search results table. For example, if you want the search results table to have a blue header, the main column in yellow and the right column in white, you can change the code the following way:
... src='http://www.searchmpthree.com/searchint_embed.asp?color_title=336699&color1=FFFF00&color2=FFFFFF&open_links=&" ...
Don't place the '#' character before the color codes or the search form won't work.
Opening Links in a New Window
For links in the results table to open in a new window, you should set the "open_links" variable to 1. For example, you could change the code the following way:
... src='http://www.searchmpthree.com/searchint_embed.asp?color_title=&color1=&color2=&open_links=1&" ...
|
|
|
 |
 |