Difference between revisions of "Reference:Updating Applets"

From GeoGebra Manual
Jump to: navigation, search
(Created page with "You may have some applets on your website that are no longer visible because they are using Java technology which is not supported by browsers anymore. You have two options to...")
 
Line 2: Line 2:
 
==Uploading to GeoGebra==
 
==Uploading to GeoGebra==
 
Take the original GeoGebra files,  [https://geogebra.org/worksheet/new|upload them to GeoGebra] and save the activity. Go to Details > Share > Embed and replace the applet on your site with the embed code. Advantage of this method is that you get nice preview images, we suggest to do this if you only have a few applets.
 
Take the original GeoGebra files,  [https://geogebra.org/worksheet/new|upload them to GeoGebra] and save the activity. Go to Details > Share > Embed and replace the applet on your site with the embed code. Advantage of this method is that you get nice preview images, we suggest to do this if you only have a few applets.
==Use a script to update them automatically==
+
==Updating Applets with a Script==
 
Add the following snippet to the source of your webpage (preferably just above <code></body></code>):
 
Add the following snippet to the source of your webpage (preferably just above <code></body></code>):
  
Line 8: Line 8:
  
 
When a user views your webpage, this script will replace all the Java applets with HTML5 ones. This method is suitable if you need to quickly update a large amount of applets.  
 
When a user views your webpage, this script will replace all the Java applets with HTML5 ones. This method is suitable if you need to quickly update a large amount of applets.  
 
+
==Viewing Applets on Other Websites==
 
In case you want to view applets on someone else's website, you can use [http://dev.geogebra.org/test/zbynek/rebootggb a bookmarklet].
 
In case you want to view applets on someone else's website, you can use [http://dev.geogebra.org/test/zbynek/rebootggb a bookmarklet].

Revision as of 09:56, 5 June 2018

You may have some applets on your website that are no longer visible because they are using Java technology which is not supported by browsers anymore. You have two options to update them.

Uploading to GeoGebra

Take the original GeoGebra files, them to GeoGebra and save the activity. Go to Details > Share > Embed and replace the applet on your site with the embed code. Advantage of this method is that you get nice preview images, we suggest to do this if you only have a few applets.

Updating Applets with a Script

Add the following snippet to the source of your webpage (preferably just above </body>):

<script src="https://cdn.geogebra.org/apps/rebootggb.js" type="text/javascript"></script>

When a user views your webpage, this script will replace all the Java applets with HTML5 ones. This method is suitable if you need to quickly update a large amount of applets.

Viewing Applets on Other Websites

In case you want to view applets on someone else's website, you can use a bookmarklet.

© 2024 International GeoGebra Institute