I'm not sure if the kana-only view is very useful, since the kanji view already has full yomigana. Maybe have a button to toggle furigana instead?
ruby rt {
visibility: hidden;
}
ruby:hover rt {
visibility: visible;
}
For most sites that have kanji w/ furigana, this makes it visible only on mouse-hover.