|
Getting Started
- Place the program files (ChromeLink.jar, ChromeLink.cab, ryChromeLink.class, ryDarkFilter.class and ryMonoFilter.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 ChromeLink to appear:
<APPLET CODE="ryChromeLink" ARCHIVE="ChromeLink.jar" width=??? height=???>
<param name=CabBase value="ChromeLink.cab">
<param name=Copyright value="ChromeLink (c) 1997 Cool Focus [www.coolfocus.com]">
<param name=Name value="UniqueName">
<param name=Satellites value="no">
<param name=ButtonColor value="C0C0C0">
<param name=Image value="picture.gif">
<param name=HighlightColor value="D6D6D6">
<param name=ShadowColor value="737373">
<param name=Text value="Click Me">
<param name=TextColor value="000000">
<param name=TextFocusColor value="000000">
<param name=TextVOffset value="51">
<param name=ImageVOffset value="6">
<param name=ButtonBevel value="3">
<param name=Sound value="yes">
<param name=SoundButtonDown value="buttondown.au">
<param name=SoundButtonUp value="buttonup.au">
<param name=Font value="Helvetica,plain,11">
<param name=UseHandCursor value="yes">
<param name=Message value="Cool Focus Java™ Solutions">
<param name=URL1 value="DocA">
<param name=Target1 value="Frame1">
<param name=URL2 value="DocB">
<param name=Target2 value="Frame2">
<param name=URL3 value="DocC">
<param name=Target3 value="Frame3">
<param name=URL4 value="DocD">
<param name=Target4 value="Frame4">
</APPLET>
- Replace the two sets of question marks with the desired width and height of the applet, ensuring that the dimensions are at least as large as those of your chosen image.
- Edit the URL and Target parameters according to the URL(s) you want the button to link to and the target frame-names for those links (or remove any unnecessary parameters if you want to link to fewer than 4 URLs).
- Edit the contents of the other parameters (or optionally just remove parameters whose default values you want to use) according to the details in The Parameters Explained.
|