Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

music adding help

I just recently updated my Twine and now I cannot add music to my stories anymore. I've tried these

http://www.glorioustrainwrecks.com/node/5061
http://www.glorioustrainwrecks.com/node/5475

But I honestly don't understand what I am doing wrong at all or what I am doing wrong since they both won't work for me. I really need help as I am only now learning how to use macros.

Comments

  • Do you have the 'ROT13 obscure HTML option' checked off in Story Settings?  This makes the music macro (at least the first link you posted) not work at all.
  • If you're using SugarCube there is a minor incompatibility regarding the first link (and possibly the second).

    In the macro you need to find the line...
    var div = document.getElementById("storeArea").firstChild;
    and change it to...
    document.getElementById("store-area").firstChild;

    The second link also has the line...
    div = document.getElementById("storeArea").firstChild,
    so I would imagine that it would also need to be changed to...
    div = document.getElementById("store-area").firstChild,
    Hope this helps.
Sign In or Register to comment.