IMathAS icon indicating copy to clipboard operation
IMathAS copied to clipboard

embedq2 body overflow-y

Open fyuniv opened this issue 3 years ago • 3 comments

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!

fyuniv avatar Feb 17 '22 23:02 fyuniv

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 avatar Feb 18 '22 06:02 drlippman

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

drlippman avatar Feb 18 '22 06:02 drlippman

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?

fyuniv avatar Feb 18 '22 21:02 fyuniv