|
Getting Started
- Place the program files (SurfStrip.jar, SurfStrip.cab, rySurfStrip.class, ryStageFader.class, ryWrapper.class, and optionally rySSTimer.class, ryCatcher.class and rySpy.class) in the directory containing the HTML document into which you want to insert the applet (or into a different directory, and add the correct CODEBASE= attribute to the applet tag given below).
- Add the following applet tag to your HTML document in the position you want SurfStrip to appear:
<APPLET CODE=rySurfStrip ARCHIVE="SurfStrip.jar" WIDTH=625 HEIGHT=54>
<param name=CabBase value="SurfStrip.cab">
<param name=Copyright value="SurfStrip (c) 1998 Cool Focus [www.coolfocus.com]">
<param name=BgColor value="C0C0C0">
<param name=3DBorder value="yes">
<param name=FillColor value="000000">
<param name=Lines value="2">
<param name=DefaultTextColor value="00C000">
<param name=ListFillColor value="000000">
<param name=ListTextColor value="00CCCC">
<param name=MatchColors value="yes">
<param name=Font value="Dialog,plain,12">
<param name=DefaultTarget value="mainframe">
<--BUTTON IMAGES-->
<param name=PlainImage value="prod1.gif">
<param name=OverImage value="prod2.gif">
<param name=PressedImage value="prod3.gif">
<--SOUNDS-->
<param name=SoundSelect value="menudown.au">
<param name=SoundButtonDown value="menudown.au">
<param name=SoundButtonUp value="menuup.au">
<--MENU ENTRIES-->
<param name=Entry1 value="Important Notes">
<param name=Entry2 value="SurfStrip Overview">
<param name=Entry3 value="License Agreement">
<param name=Entry4 value="Java Applet Basics">
<param name=Entry5 value="Java & Netscape 4.x">
<param name=Entry6 value="Documentation Front Page">
<param name=Entry7 value="Getting Started">
<param name=Entry8 value="Parameter List">
<param name=Entry9 value="Troubleshooting">
<param name=Entry10 value="Contacting Cool Focus">
<--PREVIEW COLORS-->
<param name=TextColor1 value="F07E00">
<param name=TextColor3 value="CC0000">
<param name=TextColor5 value="00CCCC">
<param name=TextColor7 value="CCCC00">
<param name=TextColor9 value="CC00CC">
<param name=TextColor10 value="0000FF">
<--PREVIEW TEXT-->
<param name=Display1 value="How the registered version of SurfStrip differs from the evaluation copy, and what you need to do to set it up.">
<param name=Display2 value="A bite-sized description of what SurfStrip is, does and tastes like.">
<param name=Display3 value="The license agreement applying to SurfStrip and all registered Cool Focus applets. Boring, but necessary.">
<param name=Display4 value="For anyone not used to working with Java applets, a general look at .class files, the <applet> tag and its attributes, parameters, and so on.">
<param name=Display5 value="For anyone still using Navigator 4x, or writing pages for people still using Navigator 4x, a few tips on setting up your applets for full compatibility.">
<param name=Display6 value="The title page of the SurfStrip documentation. Not much to see there, admittedly.">
<param name=Display7 value="The 'Quick Start' page. Copy the code to your web page, then edit/add/remove parameters to get the results you want.">
<param name=Display8 value="The SurfStrip parameters defined in detail, with default settings given and their interactions explained.">
<param name=Display9 value="The page where all your troubles get shot.">
<param name=Display10 value="Web and email addresses for making sales, registration and product enquiries, joining our mailing list, and purchasing applet licenses.">
<--LINKS-->
<param name=URL1a value="reg.htm">
<param name=URL2a value="intro.htm">
<param name=URL3a value="license.htm">
<param name=URL4a value="javabasics.htm">
<param name=URL5a value="navigator.htm">
<param name=URL6a value="home.htm">
<param name=URL6b value="left.htm">
<param name=URL7a value="getstarted.htm">
<param name=URL8a value="params.htm">
<param name=URL9a value="trouble.htm">
<param name=URL10a value="feedback.htm">
<param name=Target4a value="_top">
<param name=Target6a value="rightframe">
<param name=Target6b value="leftframe">
<param name=Target8a value="_self">
<param name=Target10a value="rightframe">
</APPLET>
- In the first block of parameters above, set the aesthetic values - fonts, colors, and the number of lines of text that the Preview panel should be able to display.
- Choose the sound files to be used (if any) and the images to be used for the linking button. Set the applet height as necessary: provided your images are not too large and you're using the default Font, set the applet to 40 pixels high if Lines is set to 1, or 54 pixels high if Lines is at 2.
- Add your menu Entries, along with a text description of each and the URLs/Targets that they should link to. Check each Entry in your browser by selecting it and looking at the Preview panel. If the end of your text is not displayed, either make the applet wider or reduce the size of the Font. Or you could increase the value of the Lines parameter, but this means adding another (approx.) 14 pixels to your applet height.
- Each of SurfStrip's parameters is defined in detail in The Parameters Explained.
|