View Full Version : Adding Java Applets to my website
Diane
05-14-2000, 06:41 PM
Okay, I downloaded the file I want, and unzipped it. I then copied it into my Microsoft Frontpage 2000 directory (where my other web files reside). I then tried Insert, Advanced, Java Applet. But I guess I don't understand all of the questions this section asked, such as: Applet Source (I put the directory & file name where this file is located. Applet Base URL: I left this blank. Applet parameters - I left this blank. Anyone have any advice?
jollyfactory
06-21-2001, 06:18 AM
If you got a java applet code from the web, you shouldn't be adding it to your page using Frontpage or a WYSIWIG (what you see is what you get) editor.
Open up something like Notepad, open your website and just manually add the code
whkoh
06-21-2001, 09:38 AM
Yes. Please make sure whether it is Javascript or Java.
most places where you get applets give you a ssample HTML code, or they give you the page itself. Just use that.
A sample code:
<applet code="Othello.class" width="550" height="530" align="center">
Sorry; you don't have a java enabled browser. UPGRADE NOW! </applet>
The above code doesn't have an archive or a codebase as the below one:
<applet codebase="./applet" archive="Jigsaw.jar" code="Jigsaw.class" width="650" height="449">
<param name="AllowSolve" value="true">
<param name="AutoSnap" value="15">
<param name="BgColor" value="2">
<param name="BreakupText" value="Breakup">
<param name="CanRotate" value="true">
<param name="Cols" value="3">
<param name="Connector" value="-1">
<param name="DimHelpImage" value="60">
<param name="Image" value="archi01.jpg">
<param name="ImgHeight" value="256">
<param name="ImgWidth" value="384">
<param name="InnerFrameColor" value="#800000">
<param name="KeepBoardClear" value="true">
<param name="MessageText" value="Jigsaw solved!">
<param name="OuterFrameColor" value="#800000">
<param name="Rows" value="3">
<param name="SelectColor" value="#FF0000">
<param name="SolveText" value="Give up">
<param name="TextColor" value="#ffff00">
<param name="TidyText" value="Organize">Sorry; you don't have a java enabled browser. UPGRADE NOW!
</applet>
The idea of an archive is like to zip all the files in one file. The codebase is the directory in which the applets are placed. It is best to put ll the files in one folder. In this case you don't put a codebase (leave it blank)
whkoh
06-21-2001, 08:03 PM
Moved to Server Side from Client Side.
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.