Status-Based Journal

Sora574
17 Apr 2013, 03:14
One more thing I'm wondering -- I've been thinking about how to improve journals or notes in Quest.
Then I realized, "Hey, I can put HTML into the status bar..." After all, I already put a working real-time clock into it that reads time from the device being used to play it.
So, I go to do it, and I get it set up. Basically, it just looks like this
// In the player's status attributes
<item>
<key>notes</key>
<value><![CDATA[<textarea id="notes"></textarea>]]></value>
</item>

Pretty simple, right?...
Well, the problem is that every time a turn goes by, anything typed into the box gets erased.
So, I tried using JavaScript (by adding an 'onkeyup' attribute to the text area) to save it and then recall it on every turn.
However, every time you push a key, the page gets reloaded, and the text area becomes blank again.

Any ideas?

P.S. I feel like I'm starting too many threads... I may just start a new thread eventually named "Sora574's Problems" and throw everything into that :lol:

Alex
17 Apr 2013, 10:02
Sora574 wrote:P.S. I feel like I'm starting too many threads... I may just start a new thread eventually named "Sora574's Problems" and throw everything into that :lol:


Please don't do that - one thread per problem is much easier to search and keep track of!

Sora574
17 Apr 2013, 20:24
Alex wrote:Please don't do that - one thread per problem is much easier to search and keep track of!

Ah, okay. That seems logical