News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Web Search Box

Started by soapbath, January 01, 2005, 04:51:24 PM

Previous topic - Next topic

soapbath

Allow users to Web search from your website using a VERY simple search box code

//IDSE Search box
<FORM method=GET action="http://www.nsoft-rpg.com/s3">\
<a href="http://nsoft-rpg.com"><img src="http://nsoft-rpg.com/s3/logo.JPG" width="146" height="36" border="0" align="left"></a>
<input type=text name=qry_str size=25 maxlength=255 value="">
<INPUT type=submit name=btnG VALUE="IDSE Search">
</FORM>
//END Search box


MENU BAR SEARCH

( LINKS
LINKS
SEARCH BAR)

//IDSE Search box
<FORM method=GET action="http://www.nsoft-rpg.com/s3">
<p><a href="http://nsoft-rpg.com"><img src="http://nsoft-rpg.com/s3/logo.JPG" width="146" height="36" border="0" align="top"></a> </p>
<p><input type=text name=qry_str size=15 maxlength=255 value="">
<INPUT type=submit name=btnG VALUE="IDSE Search">
</p></FORM>
//END Search box


You can put that HTML code where you want the search box, it allows people to type a keyword such as "Frog" and they would get sent to a search engine with the keyword

Advertisement: