Hello,
I am wondering how I embed a Greenfoot game inside a webpage as seen on http://www.greenfoot.org/scenarios/10267
I see from the HTML source code an applet tag is used:
I also see that there is an option for exporting projects to a Webpage (http://www.greenfoot.org/doc/gamepad_export).
Is there any documentation available providing detailed instruction on:
- how to prepare the .jar file for display on a webpage, and
- how to embed the .jar file in the HTML?
All help will be greatly appreciated.
Regards
Robbie
<applet code="greenfoot.export.GreenfootScenarioViewer.class" width="1418" height="1070" archive="/applet_attachments/0002/5365/greenfoot2665763967480690856.jar" alt="Your browser understands the <APPLET> tag but isn't running the applet, for some reason." style="margin-left: -264px" > <param name="codebase_lookup" value="false"></param> <param name="storage.standalone" value="true"></param> <param name="storage.server" value="www.greenfoot.org"></param> <param name="storage.serverPort" value="8888"></param> <param name="storage.passcode" value="F06CE426115D410D"></param> <param name="storage.scenarioId" value="10267"></param> <param name="storage.userId" value="18354"></param> <param name="storage.userName" value="RobbieThompson"></param> Your browser is ignoring the <APPLET> tag. </applet>