|
JaMOOka
Sample Applet Page
JaMOOka is called from a web page installed on the same
machine as the code and the MOO.
This
is the portion of the code for a sample webpage (included in the download available
at SourceForge) that you must modify to reflect your host, port,
homepage, font size, page color, etc. Items in bold are required
changes. Other params may be changed (but don't
change "JaMOOka.class").
<body
bgcolor="#FFFFFF">
<applet
code="JaMOOka.class" width=100% height=100%>
<param name=host value="brightmoo.genesismuds.com">
<param name=port value="7760">
<param name=MOOname value="BrightMOO">
<param name=MOOhttp value="http://brightmoo.genesismuds.com">
<param name=Font value="Monospaced">
<param name=Fontsize value="12">
<param name=Fontcolor value="000000">
<param name=Backcolor value="FFFFCC">
<param name=Incolor value="FFFFFF">
<param name=Max_lines value="150">
JaMOOka depends on the Java Runtime Environment. To get the latest
version of the Java Runtime
Environment visit <a
href="http://www.java.com/en/download/download_the_latest">the Java
Website</a>.
</applet> </p>
</body>
These params are:
width=100%
height=100% |
This affects the size of
the window: the default setting creates a MOO
window that overlays the entire browser window (i.e., runs the MOO full
screen in the browser). |
host |
The DNS alias or IP for
the machine on which the webserver, webpages, MOO and JaMOOka code are
located
|
port |
Your MOO's port
|
MOOname |
The name of your MOO
|
MOOhttp |
Its website
|
Font |
Options: Monospaced or
Proportional
|
Fontsize |
Size of font
|
Fontcolor |
In both the output and
input areas, the color of the main font
|
Backcolor |
In the output window, the
background color |
Incolor |
In the input line or area,
the background color
|
Max_lines |
The number of lines of
text kept in the buffer
|
Back to code
|