0 votes
asked by (440 points)
How do can i show and hide ui-bar for differente Passage? (like i dont want ui-bar show in Start Menu)...  I not talk about stow/stowed...

 

Thanks guys o7.

1 Answer

+1 vote
answered by (62.7k points)
selected by
 
Best answer

Add the following style to your stylesheet:

.hideui #ui-bar {
	display: none;
}

Then on any passage where you want to hide the UI bar, simply tag the passage with hideui.

commented by (640 points)
Is there a tag to collapse/expand the UI too?
commented by (62.7k points)

No.  Though you may use its API to do so.  For example:

<<script>>UIBar.stow()<</script>>
<<script>>UIBar.unstow()<</script>>

 

commented by (640 points)
Thanks, it works as intended.
Welcome to Twine Q&A, where you can ask questions and receive answers from other members of the community.

You can also find hints and information on Twine on the official wiki and the old forums archive.

See a spam question? Flag it instead of downvoting. A question flagged enough times will automatically be hidden while moderators review it.
...