Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

For security reasons, almost all interactive elements (e.g. button) and javascript attributes (e.g. onclick) get sanitised when you save them to itch—depending on what they are, they either get deleted or converted to regular text. At the moment, the easy way to do this would be using details-summary widgets, like this (you'll need to style them yourself, though):

<details>
    <summary>Click me...</summary>
    <p>...and this text will appear.</p>
</details>

Sorry to hear, this option isn’t really good fot what I’m rtying to make… I couldn’t even place three of these widgets in a row, they always return to a column.