![]() |
|
Mouseover font script for anki - Printable Version +- kanji koohii FORUM (http://forum.koohii.com) +-- Forum: Learning Japanese (http://forum.koohii.com/forum-4.html) +--- Forum: Learning resources (http://forum.koohii.com/forum-9.html) +--- Thread: Mouseover font script for anki (/thread-11871.html) |
Mouseover font script for anki - mrklotz - 2014-06-03 Hello, I've recently come upon this old thread, which I didn't want to necro http://forum.koohii.com/showthread.php?tid=7099 discussing a font change on mouseover script. I then searched the forum for any updates on this and found nothing. Well the thing is you can do this far simpler with a :hover selector in css, put this in the styling section of anki: #ThisIsAnID:hover{font-family: "KanjiStrokeOrders", font-size: 112px}; Then just assign that ID and you are good: <div id="ThisIsAnID">{{kanji}}</> Hope that helps, mrklotz |