vgambit
Member
Registered: 2007-06-21
Posts: 221
I want to change the Question side of my Heisig deck to have the Kanji followed by the word "Story." I want to be able to click the word "Story" and have it change into whatever is in the Story field, so I can use it when I can't recall the kanji from just the keyword (like Heisig recommends).
However, I can't figure out how to do this. Would I have to use Javascript?
vgambit
Member
Registered: 2007-06-21
Posts: 221
Yes, but that's different. What you're describing requires an internet connection. What I'm describing uses the text from the Story field in the Anki deck itself, so it requires no internet connection. I switched from SuperMemo to Anki, and after copying over every single story I had in SuperMemo to Anki, I found that none of them actually showed up unless I was on the edit deck screen, which makes them quite useless for aid during review.
I keep my stories offline rather than online.
vgambit
Member
Registered: 2007-06-21
Posts: 221
Figured it out.
<FONT onClick="this.innerHTML = '%(text:Story)s'">Story</FONT>
Paste that code wherever you want, and it will show up as the word Story. Click on the word, and it will change to whatever you have in the Story field of the current kanji (so if the Story field is blank, it will simply disappear). The first "Story" is the name of the field whose contents will be displayed, whereas the second "Story" is what the trigger will show up as on the card.
For anyone who has been displaying the story field on the question side as white text, then highlighting it in order to read it, that code is much better. I'm gonna test it on Ankimini (which is what I really wanted it to work for) now.
IT WORKS PERFECTLY ON ANKIMINI
This is so awesome. Now I can do all of my reviewing *offline*.
Last edited by vgambit (2008 December 27, 6:08 pm)