Quantcast
Channel: Twine Forum
Viewing all articles
Browse latest Browse all 3830

Adding variables into HTML

$
0
0
Say I wanted to do
<<set $example = either("cat", "cow", "dog") >> 
<img src = "picture of house" alt="You see a house, with a $example calling in the background">

How can I make it work? And not just for alt text, for anything included within HTML tags. Does it need javascript?

Viewing all articles
Browse latest Browse all 3830

Latest Images

Trending Articles



Latest Images