Home > Create a Classroom Wiki for Mathematics with GeoGebra > Embed GeoGebra Worksheet


How to Embed a GeoGebra Worksheet directly into a Wikispaces Wikipage

YouTube Mathcast or TeacherTube Mathcast (if YT is blocked)  


Step 1 is to create your GeoGebra worksheet exactly as you want it to appear on the wikipage. This means that you should position the Drawing pad and size the GeoGebra window properly. Also, make sure you close the Algebra or Spreadsheet Views if you do not want them to appear on the worksheet. If you plan to re-use this file, go ahead and save it.
Step 2 is to export your worksheet to a dynamic webpage and while we will save this file, we can delete it almost immediately. (We put them on our desktop and then delete them from there.) So click on command: File -> Export -> Dynamic Worksheet as Webpage (html) (see Figure 1 ).
Figure 1: Export your GeoGebra Worksheet
Figure 1: Export your GeoGebra Worksheet

Now don't even bother to look at the options on the main page. Click on the Advanced tab and choose your options here. We highly recommend that select "Double click opens application window" and "Save, Print, Undo". Choose the others as you desire, but do NOT select "ggb File & jar Files".
Figure 2: The Advanced Tab on Export
Figure 2: The Advanced Tab on Export
Click on Export. Save it somewhere where you can find it and delete it later. Now the file will automatically open in your default browser. Right-click in an empty spot on this page and choose View Source or View Page Source depending on your browser. A new window will open with a bunch of code. Find <applet ... and </applet> on this page. Highlight the text from <applet to </applet>. Make sure to include the < at the beginning and the > at the end.
Figure 3: Applet Code for GeoGebra Worksheet
Figure 3: Applet Code for GeoGebra Worksheet
Go to your Wikispaces wikipage which is open for edit and position the cursor where you want the GeoGebra worksheet to appear. On the Editor toolbar, click on the Widget button (see Figure 4) and then on the Other html (see Figure 5 ).
Figure 4: Widget Button on Editor Toolbar in Wikispaces
Figure 4: Widget Button on Editor Toolbar in Wikispaces

5: Other HTML
5: Other HTML

 6: Paste in Applet Code from Source
6: Paste in Applet Code from Source

Right-click in the field and choose Paste from the drop-down menu (see Figure 6). Now – there is a teensy problem. In this window, scroll all the way to the top and then one line down. You will see either MAYSCRIPT or mayscript="true". Delete exactly this.
external image mayscript.png
Click on Save at the bottom of this window. The widget button will appear on your page. Click on Save on the Editor toolbar. The GeoGebra file will load and be interactive .