|
Getting Started
- Place the program files (TextWizardPro.jar, TextWizardPro.cab, ryTextWizardPro.class, ryFaderPro.class and ryWrapperPro.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 TextWizard to appear:
<APPLET CODE="ryTextWizardPro" ARCHIVE="TextWizardPro.jar" WIDTH=315 HEIGHT=300>
<param name=CabBase value="TextWizardPro.cab">
<param name=Copyright value="TextWizard Professional (c) 1997 Cool Focus [www.coolfocus.com]">
<param name=BgColor value="000000">
<param name=BgImage value="">
<param name=FgImage value="">
<param name=DefaultTextColor value="FFFFFF">
<param name=DefaultTarget value="_top">
<param name=DefaultURL value="http://www.coolfocus.com">
<param name=DefaultMessage value="Cool Focus Java™ Solutions">
<param name=DefaultFont value="Helvetica,plain,16">
<param name=DefaultHoldText value="2">
<param name=DefaultFadeSpeed value="2">
<param name=DefaultNextDelay value="0">
<param name=DefaultAlign value="bottomleft">
<param name=DefaultFade value="yes">
<param name=DefaultSlideSpeed value="3">
<param name=DefaultSlideOption value="scroll">
<param name=Delimiter value="|">
<param name=StartDelay value="0">
<param name=Loop value="yes">
<param name=HoldFinalText value="yes">
<param name=PauseOnEnter value="no">
<param name=HMargin value="25">
<param name=VMargin value="25">
<param name=Text1 value="Welcome to Cool Focus!">
<param name=TextColor1 value="CC0000">
<param name=Font1 value="Helvetica,plain,18">
<param name=URL1a value="http://www.coolfocus.com">
<param name=Align1 value="midcenter">
<param name=Text2 value="Java Solutions for Web Authors">
<param name=TextColor2 value="00CCCC">
<param name=Font2 value="TimesRoman,bolditalic,20">
<param name=URL2a value="http://www.coolfocus.com">
<param name=Align2 value="midcenter">
<param name=SlideFrom2 value="top">
<param name=Fade2 value="no">
<param name=Text3 value="Cool Focus Menus">
<param name=TextColor3 value="FFFF00">
<param name=URL3a value="http://www.coolfocus.com/menus">
<param name=Align3 value="topleft">
<param name=SlideFrom3 value="right">
</APPLET>
- Begin by altering the values for the numbered Text parameters according to the text you want to display.
- Alter the URL parameters in the same way, enter a target frame or window name into the DefaultTarget parameter, and add numbered Target parameters for any URLs that should open into a different frame from that set in the DefaultTarget parameter.
- Add and/or remove numbered TextColor/Align/FadeSpeed/HoldText/NextDelay (etc...) parameters for any Text entries that should use different settings from those you've set as defaults, and choose whether individual entries should fade or slide or both, and how. You can find detailed explanations of each parameter in The Parameters Explained.
|