This tutorial is for a quick script that you can use for websites (page 2) .  I have placed a lake.class applet inside this script, however, you can change the applet to whichever applet you would like to use.  Simply replace the applet code from the beginning <applet> tag to the closing </applet tag> with your new code.
 
 You may use the script example below as a guide.  I have color coded the script below for you to make it easier to follow.  The blue text represents instructions.  The red text represents the actual changes that you will be making to the script.  You will notice that we only need to use the folder names as the pathway with the name of the file.  It is not necessary to type out the whole web address.  Also, please note that the codebase is not needed with the website applet.  It is only needed when you use the applet in a stationery. 
 
 
 
<HTML><HEAD>
<TITLE>your title goes here</TITLE>

 
<!--This is where you will change the border colors and border styles, scrollbar colors and font style and color.  There are several border styles that you may choose from.  They are: ridge, inset, outset, solid, groove, double, dashed, and dotted-->

 
<STYLE>
BODY {
BORDER-RIGHT: #89471F 7px inset;
BORDER-TOP: #89471F 7px inset;
SCROLLBAR-FACE-COLOR: #89471F;
SCROLLBAR-HIGHLIGHT-COLOR: #ecc89b;
BORDER-LEFT: #89471F 7px inset;
SCROLLBAR-SHADOW-COLOR: #000000;
SCROLLBAR-3DLIGHT-COLOR: #ecc89b;
SCROLLBAR-ARROW-COLOR: #ecc89b;
SCROLLBAR-TRACK-COLOR: #c49466;
BORDER-BOTTOM: #89471F 7px inset;
SCROLLBAR-DARKSHADOW-COLOR: #000000;
SCROLLBAR-BASE-COLOR: #89471F;
MARGIN-TOP: 50px; MARGIN-BOTTOM: 50px
}
.maintext {
 BORDER-RIGHT: #89471F 3px ridge;
BORDER-TOP: #89471F 3px ridge;
BORDER-LEFT: #89471F 3px ridge;
BORDER-BOTTOM: #89471F 3px ridge;
FONT-FAMILY: Verdana ;
FONT-SIZE: 14pt;
COLOR: #c49466;
}
.main {
 BORDER-RIGHT: #89471F 3px ridge;
BORDER-TOP: #89471F 3px ridge;
BORDER-LEFT: #89471F 3px ridge;
BORDER-BOTTOM: #89471F 3px ridge
}
</STYLE>
</HEAD>
 
<!--Your background file goes here-->

 
<BODY bgColor=#c49466 background="applets/your background file.jpg">

 
<!--This is your music file - be sure to use the correct extension for midi, wave, etc.-->

 
<BGSOUND balance=0 src="music/your music file.mid"
volume=0 loop=infinite
>
 
<!--This is where your Applet code begins.  When changing names of files, be careful to use case sensitive file names and spaces. I would rename it!...LOL...For Example: Deer_Lake.jpg.  Remember to use the formula to find the height for the applet.  The formula=image height x 2 - (10 or 20px) = applet height -->
 
<TABLE class=main  width=360 height=468 bgcolor=#367580 align=center cellpadding=0 cellspacing=0>
<TBODY><TR><TD>
 
<!--Applet code starts here -->
 
<CENTER><APPLET  height=390 width=360 code=lake.class><PARAM NAME="image" VALUE="applets/image name.jpg">
</APPLET></CENTER>
 
<!--Applet code ends here-->
 
</TD></TR></TBODY></TABLE><P>
 
<!--Text box begins here-->
 
<CENTER>
<DIV class=maintxt style="WIDTH: 500px;  HEIGHT: 200px; BACKGROUND-COLOR: #367580"
align=center><BR>TEXT GOES HERE. . .<BR>Double Click to set text.</DIV>
</CENTER>
 
<!--Text box ends here-->
 
<!--Next is the script.  Remember to change your ticker message.  Otherwise, there is no need to change anything else.-->
 
<!--To make the background change direction, use a (-) or (+) sign before the number...x=x-1 and y=y+1-->

<SCRIPT language=VBScript>
 
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
' This Script was written on 08-31-02 by KareBear          ~
' Please do not remove these credits from the script      ~
' Questions or Comments?
karebear56@adelphia.net    ~
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
x=0
y=0
 
Sub Window_OnLoad()
window.status=" your ticker message goes here "
SetInterval "scrollback", 64
End Sub
 
sub scrollback
x=x-1
y=y-1
document.body.style.backgroundPosition=x&" "&y
End Sub
</SCRIPT>

</BODY></HTML>
 
 
Save your notepad document using .html as your file type (example - applet1.html )
 
Upload the html file and your lake.class file to your main webshell .  The applet image and background need to be uploaded to your applets folder in your webshell.  And, your music file to your music folder.  Using the applets and music folders are not necessary, however, I have found that as your site grows, you will be glad you used one to keep things organized.
 
Now that you know how to make a webpage using an applet, let's next make a stationery.
 
 
If you have any questions or comments,
please drop me a line.  I will be glad to answer
any questions you may have.


Karen

Copyright İFebruary, 2002 - All Rights Reserved.