Quantcast
Channel: Help! with 2.0 - Twine Forum
Viewing all articles
Browse latest Browse all 1844

Remove selector problem.

$
0
0
Sugarcube 2.11.0

I'm sorry, I did try and I've made what sense I can of the documents.

I want to have the sentence: "Among the debris, though, a lone sparkplug" (where sparkplug is a link).

On click, I want the whole of that line to disappear and be replaced with: "Sparkplug taken."

This is what I've managed to botch up, but on running it the replacement sentence just says: "Sparkplug"

For the life of me I can't understand why the word 'taken' isn't being displayed.
The inside has been wrecked. Rubble, broken glass and shelving is strewn everywhere.

<span id="plug">Among the debris, though, a lone </span><<link "sparkplug">><<remove "#plug">><br>Sparkplug taken.<</link>>

Viewing all articles
Browse latest Browse all 1844

Trending Articles