Hello all – I’m trying to implement a flexible design for a story in Twine.
To make it work, I need to dynamically resize a div so that it scales properly, and maintains its aspect ratio. Outside of Twine, this is trivial (see my code). But I don’t know how to call this script within the Twine environment. Any help would be much appreciated!