I'm having a minor issue with one of my passages in twine. I have a sort of store page set up, with numerous options for things to purchase, HOWEVER I have too many items to fit on to a single page unless i fullscreen the game. Is there a way that I could add a scrollbar that would appear in the non-full-screened version of my game?
Comments
I'm not clear on exactly what you're trying to do. If it's the former, what browser are you using? If it's the latter, you can use the overflow CSS property to make a container that automatically generates a scroll bar when needed.
I was afraid of that, haha. Generally, a browser generates a scrollbar whenever its needed, and I know for a fact that SugarCube doesn't mess with that.
Do you:
1. Have custom CSS or JS running in your browser? Like some sort of extension for accessibility, for instance?
2. Have any CSS or scripts in your game that adjust the overflow or height of one of the elements: html, body, #store-area, #story, or #passages?
You could try the code:
To see if that helps.
If it still isn't working, we might need to see your CSS and an image of the problem, or better yet, your html file.
If it's a shop screen, something like:
And then in the CSS:
You'll probably need to figure out which browsers, operating systems, and devices your tester or testers are using, and try to recreate the issue and see what's happening. I don't know of any browsers off hand that don't provide scrollbars to iframes. Do you know if this is maybe an issue specifically effecting mobile or something?