Advanced applet setup Optional applet parameters These are advanced options, and thus optional. If you just want to set up a simple applet, go to the regular applet page. Format : <applet archive="jstella_0_7.jar" code="jstella.runner.JStellaApplet.class" height="480" width="480">
<PARAM NAME=ROM VALUE="myROM.bin">
Your browser doesn't seem to support applets.
Param name : CARTRIDGETYPE
Param name : DISPLAYHEIGHT
Param name :
PADDLEMODE
Param name : OPTIONSPANELENABLED
Options Applet Those who want a simple buttons panel but don't want it sharing the same applet as the screen can add an extra applet, the options applet, to anywhere in the webpage. This is set up with the following: <applet archive="jstella_0_7.jar" code="jstella.runner.JStellaOptionsApplet.class" height="35" width="240"> </applet> Note the subtle differences between this applet tag and the once used to launch the main applet.
Using JavaScript for JStella User Interface The JStella applet can interact with its environment through JavaScript. JavaScript can be used to link the webpage to the applet, so that HTML (etc) components can serve as a joystick, paddles, switches, etc. Because this interface is still in the process of changing, those wishing to interface JavaScript with the JStella applet should look in the source code for the applet to find the appropriate methods to call.
|