This module makes rendering hovercards like Wikipedia's easy. Given the ID an HTML element it is positioned above or below the element automatically, like so:

The hovercard is the lightblue box above the red square.
Run elm reactor and browse to example/Example.elm!