Demo 13: The LAKE Applet     |     home
Where to get  the code   |   What to do   |   Getting it to work   |   Build the Web Gem   |   Final Product!   |   One other photo!   |   One last photo!

Build the Web Gem

We are now ready to Build Your Own Web Gem (BYOWG) !

Step 5

Click on Web Gems -> Make your site interesting... -> Choose
and then copy and paste the following code into your web gem,
and then modify the width, the height, and the image name accordingly:

<applet code="lake" codebase=^GEMDIR width=250 height=329>
<param name="image" value="^GEMDIR/horizon.jpg">
<param name="href" value="http://www.spigots.com/spigots.htm">
</applet>

The code is modified slightly from the original author to work with Trellix
Specifically, I've added ^GEMDIR/ to both the <applet> tag
and to the actual image name I am using

Obviously, change "horizon.jpg" to whatever your image file is!

Here's what it should look like so far:




Next, click on "Files for this gem..."
and browse and add two files:  lake.class -and- your image file


Click on OK, then Modify.  Then save and publish and you are set to go!


Ready to see it?  Next Page