DJSearch
Applet Parameters
<APPLET CODE= DJSearch.class archive
= search.zip WIDTH=300 HEIGHT=150>
<Param name= logo value = decaf.gif>
<Param name= engine value = search.txt>
<Param name= header value = "WEB Search
Applet">
<Param name= headerfontsize value =
20>
<Param name = bordersize value = 3>
<Param name= headercolor value = 0xFF0000>
<Param name = backgroundColor value
= 0x000000>
<Param name = foregroundColor value
= 0x99cc99>
</APPLET>
| backgroundColor |
The background color of the applet. Only
important if a borderSize other than 0 is selected. Enter as hex or Decimal
notation. |
| foregroundColor |
The foreground color of the applet. Enter
as hex or Decimal notation. |
| headerColor |
The color of the header message at the
top of the applet.Enter as hex or Decimal notation. |
| header |
An optional message that is displayed
at the top of the applet. Message is centered unless an alternate logo
is supplied. |
| headerFontSize |
The font size of the header message. Defaults
to 12 if not supplied |
| logo |
An optional .gif or .jpg file that will
be placed in the top left corner of the applet. If a logo is supplied,
the header message will begin approx. 10 pixels to the right of the logo. |
| engine |
This is the list of available search engine.
The engine file can be modified by the user with a simple text editor like
NotePad. |
| borderSize |
An optional border around the applet.
The border color will be the same as the backgroundColor parameter listed
above. Border defaults to "none" |
| bg |
An optional .gif or .jpg parameter that
will tile into the applet. |
Search engines supported
InfoSeek|http://infoseek.go.com/Titles?qt=
AltaVista|http://altavista.com/cgi-bin/query?q=
HotBot|http://hotbot.com/?MT=
Lycos|http://www.lycos.com/srch/?lpv=1&loc=searchhp&query=
Yahoo|http://search.yahoo.com/bin/search?p=
WebCrawler|http://www.webcrawler.com/cgi-bin/WebQuery?searchText=
Goto.Com|http://www.goto.com/d/search/p/yahoo/?type=topbar&Keywords=
MetaCrawler|http://search.go2net.com/crawler?general=
WebSense|http://www.websense.com/bin/net/sock.plx?str=
To add a new engine, do a simple search from the engine and examine the syntax that the engine uses to find your search. Copy that
string into the text file.
Format for the text file is " engine name | search string "
Place the "|" character between the two parameters.
© 2000, DecafJava. All rights reserved.
DECAF
JAVA
Back to DJSearch
New on the Java Boutique:
New Review:
Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling
API boasts simplicity, ease-of-integration, a well-rounded feature
set, and it's free!
New Applet:
Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA
sequences into three useful formats.
Elsewhere on internet.com:
WebDeveloper Java
Lots of Java information on webdeveloper.com
WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.
ScriptSearch Java
Hundreds of free Java code files to download.
jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.
|