Hello community. I have got a problem with the passages in the format Jonah.
I am using this
typewriter effect: and when there is a line break in my text, the passages stretch down automatically so the size of the passages are not same.
for exaple: in the first passage i have got a text with 2 lines (the passage is big)
in the second passage i have got a text with 1 line (the passage is smaller than the first passage)
I tried to make the passages "invisible" and to add a frame around the text, but could not combine it with the text flow.
1. Question: Is it possible to make the passages in the equal size so that you can write a text with max. 3 lines in each passage with steady size?
2. Question: How can i make specific passages invisible and not all? For example only the passages with buttons so you can see only the buttons and not the passage?
Greedz
Comments
value you will need to use depends on the font/line size of your story.
The follow goes within your story's stylesheet tagged passage, if your staory does not have one yet then use the Story > New > Stylesheet menu options to create one.
So before we dive down that rabbit hole of complexity could you explain in detail what effect/functionality you are trying to achieve and why you think you need to hide parts of the Reader's History through your story to achieve it. There may be an easier way to do what you want.
The following solution hides a previously shown passage and consists of three parts:
1. A custom hide macro:
Add the following Javascript to your story's script tagged passage, if you don't have one yet then use the Story > New > Script menu items to create one. The code will add a hide macro to your story, it has one parameter which is the title of the previously shown passage you want hidden. 2. The CSS used by the macro hide the passage:
Add the following CSS to your story's stylesheet tagged passage, it causes any element with class attribute containing the word hidden to not be displayed. 3. The usage of the new hide macro:
You can hide any previously shown passage by using the hide macro inside a passage that is shown later than it.
eg. In either the "what is your name" or the "how can I help you" passages add the following:
How to do this is covered by the Tagged stylesheets section of the Stylesheets page in the Twine 1 Wiki.
I can't give you an example because I don't know the structure of the contents of the relevant passages nor the custom CSS you are using to style them.