Login
Remember
Register
Twine Q&A
Questions
Unanswered
Tags
Users
Ask a Question
Code of Conduct
Ask a Question
how to change a javascript variable in harlowe.
0
votes
asked
Mar 22, 2019
by
Pepsidog
(
280
points)
I want to add the option of music by using javascript to play a html5 audio element. I want to change the url of the audio file by using a javascript variable. How would you use a link to change a javascript variable?
twine2
harlowe
javascript
variables
Please
log in
or
register
to answer this question.
0
Answers
This site has been placed in read-only mode. Please use the
Interactive Fiction Community Forum
instead.
Related questions
How can I get live data from JavaScript into Twine/Harlowe variables?
How to install a .js library in Harlowe?
How to make ?fname act like a variable?
How to add a (go-to:) macro AFTER a javascript animation?
Harlowe 2.0/Run JS on every passage change?
Most popular tags
twine2
sugarcube2-21
sugarcube2
twine2-2-1
harlowe2-0-1
harlowe2-1-0
harlowe
sugarcube2-18
javascript
css
twine2-1-3
sugarcube
variable
variables
macro
twine
links
twine1
if
sugarcube2-28-2
harlowe2
audio
html
array
image
snowman
passages
passage
savegame
inventory
music
arrays
saves
link
time
sugarcube2-25-0
textbox
harlowe1-2-4
error
text
array-objects
set
images
2
question
sugarcube-2
code
color
sugarcube2-27
tweego
datamaps
history
background
sugarcube-2-28-2
sugarcube-2-21-0
ui-bar
sidebar
sugarcube2-25
choices
autosave
jquery
button
publish-to-file
widgets
typed
random
import
transition
loop
twine2-3-1
harlowe2-2-1
replace-macro
choice
objects
tags
harlowe3-0-2
for-macro
rpg
saving
stats
effects
save
stylesheet
click-macro
twine-2
user-input
animation
header
questions
format
object
0
ui
script
error-message
sugarcube2-21-0
sugarcube2-24-0
loadgame
twine2-2-0
adventures
...