Difference between revisions of "Reference:Updating Applets"
(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...") |
(typo in link + italics for menu items) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
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. | 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== | ==Uploading to GeoGebra== | ||
− | Take the original GeoGebra files, [https://geogebra.org/worksheet/new | + | 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. |
− | == | + | ==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]. |
Latest revision as of 09:19, 7 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, 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.
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.