Skip to content

"Passage Transitions": Snowman (v2.0)#


In Snowman 2.X, the sm.passage.showing event is triggered once a passage is loaded. By listening for this event, jQuery effects can be applied to the passage element to produce a transition. (In Snowman 2.X, the passage is the tw-passage element.)



Twee Code#

:: StoryTitle
Snowman 2: Passage Transitions

:: UserScript[script]
$(document).on('sm.passage.showing', function(event, passage) {



:: Start
[[Another Passage]]

:: Another Passage
[[A Third Passage]]

:: A Third Passage
Double-click this passage to edit it.

Twee Download