In my code, I have a notification in the footer that is updated on each new passage, and I like to run information to the footer through a simple
<div id="footer"><span id="notifications"></span></div>
Which is well and good, especially when using the <<link>> macro, as such.
<<if $storageKit isnot 1>>
<span id="medStorageSearch">There is a First Aid Kit on the wall.
<<link "Take it.">>
<<addToInv "First Aid Kit">>
<<set $storageKit to 1>>
<<append "#notifications">><span style="color:lime">
<p class="css-typing">First Aid Kit acquired. <br>
</p></span><</append>><<replace "#medStorageSearch">>
<</replace>><</link>></span>
<<else>>
<</if>>
However, if I omit the <<link>> and simply try to append the notification to the footer, it does not appear and I suspect that it may be that the passage is not updating. Outputs and value changes work, but the display does not update. Any suggestions?
To reiterate, I simply want to be able to use the following code in a passage without requiring a click from the user:
<<append "#notifications">><span style="color:lime">
<p class="css-typing">First Aid Kit acquired. <br>
</p></span><</append>>