Properties
Category
Croatian
Similar Topics
Statistics
Comments
2
Participants
2
Subscribers
0
Votes
1
Views
2169
Share

Zooming HTML5 Geogebra embedded in offline html5 page in an iframe
Answered
Hi!
I'm working on a project where we are trying to produce GeoGebra interactions with some accessibility options. GeoGebra interactions are embedded in an iframe in static html5 page and work very well on most devices, even offline. We would like to implement a button, outside of the GeoGebra applet, that would zoom GeoGebra to available screen space (in a layer, popup window or whatever). Is there any example, tutorial, guidelines or something about zooming GeoGebra?
Zoran
- GeoGebra
- Help
- Partners
-
Contact us
- Feedback & Questions
- This email address is being protected from spambots. You need JavaScript enabled to view it.
- +43 677 6137 2693
© 2022 International GeoGebra Institute
That's not possible using iframe, you will need to use this method:
https://wiki.geogebra.org/e...
and then you can send regular GeoGebra commands to zoom using ggbApplet.evalCommand()
https://wiki.geogebra.org/e...
Solved but with different solution. Instead using ggbApplet.evalCommand() that can be used for individual objects of the applet, I used more universal method of zooming. Switching parameter "allowUpscale" from false to true, zooms the applet to available space without distortion.
Here's an example: http://elearning.algebra.hr....
No iFrames, as you suggested.
Comments have been locked on this page!