So now you have a worksheet that
you'd like to share with the world. Select File > Export > Dynamic Worksheet as Webpage |
|
Enter a title for your worksheet
and click the Advanced tab. Consider the various options you have for exporting your worksheet. By default, the size of you applet as it will appear on a web page is the size of your worksheet when you chose Export from the menu. These are the Width and Height dimensions displayed. You almost certainly don't want your GeoGebra window maximized when you start an export! Resize your GeoGebra window to the size you want, then start the export. Check the option at the bottom: "ggb Files & jar Files". |
|
When you click Export, GeoGebra
will generate several .jar files, a .ggb file, and an .html file.
Place all these in a folder together, and when you open the .html file
your applet will run. See the .html file here. If you open your .html file in a text editor, you'll see the code to the right. This is the part of the .html page that makes the applet run. On the second line, the command codebase="./" tells the computer to look in the same folder (as the .html file) for the jar files and the ggb file. On the fourth line, we see which GeoGebra file is being called for the applet. |
<param name="enableRightClick" value="true" /> </applet> |
You can make the GeoGebra applet
part of a larger page by cutting and pasting this part of the code into
another page. For example, I've pasted that code into this page that you're reading right now, I changed the codebase parameter to codebase="exported/", and I changed the GeoGebra filename to "exported/Tutorial_5.ggb". The result is to the right. |