Dynamic Interlinears with Javascript and CSS

After the continuation of a permathread on the b-greek mailing list about the pros and cons of interlinears, I built some quick demonstrations of how CSS and Javascript could be used for dynamic interlinear glosses that would not be possible on the printed page.

  • Plain — show static glosses
  • Hover — show glosses when a word is hovered over
  • Toggle — toggle showing a gloss when a word is clicked
  • Frequency — filter appearance of gloss by frequency

They might be interesting as little Javascript tutorials too.


originally published on jtauber.com


Comments on “Dynamic Interlinears with Javascript and CSS”