drlippman / IMathAS

IMathAS Online Math Assessment
Other
112 stars 99 forks source link

embedq2 body overflow-y #319

Open fyuniv opened 2 years ago

fyuniv commented 2 years ago

Is it possible to change the overflow-y for the body of an embedded question from hidden to auto?

Currently, some questions cannot be displayed fully without overflow-y. For example, https://www.myopenmath.com/embedq2.php?id=358683&seed=2022&showansafter

Thank you!

drlippman commented 2 years ago

Scrolling would be annoying. Embedq2 is meant to be used in conjunction with a resizing script in the embedding page. See https://github.com/drlippman/IMathAS-Extras/blob/master/embedq/embedq.md

drlippman commented 2 years ago

You can see an example of how to implement the listener in https://github.com/drlippman/IMathAS-Extras/blob/master/embedq/practice.html

fyuniv commented 2 years ago

You can see an example of how to implement the listener in https://github.com/drlippman/IMathAS-Extras/blob/master/embedq/practice.html

Thank you for your prompt reply! I opened practice.html and tried to amend a question link with &height=500, and &height=500px. Nothing changes. I am not sure how to resize. Any suggestion?