This is a useful start page that I built using Java Scripts.
Find
someone using
Yahoo!
First Name :
Last Name :
City :
State :
Search
the net: Use the '+' symbol instead of spaces between words when using Netscape.
Enter
a word to get a definition.
Enter
a Stock name to get a quote from
MSN's MoneyCentral
.
Enter
your zip code for a weather report from
weather.com
To use this page in your website, follow these two steps:
First
paste this code within the "Head" tags of your HTML
<!-- Author: Rahul Bhattacharya (rahul_bh@yahoo.com) --> <!-- Web Site: http://rahulbhattacharya.tripod.com --> <script language="JavaScript"> <!-- function search1() { window.location.href = 'http://www.google.com/search?q='+document.Search.string.value; return false; } function search2() { window.location.href = 'http://www.altavista.com/cgi-bin/query?q='+document.Search.string.value; return false; } function search3() { window.location.href = 'http://www.goto.com/d/search/p/go/?Partner=go_home&Keywords='+document.Search.string.value; return false; } function weather() { window.location.href = 'http://www.weather.com/weather/local/'+document.Weather.string.value; return false; } function who() { window.location.href = 'http://people.yahoo.com/py/psPhoneSearch.py?FirstName='+document.Who.FN.value+'&LastName='+document.Who.LN.value+'&City='+document.Who.CT.value+'&State='+document.Who.ST.value; return false; } function dictionary() { window.location.href = 'http://www.m-w.com/cgi-bin/dictionary?va='+document.Word.string.value; return false; } function thesaurus() { window.location.href = 'http://www.m-w.com/cgi-bin/thesaurus?book=Thesaurus&va='+document.Word.string.value; return false; } function techd() { window.location.href = 'http://webopedia.internet.com/TERM/'+document.Word.string.value+'.html'; return false; } function stock() { window.location.href = 'http://moneycentral.msn.com/investor/charts/chartdl.asp?Symbol='+document.Stck.string.value; return false; } //--></script>
Next
paste this code within the "Body" tags of your HTML
<table width=600 border=0 cellpadding=0 cellspacing=0> <TBODY> <TR> <TD colSpan=3> </TD></TR> <TR> <TD colSpan=3> </TD></TR> <TR> <TD colSpan=3><FONT face=Arial size=2><STRONG>Find </STRONG>someone using <STRONG>Yahoo!</STRONG> </FONT></TD></TR> <TR> <TD colSpan=3> <FORM name=Who onsubmit="return who()"> <FONT face=Arial size=2> First Name : <INPUT maxLength=20 name=FN size=10> Last Name : <INPUT maxLength=20 name=LN size=10> <BR> City : <INPUT maxLength=20 name=CT size=10> State : <INPUT maxLength=2 name=ST size=2> <INPUT type=submit value=Find!> </FONT></FORM></TD></TR> <tr> <td colSpan=3> <DIV align=left><FONT face=Arial size=2><b>Search </b>the net: Use the '+' symbol instead of spaces between words when using Netscape. </FONT></DIV> </td> </tr> <tr> <td colSpan=3> <TABLE> <TR> <TD> <form name="Search" onSubmit="return search1()"> <FONT face=Arial size=2> <INPUT maxLength=45 size="15" name="string" > </FONT> </form> </TD> <TD> <form onSubmit="return search1()"> <FONT face=Arial size=2> <input type="submit" value="Google"> </FONT> </form> </TD> <TD> <form onSubmit="return search2()"> <FONT face=Arial size=2> <input type="submit" value="Alta Vista"> </FONT> </form> </TD> <TD> <form onSubmit="return search3()"> <FONT face=Arial size=2> <input type="submit" value="Infoseek"> </FONT> </form> </TD> </TR> </TABLE> <FONT face=Arial size=2><b>Enter</b> a word to get a definition.</FONT> <TABLE> <TR> <TD> <form name="Word" onSubmit="return dictionary()"> <FONT face=Arial size=2> <INPUT maxLength=45 size="15" name="string" > </FONT> </form> </TD> <TD> <form onSubmit="return dictionary()"> <FONT face=Arial size=2> <input type="submit" value="Dictionary"> </FONT> </form> </TD> <TD> <form onSubmit="return thesaurus()"> <FONT face=Arial size=2> <input type="submit" value="Thesaurus"> </FONT> </form> </TD> <TD> <form onSubmit="return techd()"> <FONT face=Arial size=2> <input type="submit" value="Tech Dictionary"> </FONT> </form> </TD> </TR> </TABLE> <FONT face=Arial size=2><b>Enter</b> a Stock name to get a quote from <b>MSN's MoneyCentral</b>.</FONT> <TABLE> <TR> <TD> <form name="Stck" onSubmit="return stock()"> <FONT face=Arial size=2> <INPUT maxLength=45 size="15" name="string" > </FONT> </form> </TD> <TD> <form onSubmit="return stock()"> <FONT face=Arial size=2> <input type="submit" value="Stock Lookup"> </FONT> </form> </TD> <TD> </TD> <TD> </TD> </TR> </td></tr> <tr><td colspan=2> <form name="Weather" onSubmit="return weather()"> <FONT face=Arial size=2> <b>Enter</b> your zip code for a weather report from <b>weather.com</b> </td> </tr> <tr> <td> <INPUT maxLength=5 size="5" name="string" > <input type="submit" value="Weather"> </FONT> </form> </td></tr> </table></FORM> <P></P></TBODY></TABLE>